Monday, September 15, 2008

NetApp / Storevault Command Dump

I noticed I had a list of some quick helpful commands for NetApp and Storevault filers.

How to Configure a Filer back to Factory
---------------------------------------------
1) Connect to the filers management port via a serial cable and log in
2) Command: priv set advanced
3) Command: halt -c factory
4) This will shut down filer and leave you at a command prompt.
5) Command: boot_ontap
6) Press ctrl-c for special boot menu when prompted during boot
7) Select option 4a to create a flexible root volume and zero all the owned disks on the filer


Quick Commands 
----------------------------------------
Filer Factory
-----------------
1) Connect to the filers management port via a serial cable and log in
2) Command: priv set advanced
3) Command: halt -c factory
4) This will shut down filer and leave you at a command prompt.
5) Command: boot_ontap
6) Press ctrl-c for special boot menu when prompted during boot
7) Select option 4a to create a flexible root volume and zero all the owned disks on the filer


STOREVAULT NETAPP COMMANDS 
=================================
Create Volume:
vol create DPMBackups aggr0 90g

Create a CIFS Share:
cifs shares -add DPMBackups$ /vol/DPMBackups

Resize the Volume:
vol size DPMBackups 44g

Create a LUN
lun create -s 34g -t windows /vol/DPMBackups/lun1

Create an ISCSI group:
igroup create -i -t windows DPM04 iqn.1991-05.com.microsoft:el-mbx-04.azaleos.net

Map the LUN to an igroup:
lun map /vol/DPMBackups/lun1 EX-MBX-01

Configure an Interface:
ifconfig -a  **To check
ifconfig e0b 192.168.1.209 netmask 255.255.255.0 broadcast 192.168.1.255 up

Resize a LUN:
lun resize /vol/Archive/archive.lun 1900g

1 comment:

Ashima said...

What would be the command to assign a disk to a StoreVault.

P.S:- "disk assign" does not work like it does in NetApp filers.