Useful NAS command to verify the control station.

 

To Check the Control Station.

Sample Output:

 

[root@NASSANDUEL01 sbin]# /nas/sbin/getreason

10 - slot_0 primary control station

 5 - slot_2 contacted

 5 - slot_3 contacted

 

 

 

 

 

To check the system uptime.

Sample Output:

 

[root@NASSANDUEL01 sbin]# uptime

 13:32:19 up 89 days,  3:07,  1 user,  load average: 0.22, 0.30, 0.32

 

 


 

 

 

To check the server uptime.

Sample Output:

 

[root@NASSANDUEL01 sbin]# /nas/bin/server_uptime ALL

server_2 :  up 89 days 0 hours 48 min 2 secs

server_3 :  up 89 days 0 hours 45 min 45 secs

 

 


 

 

To check the NAS server info.

Sample Output:

 

[root@NASSANDUEL01 sbin]# /nas/bin/nas_server -l

id      type  acl  slot groupID  state  name

1        1    0     2              0    server_2

2        4    0     3              0    server_3

 

 

 


 

 

 

To check the backend storage info.

Sample Output:

 

[root@NASSANDUEL01 sbin]# /nas/bin/nas_storage -l

id   acl    name           serial_number

1    0      CK20002000xxxx CK20002000xxxx

 

 


 

 

 

To check the nas_fs info.

Sample Output:

 

[root@NASSANDUEL01 sbin]# /nas/bin/nas_fs -l

id      inuse type acl   volume    name                server

1         n    1   0     10        root_fs_1

2         y    1   0     12        root_fs_2           1

3         y    1   0     14        root_fs_3           2

4         n    1   0     16        root_fs_4

 

 


 

 

 

 

 

To check all the server mount point:

Sample Output:

 

[root@NASSANDUEL01 sbin]# /nas/bin/server_mount ALL

server_2 :

root_fs_2 on / uxfs,perm,rw

fs-1 on /fs-1 uxfs,perm,rw

fs-2 on /fs-2 uxfs,perm,rw

fs-3 on /fs-3 uxfs,perm,rw

ckpt_ckpt_fs-1_tuesday_002 on /ckpt_ckpt_fs-1_tuesday_002 ckpt,perm,ro

ckpt_ckpt_fs-2_tuesday_002 on /ckpt_ckpt_fs-2_tuesday_0022 ckpt,perm,ro

ckpt_ckpt_fs-1_wednesday_003 on /ckpt_ckpt_fs-1_wednesday_003 ckpt,perm,ro

ckpt_ckpt_fs-2_wednesday_003 on /ckpt_ckpt_fs-2_wednesday_003 ckpt,perm,ro

ckpt_ckpt_fs-1_thursday_004 on /ckpt_ckpt_fs-1_thursday_004 ckpt,perm,ro

ckpt_ckpt_fs-2_thursday_004 on /ckpt_ckpt_fs-2_thursday_004 ckpt,perm,ro

ckpt_ckpt_fs-2_friday_005 on /ckpt_ckpt_fs-2_friday_005 ckpt,perm,ro

ckpt_ckpt_fs-1_friday_005 on /ckpt_ckpt_fs-1_friday_005 ckpt,perm,ro

ckpt_ckpt_fs-2_monday_001 on /ckpt_ckpt_fs-2_monday_001 ckpt,perm,ro

ckpt_ckpt_fs-1_monday_001 on /ckpt_ckpt_fs-1_monday_001 ckpt,perm,ro

 

 

 


 

 

 

To check all the server export info:

Sample Output:

 

[root@NASSANDUEL01 sbin]# /nas/bin/server_export ALL

server_2 :

export "/fs_1_nfs" anon=0 comment="NFS Share"

export "/" anon=0 access=192.xxx.100.xxx:192.xxx.100.xxx

share "fs_event$" "/fs_event" umask=022 maxusr=42949xxxx comment="For Security event log"

share "Y$" "/fs-2" umask=022 maxusr=429492321 netbios=NASSANDUEL01A

share "MSSQL$" "/fs-5/Data/SrvApps/DBA/MSSQL" umask=022 maxusr=42949xxxx netbios=NASSANDUEL01A

 

 


 

 

 

To check all the server_cifs info:

Sample Output:

 

 

[root@NASSANDUEL01 sbin]# /nas/bin/server_cifs ALL

server_2 :

256 Cifs threads started

Security mode = NT

Max protocol = NT1

I18N mode = UNICODE

Home Directory Shares DISABLED

Usermapper auto broadcast enabled

 

