Hi ;
I have been studying on a problem and could not find the answer ;
here is shortly the problem and my struggle
there are 2 unisys es7000 itanium servers running redhat enterprise linux 4 up 4 ;
8 gb ram, 70 gb hdd and 2 hba's each ;
There will be oracle rac on these systems ; so a shared disk storage EMC CX500 is attached them through 2 hba's to support failover.(1 tb + 250 gb storage)
after installing operating systems
node1 fdisk -l
Code:
node1# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 71.9 GB, 71995228160 bytes
255 heads, 63 sectors/track, 8752 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 8753 70307839+ ee EFI GPT
Disk /dev/sdb: 1001.2 GB, 1001239085056 bytes
255 heads, 63 sectors/track, 121727 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sdc: 259.3 GB, 259384147968 bytes
255 heads, 63 sectors/track, 31534 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
and node 2 fdisk -l is
Code:
# fdisk -l
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 71.9 GB, 71995228160 bytes
255 heads, 63 sectors/track, 8752 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 8753 70307839+ ee EFI GPT
Disk /dev/sdc: 1001.2 GB, 1001239085056 bytes
255 heads, 63 sectors/track, 121727 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Disk /dev/sdd: 259.3 GB, 259384147968 bytes
255 heads, 63 sectors/track, 31534 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
All the hardare in server are indentical ; only serial number
;
My question is what happens to node 2 ; where is /dev/sdb ?
Why did it just bypass that letter and uses next ?
I have read some manuals , man pages but none of them helped;
I tried to create a special device file name "emcpower" by writing custom rules in
/etc/udev/rules.d/ that worked
I used uuid to write special rules
Code:
[root@node1]# scsi_id -g -s /block/sdb
36006016002441a003c07fdaba969db11
more /etc/udev/rules.d/20-myrule.rules
KERNEL="sd*", BUS="scsi", PROGRAM="/sbin/scsi_id", RESULT="36006016002441a003c07fdaba969db11", NAME="emcpower"
I was successful in mounting by "mount /dev/emcpower /mnt/myhugedrive" then I wrote some files to it.but when I created partitions like 500gb + 500gb in my disk it failed so I was failed to use special rules by using uuid .I changed
NAME="emcpower" -->
NAME="emcpower%e" to use them just as
/dev/sda --> /dev/emcpower
/dev/sda1 --> /dev/emcpower1
but no worked
Is there a way to bind devices to specific device files ?
Using e2label was the fisrt thing I thougt but it is valid only using ext2 ext3 file systems as far as ı know ; I plan to use ocfs file system on that disk because of oracle rac;
PS: some hardware info
lspci (hba cards info)
2d:01.0 Fibre Channel: Emulex Corporation Thor LightPulse Fibre Channel Host Adapter (rev 01)
37:01.0 Fibre Channel: Emulex Corporation Thor LightPulse Fibre Channel Host Adapter (rev 01)
[root@node1]# cat /proc/meminfo
MemTotal: 8204496 kB
/dev/sda's partition table canot be seen via fdisk ; parted will print it;
Any help will be appreciated;
Thanks ;
Have a nice happy valentine's day if even I will not