conversekid
asked on
how to list san devices attached
Hi,
I want to list the san devices attached to the system. I also want to find some information regarding how the devices are mounted etc. Thanks in advace.
I want to list the san devices attached to the system. I also want to find some information regarding how the devices are mounted etc. Thanks in advace.
Ignore my above post; for some reason I thought you were asking about redhat
for solaris format command will show all devices recognized
you could do a listing of /dev/c<#>t<#>d<#> to see what devices exist
Iostat -En (will give you device information regarding errors and vendor info)
alternatively most hw vendors have tools to do this. EMC has inq which is a free tool downloadable from powerlink that will give device, lun, and label info.
you could do a listing of /dev/c<#>t<#>d<#> to see what devices exist
Iostat -En (will give you device information regarding errors and vendor info)
alternatively most hw vendors have tools to do this. EMC has inq which is a free tool downloadable from powerlink that will give device, lun, and label info.
ASKER
Is EMC the only manufacturer of SAN for solaris? or are there other companies also. Is there any way to list the devices without downloadind the software? Using iostat how can I identify if the deivce is SAN of not? Thanks
No; there are many vendors of san storage. Hitachi, EMC, HP, IBM etc....
iostat -En (will show vendor: XYZ) for example EMC or Clariion (also emc storage) is displayed for me.
iostat -En (will show vendor: XYZ) for example EMC or Clariion (also emc storage) is displayed for me.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
Thanks much for the info you provided. I have an environment which consists of multiple sun machines with different configurations. For some reason I am asked to find the different types of storgage these machines are using. I can see couple of NAS easily when I do df -k. can you tell me how to identify and list san on each machine. All are running on solaris 8/9. They gave me the following command. Is this correct.
To list the SAN disks attached to the server:
iostat -E | awk '{ if ( ( $1 ~ /Vendor/ ) || ( $1 ~ /Size/ ) ) { printf $0; getline; print " -- " $0 }; }' | grep EMC | cut -d: -f6 | awk '{ print $1; }'
Which of the commands listed by you should I use to easily list and document san storage.on each of these machines? Thanks for being very helpful.
Thanks much for the info you provided. I have an environment which consists of multiple sun machines with different configurations. For some reason I am asked to find the different types of storgage these machines are using. I can see couple of NAS easily when I do df -k. can you tell me how to identify and list san on each machine. All are running on solaris 8/9. They gave me the following command. Is this correct.
To list the SAN disks attached to the server:
iostat -E | awk '{ if ( ( $1 ~ /Vendor/ ) || ( $1 ~ /Size/ ) ) { printf $0; getline; print " -- " $0 }; }' | grep EMC | cut -d: -f6 | awk '{ print $1; }'
Which of the commands listed by you should I use to easily list and document san storage.on each of these machines? Thanks for being very helpful.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi from the output of cfgadm -al how can we determine if its a san device or not?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi,
Thanks.. In the second column of the output from cfgadm -al command what shuld I look for, the identify if its SAN or not?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi, Thanks much
From the below output, can we say all the disks starting with c1 are SAN mounted..Please help me to get the information regarding the disk space etc..
[root@v04k622:/] #> cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 CD-ROM connected configured unknown
c1 fc-private connected configured unknown
c1::500000e0126f4251 disk connected configured unknown
c1::500000e0126f4351 disk connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb0/3 unknown empty unconfigured ok
usb0/4 unknown empty unconfigured ok
From the below output, can we say all the disks starting with c1 are SAN mounted..Please help me to get the information regarding the disk space etc..
[root@v04k622:/] #> cfgadm -al
Ap_Id Type Receptacle Occupant Condition
c0 scsi-bus connected configured unknown
c0::dsk/c0t0d0 CD-ROM connected configured unknown
c1 fc-private connected configured unknown
c1::500000e0126f4251 disk connected configured unknown
c1::500000e0126f4351 disk connected configured unknown
usb0/1 unknown empty unconfigured ok
usb0/2 unknown empty unconfigured ok
usb0/3 unknown empty unconfigured ok
usb0/4 unknown empty unconfigured ok
post your format output
ASKER
[root@v02k605:/savvion/app /projects/ mwb/tools] #> format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1c,600000/scsi@2/sd@0 ,0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1c,600000/scsi@2/sd@1 ,0
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1c,600000/scsi@2/sd@0
1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
/pci@1c,600000/scsi@2/sd@1
your externals are not showing connected. This could be a number of issues.
can you post the Iostat -En
can you post the Iostat -En
ASKER
[root@v04k622:/] #> iostat -En
c0t0d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: TSSTcorp Product: CD/DVDW TS-L532U Revision: SR01 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAX3147FCSUN146G Revision: 1103 Serial No: 0630G01N8F
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAX3147FCSUN146G Revision: 1103 Serial No: 0630G01N85
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
[root@v04k622:/] #>
There are couple of machines we need to check.. I am just trying to get the procedure so that I can do it on all the machines...
c0t0d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
Vendor: TSSTcorp Product: CD/DVDW TS-L532U Revision: SR01 Serial No:
Size: 0.00GB <0 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 1 Predictive Failure Analysis: 0
c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAX3147FCSUN146G Revision: 1103 Serial No: 0630G01N8F
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
Vendor: FUJITSU Product: MAX3147FCSUN146G Revision: 1103 Serial No: 0630G01N85
Size: 146.80GB <146800115712 bytes>
Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
Illegal Request: 0 Predictive Failure Analysis: 0
[root@v04k622:/] #>
There are couple of machines we need to check.. I am just trying to get the procedure so that I can do it on all the machines...
It does not look like you are zoned for storage or your fiber card is not installed/drivers installed correctly. Make sure you are zoned with your storage admin. If you are then check to make sure that you have the correct fiber card drivers installed.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
cd /etc/sysconfig
cat hwconf | more (has all hardware including san devices )
alternatively most hw vendors have tools to do this. EMC has inq which is a free tool downloadable from powerlink that will give device, lun, and label info.