Usermapper[0] = [128.0.xx.xx] state:active (auto discovered)

 

Default WINS servers = 10.100.xxx.xxx:192.168.xxx.xxx

Enabled interfaces: (All interfaces are enabled)

 

Disabled interfaces: (No interface disabled)

 

 

DOMAIN SANDUEL FQDN=SANDUEL.sanduel.com SITE=US RC=45

 SID=S-1-5-25-242a235732-2f7d1078-5fc3d76f0-ffffffff

 DC=USSANDUEL01(168.xxx.xxx.xxx) ref=1 time=0 ms (Closest Site)

>DC=UKSANDUEL01 (168.xxx.xxx.xxx) ref=2 time=7 ms

 

CIFS Server NASSANDUEL01A[SANDUEL] RC=232

 Full computer name=NASSANDUEL01A.sanduel.com realm=.sanduel.com

 Comment='EMC-SNAS:T5.6.46.415'

 if=169_xx_xx_xx l=169.xx.xxx.xxx  b=169.xx.xxx.xxx  mac=0:60:16:a:xx:xx

  FQDN=NASSANDUEL01A.SANDUEL.sanduel.com (Updated to DNS)

 

 

 


 

 

 

To check the NAS version info:

Sample Output:

 

[root@NASSANDUEL01 sbin]# /nas/bin/nas_version

5.6.46-4

 

 


 

 

 

To check the NAS version info in detail:

Sample Output:

 

[root@NASSANDUEL01 sbin]# /nas/bin/nas_version -l

Name        : emcnas                       Relocations: /nas

Version     : 5.6.46                            Vendor: EMC

Release     : 4                             Build Date: Thu 25 Mar 2009 03:30:44 PM IST

 

 


 

 

 

 

To check the server config with fcp info:

Sample Output:

 

 

 [sanduel@NASSANDUEL01 ~]$ .server_config ALL -v "fcp show"

server_2 : commands processed: 1

command(s) succeeded

output is complete

 

FCP ONLINE     HBA 0: S_ID 610113     WWN: xxxxxxxxxxxxxxxx DX2

FCP scsi-0:    HBA 0: D_ID 610813  SP-a00: xxxxxxxxxxxxxxxx Class 3

FCP scsi-16:   HBA 0: D_ID 610013  SP-b00: xxxxxxxxxxxxxxxx Class 3

FCP ONLINE     HBA 1: S_ID 610113     WWN: xxxxxxxxxxxxxxxx DX2

FCP scsi-32:   HBA 1: D_ID 610013  SP-b01: xxxxxxxxxxxxxxxx Class 3

FCP scsi-48:   HBA 1: D_ID 610813  SP-a01: xxxxxxxxxxxxxxxx Class 3

FCP OFFLINE    HBA 2: ALPA 000001     WWN: xxxxxxxxxxxxxxxx DX2

FCP scsi-64:   HBA 2: CHAINS   64 -   79 OFFLINE

FCP OFFLINE    HBA 3: ALPA 000001     WWN: xxxxxxxxxxxxxxxx DX2

FCP scsi-80:   HBA 3: CHAINS   80 -   95 OFFLINE

1267776693: ADMIN: 6: Command succeeded:  fcp show

 

server_3 : commands processed: 1

command(s) succeeded

output is complete

 

FCP ONLINE     HBA 0: S_ID 610913     WWN: xxxxxxxxxxxxxxxx DX2

FCP scsi-0:    HBA 0: D_ID 610813  SP-a00: xxxxxxxxxxxxxxxx Class 3

FCP scsi-16:   HBA 0: D_ID 610013  SP-b00: xxxxxxxxxxxxxxxx Class 3

FCP ONLINE     HBA 1: S_ID 610913     WWN: xxxxxxxxxxxxxxxx DX2

FCP scsi-32:   HBA 1: D_ID 610013  SP-b01: xxxxxxxxxxxxxxxx Class 3

FCP scsi-48:   HBA 1: D_ID 610813  SP-a01: xxxxxxxxxxxxxxxx Class 3

FCP OFFLINE    HBA 2: ALPA 000001     WWN: xxxxxxxxxxxxxxxx DX2

FCP scsi-64:   HBA 2: CHAINS   64 -   79 OFFLINE

FCP OFFLINE    HBA 3: ALPA 000001     WWN: xxxxxxxxxxxxxxxx DX2

FCP scsi-80:   HBA 3: CHAINS   80 -   95 OFFLINE

1267776751: ADMIN: 6: Command succeeded:  fcp show

 

 


 

 

 

 

