Hi
all,
on Saturday we had
our annual reboot of my NFS server which is on RedHat 5.2 (kernel
2.6.18-92).
Since I'm in
big trouble because my server does not recognize his dmraid volumes at boot
time.
I know that my disks
are ok (made diag from my LSIlogic controller) and that my datas are
there
(because when I boot
on install CD, I can see my all datas even if I still have some
errors).
When I look into the
rc.sysinit file, I can see that the dm_resolve_name function does not
return
anything. In fact
it's the command
dmsetup
table
in this function
which does not return anything. I think it's not the right way, but maybe it is,
I hope
you can explain it
to me.
Here are the output
of some dmraid commands when I finally finish my boot :
# dmraid -r
/dev/sda: ddf1, ".ddf1_disks", GROUP, ok, 583983104 sectors, data@ 0
/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 583983104 sectors, data@ 0
/dev/sdc: ddf1, ".ddf1_disks", GROUP, ok, 583983104 sectors, data@ 0
/dev/sdd: ddf1, ".ddf1_disks", GROUP, ok, 585806427 sectors, data@ 0
/dev/sde: ddf1, ".ddf1_disks", GROUP, ok, 585806427 sectors, data@ 0
/dev/sdf: ddf1, ".ddf1_disks", GROUP, ok, 585806427 sectors, data@ 0
/dev/sda: ddf1, ".ddf1_disks", GROUP, ok, 583983104 sectors, data@ 0
/dev/sdb: ddf1, ".ddf1_disks", GROUP, ok, 583983104 sectors, data@ 0
/dev/sdc: ddf1, ".ddf1_disks", GROUP, ok, 583983104 sectors, data@ 0
/dev/sdd: ddf1, ".ddf1_disks", GROUP, ok, 585806427 sectors, data@ 0
/dev/sde: ddf1, ".ddf1_disks", GROUP, ok, 585806427 sectors, data@ 0
/dev/sdf: ddf1, ".ddf1_disks", GROUP, ok, 585806427 sectors, data@ 0
# dmraid -s
*** Group superset .ddf1_disks
--> Subset
name : ddf1_4c53494c4f4749431000005010003110000047bef3103289
size : 1751949312
stride : 128
type : stripe
status : ok
subsets: 0
devs : 3
spares : 0
--> Subset
name : ddf1_4c53494c4f4749431000005010003110000047d1d930979b
size : 1751949312
stride : 128
type : stripe
status : ok
subsets: 0
devs : 3
spares : 0
*** Group superset .ddf1_disks
--> Subset
name : ddf1_4c53494c4f4749431000005010003110000047bef3103289
size : 1751949312
stride : 128
type : stripe
status : ok
subsets: 0
devs : 3
spares : 0
--> Subset
name : ddf1_4c53494c4f4749431000005010003110000047d1d930979b
size : 1751949312
stride : 128
type : stripe
status : ok
subsets: 0
devs : 3
spares : 0
# dmraid
-tay
ddf1_4c53494c4f4749431000005010003110000047bef3103289: 0 1751949312 striped 3 128 /dev/sda 0 /dev/sdb 0 /dev/sdc 0
ddf1_4c53494c4f4749431000005010003110000047d1d930979b: 0 1751949312 striped 3 128 /dev/sdd 0 /dev/sde 0 /dev/sdf 0
ddf1_4c53494c4f4749431000005010003110000047bef3103289: 0 1751949312 striped 3 128 /dev/sda 0 /dev/sdb 0 /dev/sdc 0
ddf1_4c53494c4f4749431000005010003110000047d1d930979b: 0 1751949312 striped 3 128 /dev/sdd 0 /dev/sde 0 /dev/sdf 0
# fdisk -l /dev/sda
Disk /dev/sda: 300.0 GB, 300000000000 bytes
255 heads, 63 sectors/track, 36472 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
255 heads, 63 sectors/track, 36472 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot
Start
End Blocks Id
System
/dev/sda1 1 109054 875974655+ 8e Linux LVM
# fdisk -l /dev/sdd
/dev/sda1 1 109054 875974655+ 8e Linux LVM
# fdisk -l /dev/sdd
Disk /dev/sdd: 300.0 GB, 300000000000 bytes
255 heads, 63 sectors/track, 36472 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
255 heads, 63 sectors/track, 36472 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device
Boot
Start
End Blocks Id
System
/dev/sdd1 1 109054 875974655+ 8e Linux LVM
/dev/sdd1 1 109054 875974655+ 8e Linux LVM
An the errors I get
in /var/log/messages :
kernel:
sda: p1 exceeds device capacity
........
kernel:
sdd: p1 exceeds device capacity
........
kernel: attempt
to access beyond end of device
My system see
/dev/sda1 and /dev/sdd1 like partitions of a single disk of 300Go and not like a
member
of a dmraid volume
of 3 disks.
How can I do to make
my system recognize these volums ? And why it doesn't while from an install
CD
averything seems
almost ok ?
Thanks in advance if
you can help me.
Regards.
_______________________________________________ Ataraid-list mailing list Ataraid-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ataraid-list