You are on page 1of 7

User / Administrator commands

n3300a> useradmin user list Name: root Info: Default system administrator. Rid: 0 Groups: Name: administrator Info: Built-in account for administering the filer Rid: 500 Groups: Administrators %%%%%%%%%%%%%%%%%%%%%%%%%%% n3300a> useradmin user list administrator Name: administrator Info: Built-in account for administering the filer Rid: 500 Groups: Administrators Full Name: Allowed Capabilities: login-*,cli-*,api-*,security-* Password min/max age in days: 0/4294967295 Status: enabled

Networking
route add -net 192.168.50.0 netmask 255.255.255.0 gw 192.168.100.1 eth1 192.168.100.1 is my router, it knows how to get to 192.168.50.0/24. How do I make this route permanent? route add default gw 192.68.56.1 eth0 DNS{1,2}=192.168.1.3 service network restart

Adapters
To list all storage adapters on the filer : Use "storage show adapter -a" command to display all the storage adapters (hba) on the filer.

# rsh filer12 storage show adapter -a Slot: 0a Fibre Channel Host Adapter 0a (Dual-channel, QLogic 2322 rev. 3) 3.3.25

Description: Firmware Rev:

FC Node Name: xxxxxxxxxxxxxxxxxxx FC Packet Size: 2048 Link Data Rate: 2 Gbit SRAM Parity: State: In Use: Redundant: Slot: 0b Fibre Channel Host Adapter 0b (Dual-channel, QLogic 2322 rev. 3) 3.3.25 Yes External GBIC: No Enabled No Yes

Description: Firmware Rev: ..

FC Node Name: xxxxxxxxxxxxxxxxxxx

n3300a>storage disable adapter 0a - to disable an adapter in slot 0a n3300a>storage enable adapter 0a - to enable an adapter in slot 0a

Multipath
To find out if multipath cabling is being used: n3300a>storage show disk -p If you see disks listed under the secondary column, then multipath cabling is being used.

Disk Drives
n3300a> sysconfig -r Aggregate aggr0 (online, raid0) (zoned checksums) Plex /aggr0/plex0 (online, normal, active) RAID group /aggr0/plex0/rg0 (normal) RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) --------- ------ ------------- ---- ---- ---- ----- -------------data data data v4.16 v4 v4.17 v4 v4.18 v4 -------------127/261248 127/261248 127/261248 1 0 FC:B - FCAL N/A 120/246784 1 1 FC:B - FCAL N/A 120/246784 1 2 FC:B - FCAL N/A 120/246784 Phys (MB/blks)

Spare disks (empty) n3300a>

vol status -r

To show all disks on the system : Use "storage show disk -T" to display all the disks attached to the filer, the disk serial number, vendor, model, disk firmware version and type of disk (SATA/ATA/FCAL)

# rsh filer12 storage show disk -T DISK 0d.16 0d.17 SHELF BAY SERIAL 1 1 VENDOR MODEL REV TYPE --------------------- --------- ---------------- -------- ---------- ---- -----0 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL 1 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL

0d.18 0d.19 0d.20 0d.21 0d.22 ...

1 1 1 1 1

2 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL 3 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL 4 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL 5 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL 6 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL

To see complete information of a particular disk : Use "storage show disk -a <disk-id>" to view complete information of a netapp disk. This command gives you the shelf, bay, serial number of disk, disk speed and many other.

# rsh filer12 storage show disk -a 0d.99 Disk: Shelf: Bay: Serial: Vendor: Model: Rev: RPM: WWN: UID: Downrev: Pri Port: Blocks read: Time interval: Glist count: Scrub count: LIP count: #

0d.99 5 13 xxxxxxxxxxxxxxxxxxxx NETAPP X276 NA07 10000 xxxxxxxxxxxxxxxxxxa xxxxxxxxxxxxxxxxx:00000000:00000000:00000000:00000000 no B 0 00:00:00 0 0 0

Power-on Hours: N/A Blocks written: 0

Scrub last done: 00:00:00

Dynamically qualified: No

Shelf

To get shelf details of filer : Use "storage show shelf <shelf-id>" command to display the details of the shelf and its partner shelf.

# rsh filer12 storage show shelf 0c.shelf2 Shelf name: Channel: Module: Shelf id: Shelf UID: 0c.shelf2 0c A 2 xxxxxxxxxxxxxxxxxxxxxxx

Term switch: N/A Shelf state: ONLINE Module state: OK Loop Invalid Invalid Clock Insert Stall Util Disk Id [IN ] [OUT ] [ 32] [ 33] [ 34] [ 35] [ 36] [ 37] ... 0 1 2 3 4 5 Disk Bay Port State OK OK OK OK OK OK OK OK 0 0 0 0 0 0 up Count 0 0 0 0 0 0 0 0 CRC Count 0 0 0 0 0 0 0 0 0 0 Count 8 0 32 32 24 24 8 24 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 71 52 0 2 0 1 2 4 0 0 0 0 0 0 0 0 LIP

Word Delta Count Count Percent Count

----------------------------------------------------------------------------------------

Aggregates
n3300a> aggr create aggr1 -r 4 -t raid4 5

CIFS
n3300a> cifs shares Name Mount Point Description -----------------------ETC$ /etc Remote Administration ** priv access only ** HOME /vol/vol0/home Default Share everyone / Full Control C$ / Remote Administration ** priv access only **

n3300a> cifs access C$ administrator Full Control 1 share(s) have been successfully modified n3300a> cifs shares Name Mount Point Description

---ETC$

--------------------/etc Remote Administration ** priv access only ** HOME /vol/vol0/home Default Share everyone / Full Control C$ / Remote Administration N3300A\administrator / Full Control

You might also like