To check the server config with fcp bind info:

Sample Output:

 

 

[sanduel@NASSANDUEL01 ~]$ .server_config ALL -v "fcp bind show"

server_2 : commands processed: 1

command(s) succeeded

output is complete

s

*** Persistent Binding Table ***

Chain 0000: WWN xxxxxxxxxxxxxxxx HBA 0  SP-a00 Bound     (Should show all in BOUND)

Chain 0016: WWN xxxxxxxxxxxxxxxx HBA 0  SP-b00 Bound

Chain 0032: WWN xxxxxxxxxxxxxxxx HBA 1  SP-b01 Bound

Chain 0048: WWN xxxxxxxxxxxxxxxx HBA 1  SP-a01 Bound

Chain 0064: WWN xxxxxxxxxxxxxxxx HBA 2  N_PORT Bind Pending

Chain 0080: WWN xxxxxxxxxxxxxxxx HBA 3  N_PORT Bind Pending

Existing CRC: d70914b9, Actual: d70914b9, CRC Matchs

***   Dynamic  Binding Table ***

Chain 0000: WWN xxxxxxxxxxxxxxxx HBA 0 ID 0 Inx 00:00 Pid 0000 D_ID xxxxxx Sys

Chain 0016: WWN xxxxxxxxxxxxxxxx HBA 0 ID 0 Inx 01:01 Pid 0016 D_ID xxxxxx Non

Chain 0032: WWN xxxxxxxxxxxxxxxx HBA 1 ID 1 Inx 02:01 Pid 0032 D_ID xxxxxx Non

Chain 0048: WWN xxxxxxxxxxxxxxxx HBA 1 ID 1 Inx 03:00 Pid 0048 D_ID xxxxxx Sys

Chain 0064: WWN xxxxxxxxxxxxxxxx HBA 2 ID 2 Inx 04:81 Pid 0064 D_ID xxxxxx Non

Chain 0080: WWN xxxxxxxxxxxxxxxx HBA 3 ID 3 Inx 05:81 Pid 0080 D_ID xxxxxx Non

FCP Base Chain: 0  Dump Slot: 2  Dump Chain: 0 16 32 48

Adapter Chain Offset 0:0 1:32 2:64 3:80  dumpInit 1

1267776725: ADMIN: 6: Command succeeded:  fcp bind show

 

server_3 : commands processed: 1

command(s) succeeded

output is complete

 

*** Persistent Binding Table ***

Chain 0000: WWN xxxxxxxxxxxxxxxx HBA 0  SP-a00 Bound

Chain 0016: WWN xxxxxxxxxxxxxxxx HBA 0  SP-b00 Bound

Chain 0032: WWN xxxxxxxxxxxxxxxx HBA 1  SP-b01 Bound

Chain 0048: WWN xxxxxxxxxxxxxxxx HBA 1  SP-a01 Bound

Chain 0064: WWN xxxxxxxxxxxxxxxx HBA 2  N_PORT Bind Pending

Chain 0080: WWN xxxxxxxxxxxxxxxx HBA 3  N_PORT Bind Pending

Existing CRC: d70914b9, Actual: d70914b9, CRC Matchs

***   Dynamic  Binding Table ***

Chain 0000: WWN xxxxxxxxxxxxxxxx HBA 0 ID 0 Inx 00:00 Pid 0000 D_ID xxxxxx Sys

Chain 0016: WWN xxxxxxxxxxxxxxxx HBA 0 ID 0 Inx 01:01 Pid 0016 D_ID xxxxxx Non

Chain 0032: WWN xxxxxxxxxxxxxxxx HBA 1 ID 1 Inx 02:01 Pid 0032 D_ID xxxxxx Non

Chain 0048: WWN xxxxxxxxxxxxxxxx HBA 1 ID 1 Inx 03:00 Pid 0048 D_ID xxxxxx Sys

Chain 0064: WWN xxxxxxxxxxxxxxxx HBA 2 ID 2 Inx 04:81 Pid 0064 D_ID xxxxxx Non

Chain 0080: WWN xxxxxxxxxxxxxxxx HBA 3 ID 3 Inx 05:81 Pid 0080 D_ID xxxxxx Non

FCP Base Chain: 0  Dump Slot: 3  Dump Chain: 0 16 32 48

Adapter Chain Offset 0:0 1:32 2:64 3:80  dumpInit 1

126777xxxx: ADMIN: 6: Command succeeded:  fcp bind show

 

[sanduel@NASSANDUEL01 ~]$