Tuesday, July 15, 2014

netapp notes

Clearing NFS locks on a Network Appliance Filer

To remove stuck file locks:
  1. Login to appliance
  2. Enter priv set advanced
  3. To clear all current locks, enter: sm_mon -l
    To clear locks for a single client system, enter sm_mon -l client
  4. Enter priv set
Note that priv set advanced is advertised as mind-bogglingly dangerous and is therefore not to be used without the guidance of support.


Priv Commands:


availtime
blink_off
blink_on
bootfs
cmos_read
cmos_write
dd
disk
disk_list
disk_stat
environ
exit
getXXbyYY
hammer
ic
ifinfo
inodepath
java
led_off
led_off_all
led_on
led_on_all
led_on_off
led_test
led_test_one
lmem_stat
log
ls
mbstat
mem_scrub_stats
memerr
mv
nfs_hist
ontapi
panic
perf
ps
rdfile
registry
remote
result
revert_to
rm
rmt
rsm
rtag
rtfo
sata
scsi
sh
show_bios_log
showfh
showfh4
sm_mon
sm_mon_old
sm_not
smb_hist
snet
statit
stty
syslog
tape_qual
test_lcd
toe
waffinity_stats
wafl
wafl_susp
wrfile