[Weeks, Thomas]
Since this is not an official NetApp supported site.. I would think this a good place to start this FAQ...
BE FOREWARNED! THIS INFORMATION CAN BE LETHAL IF YOU DON'T KNOW WHAT YOU ARE DOING OR JUST START RUNNING SOME OF THESE COMMANDS!
From: Kelly Setzer [SMTP:setzer@telalink.net] Sent: Tuesday, April 21, 1998 2:02 PM To: Weeks, Thomas Subject: RE: "secret" rc_toggle commands
Does anyone here have an FAQ on the rc_toggle_basic command set?
I've know about them for a while now but have never been able to
make
full use of them.
I have printed out all the commands but don't want to run any of the unknown ones without knowing exactly what they each do...
Netapp is kind of sensitive to this - they don't like it known that the filer does a lot more than is apparent. I guess it cuts into the "simplicity" aspect of the product.
HOWEVER :)
I think a FAQ is a noble cause. I'd like to go ahead and take a crack at one. If you could send me the list of commands, I'll send you back the ones that I know off the top of my head. I'll try to keep it going and publish it (obliquely) on toasters.
[Weeks, Thomas] Here is the complete list that *I* have on my FS230/4.2x
barium> rc_toggle_basic barium*> ? ? arp cifs date
df download dump exportfs
halt help hostname httpstat
ifconfig license maxfiles mt
ndmpd netstat nfs nfsstat
options passwd ping raid
reboot quota rdate restore
route routed savecore setup
shelfchk snap snmp sysconfig
sysstat timezone uptime version
wack ypwhich dbg dereference_null dd diskfs dumpblock dumpstack
flake gdb getport getXXbyYY
hard_hang hang help_dump ifstat
lock_dump log mbstat mdumpb
mdumpl mdumpw memdump newfs
panic parityck printflag prof
ps export_tbl_dump setflag sm_mon
stack statit raid_fake_swap fs_size_limit sync syslog time wafl
wafl_susp wafl_blkmap zero_divide ypcat
ypmatch ypset bbdump ttcp
rsh outb outw outl
out inb inw inl
in incfg outcfg pci_list
pci_error_probe pci_error set_nv_interleave scsi_format scsi_inquiry scsi_capacity scsi_modeselect scsi_modesense scsi_readdefect scsi_swap scsi_fail scsi_reset
scsi_insert_fault led_test led_test_one led_on
led_off blink_on blink_off led_on_all
led_off_all led_on_off isp_ram_read isp_ram_write isp_ram_test isp_term scsi_start scsi_stop
scsi_test disk_write disk_test disk_read
disk_zero disk_mung disk_stat tape_stat
tape_write tape_read nv nvtest
nfs_hist com disk_list disk_check
disk_erase_label test_lcd test_fpleds read_serno
write_serno watchdog de_srom_read de_srom_write fa show_emu emu_disable netdiag
cmos_read cmos_write call cache_control perfmon mfgbist barium*> rc_toggle_basic barium>
Don't run 'zero_divide' - DOT is apparently math-impaired and does not do anything intelligent with X/0. It does reveal a sense of humor on the part of the developers. Did you notice that the file-system checker is called 'wack'? Most of the others seemed (relatively) harmless, or at least a little more obvious, some don't work at all.
[Weeks, Thomas] Hmm...
Well... I'm afraid to run any on our filer as it is our main production box... Although I have already runa few that seemed to be obvious...
Anyone documented any of these commands? How about giving us some feedback? (or just send it to Kelly since he has volunteered to start the FAQ.. that is.. unless NetApp doesn't mind providing some of us power users with some simple form of FAQ/docs... ;v)
I can be descrete...
Tom D Tek
Kelly