System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to differentiate root disks from the LUNs presented to linux.

sanwin
Frequent Advisor

how to differentiate root disks from the LUNs presented to linux.

Hi,
In an environment how to differentiate the root disks from the luns presented to it.

Example in this output,
[root@host1 root]# fdisk -l

Disk /dev/cciss/c0d0: 146.8 GB, 146807930880 bytes
255 heads, 32 sectors/track, 35139 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 25 101984 83 Linux
/dev/cciss/c0d0p2 26 16339 66561120 8e Linux LVM
/dev/cciss/c0d0p3 16340 32653 66561120 8e Linux LVM



In this putput, which is the root disk and whether there are any luns presented to it?


Please help me.

regards,
sanwin.
1 REPLY
Steven E. Protter
Exalted Contributor

Re: how to differentiate root disks from the LUNs presented to linux.

Shalom

/dev/cciss/c0d0p1 * 1 25 101984 83 Linux
# Above is the /boot partition which can not be in LVM

# The root disk is /dev/cciss/c0d0 and although you don't say so this appears to be an HP Proliant server. This disk is lcoan though, and this output shows no sign that a SAN is connected at all.


/dev/cciss/c0d0p2 26 16339 66561120 8e Linux LVM
/dev/cciss/c0d0p3 16340 32653 66561120 8e Linux LVM

Try installing PSP 7 or 8 and running the /opt/hp/hp_fibreutils/hp_recan utility to check for the SAN. Also inspect physically for link lights and cables as such.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com