NetApp fpolicy
fpolicy create mp3blocker screen
fpolicy extension include set mp3blocker mp3,wma,acc,flac
fpolicy monitor set mp3blocker -p cifs,nfs create,rename
fpolicy options mp3blocker required on
fpolicy enable mp3blocker
fpolicy create mp3blocker screen
fpolicy extension include set mp3blocker mp3,wma,acc,flac
fpolicy monitor set mp3blocker -p cifs,nfs create,rename
fpolicy options mp3blocker required on
fpolicy enable mp3blocker
vFiler@Filer> useradmin user add ndmp -g "Backup Operators"
New password:
Retype new password:
User added.
vFiler@Filer> ndmpd password ndmp
password ndmppassword
vFiler@Filer> options ndmpd.authtype plaintext,challenge
vFiler@Filer>
ndmpcopy -d -sa ndmp:ndmppassword -st md5 -da ndmp:ndmppassword -dt md5 /vol/Volume/qtree/folder/Subfolder_A /vol/Volume/qtree/folder/Subfolder_B
ndmpcopy -d -sa ndmp:ndmppassword -st … Continue reading
sysconfig -a : shows hardware
configuration with more verbose information
sysconfig -d :
shows information of the disk attached to the filer
version : shows the
netapp Ontap OS version.
uptime : shows the
filer uptime
dns info : this
shows … Continue reading
Those commands are available in advance mode & in diag mode. However, you should not use those mode unless it is necessary. Those modes ususally use by NetApp technical support team or NetApp PSE.
Antway, if you wanna try out (in sim may be), type ‘priv set advanced’ to … Continue reading
priv set advanced
wafl scan status
storage show bridge -v 6d.125L0 #(Bridge ID) to check all Lines on a 4x6GBit SAS Cable
storage show fault #show you noncritical disks which are not to see as a Active or Broken/Failed Disk
useradmin role add monitoring -a api-clock-get-clock,api-disk-list-info,api-snapshot-list-info,api-snapmirror-get-status,login-http-admin,api-volume-list-info,api-perf-object-get-instances,api-aggr-space-list-info,api-aggr-list-info,api-perf-object-get-instances-iter-start,api-perf-object-get-instances-iter-end,api-perf-object-get-instances-iter-next,api-snapshot-get-schedule
useradmin group add monitoring-group -r monitoring -c “Group for monitoring-api”
useradmin user add monitoring -g monitoring-group
source : http://wiki.krogloth.de/wiki/NetApp_7-Mode/User
To join the Filer to a NT4 Domain you will need to create first the Machine Account on the PDC, to do it use follow command:
smbpasswd -a -m FilerName$
After it you schould be able to join to a Domain without Problems.
In some cases you will need also … Continue reading
convert codepage
#!/bin/bash
date > /tmp/dir_netapp_conv.txt
for i in `cat /tmp/for_convert_dir.txt`
do
echo ${i} >> /tmp/dir_netapp_conv.txt
convmv -f iso-8859-15 -t utf8 -r –notest ${i}
date >> /tmp/dir_netapp_conv.txt
done
#!/bin/bash
date >> /tmp/rsync_dir_list_step_by_step.log
for i in `cat /tmp/dir_list.txt`
do
Continue reading
1- The vfiler name
2- CIFS shares and path affected
*commands to be run to collect the outputs*
vfiler run vfiler_name cifs shares
vfiler run vfiler_name options cifs
vfiler run vfiler_name qtree status
vfiler run vfiler_name fsecurity show /vol/vol5/doc (/vol/vol5/doc is the share location and/or folder being accessed)
vfiler run … Continue reading
on filer01:
1. filer01#: cf disable –> to disable Cluster
2. filer01#: options timed.enable off –> to disable ntp service, otherwise is not possible to set time manually
3. filer01#: date HHMM.SS –> set time for example to 10:05:30 –> date 1005.30
4. filer01#: date –> … Continue reading