Monday, 25 June 2012

Linux Real Time Issue4

1. After our EMC storage admin had attached (only one) LUN to this server ,output of "fdisk -l " contain a lot of    /dev/sd* which don't have valid partition. You mean that all of them are belong to thae EMC storage LUN? And I have to make file system on all of them?

Thanks in advance

I currently have Oracle Linux RHEL5 running and have installed a HBA to
connect to the SAN(EMC). You can see the HBA from the SAN but cannot
see the SAN storage from the Linux box.
The question is how do I connect the Linux box to that space?
I have no port_name file in /sys/class/scsi_host/host* folder.something is wrong with it?


# uname -a
Linux mapor-linux 2.6.18-128.el5xen #1 SMP Wed Jan 21 09:07:41 EST 2009 x86_64 x86_64 x86_64 GNU/Linux
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/cciss/c0d0p5 95G 54G 37G 60% /
/dev/cciss/c0d0p8 48G 26G 20G 58% /home
/dev/cciss/c0d0p7 48G 359M 45G 1% /tmp
/dev/cciss/c0d0p6 54G 3.0G 48G 6% /usr
/dev/cciss/c0d0p2 474G 180G 270G 40% /u01
/dev/cciss/c0d0p1 680M 36M 609M 6% /boot
tmpfs 16G 0 16G 0% /dev/shm
/dev/mapper/mpath0p1 493G 393G 75G 85% /backup
172.27.8.31:/storage 296G 189G 92G 68% /net
# fdisk -l

Disk /dev/cciss/c0d0: 899.8 GB, 899898718208 bytes
255 heads, 32 sectors/track, 215393 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 176 718064 83 Linux
/dev/cciss/c0d0p2 177 125917 513023280 83 Linux
/dev/cciss/c0d0p3 125918 151015 102399840 82 Linux swap / Sol aris
/dev/cciss/c0d0p4 151016 215393 262662240 5 Extended
/dev/cciss/c0d0p5 151016 176113 102399824 83 Linux
/dev/cciss/c0d0p6 176114 190293 57854384 83 Linux
/dev/cciss/c0d0p7 190294 202842 51199904 83 Linux
/dev/cciss/c0d0p8 202843 215391 51199904 83 Linux

Disk /dev/sda: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 65270 524281243+ 83 Linux

Disk /dev/sdb: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 65270 524281243+ 83 Linux

Disk /dev/sdc: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdc1 1 65270 524281243+ 83 Linux

Disk /dev/sdd: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdd1 1 65270 524281243+ 83 Linux

Disk /dev/sde: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sde1 1 65270 524281243+ 83 Linux

Disk /dev/sdf: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdf1 1 65270 524281243+ 83 Linux

Disk /dev/sdg: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdg1 1 65270 524281243+ 83 Linux

Disk /dev/sdh: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdh1 1 65270 524281243+ 83 Linux

Disk /dev/dm-0: 536.8 GB, 536870912000 bytes
255 heads, 63 sectors/track, 65270 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/dm-0p1 1 65270 524281243+ 83 Linux

Disk /dev/dm-1: 536.8 GB, 536863993344 bytes
255 heads, 63 sectors/track, 65269 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/sdi: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes

Disk /dev/sdi doesn't contain a valid partition table

Disk /dev/sdj: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes

Disk /dev/sdj doesn't contain a valid partition table

Disk /dev/sdm: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes

Disk /dev/sdm doesn't contain a valid partition table

Disk /dev/sdp: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes

Disk /dev/sdp doesn't contain a valid partition table

Disk /dev/sdq: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes

Disk /dev/sdq doesn't contain a valid partition table

Disk /dev/sdr: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes

Disk /dev/sdr doesn't contain a valid partition table

Disk /dev/sdw: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes

Disk /dev/sdw doesn't contain a valid partition table

Disk /dev/sdx: 1073 MB, 1073741824 bytes
34 heads, 61 sectors/track, 1011 cylinders
Units = cylinders of 2074 * 512 = 1061888 bytes

Disk /dev/sdx doesn't contain a valid partition table

1 comment: