If I run probe-luns -a, it shows all 3 luns. I then use fdisk -l and it shows the devices as expected.
Output after reboot:
[root@hhln-mgt-sac101 ~]# fdisk -l
Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
255 heads, 63 sectors/track, 17844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM
Output after running "probe-luns -a"
[root@hhln-mgt-sac101 ~]# probe-luns -a
Adding legacy tape devices to /proc/scsi/device_info
Scanning /proc/scsi/qla2xxx/2, target 0, LUN 3
scsi2 00 00 01 HP OPEN-V*2 5007 Direct-Access
scsi2 00 00 02 HP OPEN-V*3 5007 Direct-Access
scsi2 00 00 03 HP OPEN-V*3 5007 Direct-Access
[root@hhln-mgt-sac101 ~]# fdisk -l
Disk /dev/cciss/c0d0: 146.7 GB, 146778685440 bytes
255 heads, 63 sectors/track, 17844 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 13 104391 83 Linux
/dev/cciss/c0d0p2 14 17844 143227507+ 8e Linux LVM
Disk /dev/sda (Sun disk label): 15 heads, 512 sectors, 9991 cylinders
Units = cylinders of 7680 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1 0 35 134400 2 SunOS root
/dev/sda2 u 35 70 134400 3 SunOS swap
/dev/sda3 u 0 9991 38365440 5 Whole disk
/dev/sda7 70 9991 38096640 4 SunOS usr
Disk /dev/sda1 (Sun disk label): 15 heads, 512 sectors, 9991 cylinders
Units = cylinders of 7680 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1p1 0 35 134400 2 SunOS root
/dev/sda1p2 u 35 70 134400 3 SunOS swap
/dev/sda1p3 u 0 9991 38365440 5 Whole disk
/dev/sda1p7 70 9991 38096640 4 SunOS usr
Disk /dev/sda3 (Sun disk label): 15 heads, 512 sectors, 9991 cylinders
Units = cylinders of 7680 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda3p1 0 35 134400 2 SunOS root
/dev/sda3p2 u 35 70 134400 3 SunOS swap
/dev/sda3p3 u 0 9991 38365440 5 Whole disk
/dev/sda3p7 70 9991 38096640 4 SunOS usr
Disk /dev/sdb: 117.8 GB, 117888122880 bytes
255 heads, 63 sectors/track, 14332 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
Disk /dev/sdc (Sun disk label): 15 heads, 512 sectors, 9991 cylinders
Units = cylinders of 7680 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sdc1 0 35 134400 2 SunOS root
/dev/sdc2 u 35 70 134400 3 SunOS swap
/dev/sdc3 u 0 9991 38365440 5 Whole disk
/dev/sdc7 70 9991 38096640 4 SunOS usr
Disk /dev/sdc1 (Sun disk label): 15 heads, 512 sectors, 9991 cylinders
Units = cylinders of 7680 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sdc1p1 0 35 134400 2 SunOS root
/dev/sdc1p2 u 35 70 134400 3 SunOS swap
/dev/sdc1p3 u 0 9991 38365440 5 Whole disk
/dev/sdc1p7 70 9991 38096640 4 SunOS usr
Disk /dev/sdc3 (Sun disk label): 15 heads, 512 sectors, 9991 cylinders
Units = cylinders of 7680 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sdc3p1 0 35 134400 2 SunOS root
/dev/sdc3p2 u 35 70 134400 3 SunOS swap
/dev/sdc3p3 u 0 9991 38365440 5 Whole disk
/dev/sdc3p7 70 9991 38096640 4 SunOS usr
Here is the problem, if I reboot the server, the luns disappear. Fdisk -l shows nothing. I have to run probe-luns again for them to reappear.
Please help. Urgent.
Thanks
Ali.
ASKED:
Nov 3 2008 12:47 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _