0% found this document useful (0 votes)
174 views7 pages

Nseries Usefull Commands

The document provides information about various NetApp storage system commands, including: - Useradmin commands to list users and their details - Networking commands like route to configure networking and DNS - Storage commands like storage show adapter to view storage adapters and storage show disk to view disks - Commands related to aggregates, volumes, CIFS shares and more.

Uploaded by

Jorge Fonseca
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
174 views7 pages

Nseries Usefull Commands

The document provides information about various NetApp storage system commands, including: - Useradmin commands to list users and their details - Networking commands like route to configure networking and DNS - Storage commands like storage show adapter to view storage adapters and storage show disk to view disks - Commands related to aggregates, volumes, CIFS shares and more.

Uploaded by

Jorge Fonseca
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as ODT, PDF, TXT or read online on Scribd
You are on page 1/ 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
Description: Fibre Channel Host Adapter 0a (Dual-channel, QLogic 2322 rev. 3)
Firmware Rev: 3.3.25
FC Node Name: xxxxxxxxxxxxxxxxxxx
FC Packet Size: 2048
Link Data Rate: 2 Gbit
SRAM Parity: Yes
External GBIC: No
State: Enabled
In Use: No
Redundant: Yes

Slot: 0b
Description: Fibre Channel Host Adapter 0b (Dual-channel, QLogic 2322 rev. 3)
Firmware Rev: 3.3.25
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) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
data v4.16 v4 1 0 FC:B - FCAL N/A 120/246784 127/261248
data v4.17 v4 1 1 FC:B - FCAL N/A 120/246784 127/261248
data v4.18 v4 1 2 FC:B - FCAL N/A 120/246784 127/261248

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 SHELF BAY SERIAL VENDOR MODEL REV TYPE
--------------------- --------- ---------------- -------- ---------- ---- ------
0d.16 1 0 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL
0d.17 1 1 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL
0d.18 1 2 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL
0d.19 1 3 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL
0d.20 1 4 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL
0d.21 1 5 xxxxxxxxxxxxxxxx NETAPP X276 NA07 FCAL
0d.22 1 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: 0d.99
Shelf: 5
Bay: 13
Serial: xxxxxxxxxxxxxxxxxxxx
Vendor: NETAPP
Model: X276
Rev: NA07
RPM: 10000
WWN: xxxxxxxxxxxxxxxxxxa
UID: xxxxxxxxxxxxxxxxx:00000000:00000000:00000000:00000000
Downrev: no
Pri Port: B
Power-on Hours: N/A
Blocks read: 0
Blocks written: 0
Time interval: 00:00:00
Glist count: 0
Scrub last done: 00:00:00
Scrub count: 0
LIP count: 0
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: 0c.shelf2
Channel: 0c
Module: A
Shelf id: 2
Shelf UID: xxxxxxxxxxxxxxxxxxxxxxx
Term switch: N/A
Shelf state: ONLINE
Module state: OK

Loop Invalid Invalid Clock Insert Stall Util LIP


Disk Disk Port up CRC Word Delta Count Count Percent Count
Id Bay State Count Count Count
----------------------------------------------------------------------------------------
[IN ] OK 0 0 0 8 0 0 71 0
[OUT ] OK 0 0 0 0 0 0 52 0
[ 32] 0 OK 0 0 0 32 0 0 0 0
[ 33] 1 OK 0 0 0 32 0 0 2 0
[ 34] 2 OK 0 0 0 24 0 0 0 0
[ 35] 3 OK 0 0 0 24 0 0 1 0
[ 36] 4 OK 0 0 0 8 0 0 2 0
[ 37] 5 OK 0 0 0 24 0 0 4 0
...
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