eldaria
January 4th, 2009, 08:14 PM
Hello I have an odd trouble since I installed Ubuntu Server 8.10.
I was previously running Ubuntu server 6.06.
My System has 5 Drives, and 3 of them are in a raid 5.
1 is Swap and / , and a 128MB USB flash drive for /boot
I noticed the problem after I experienced slow performance, and after some investigations I found that my Raid was degraded.
The reason was that one of the harddrives had changed from beeing sdb to sdf, and sdb did not exist.
I figured it was a fluke, and rebooted, now sdb was back but a different drive was there, and my Raid was still degraded.
After some reboots, I noticed that the drives get swapped around on each reboot.
See below:
Short Version:
Before reboot:
sudo fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000262be
Disk /dev/sdb: 128 MB, 128974848 bytes
Disk identifier: 0x000e6d4e
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
Disk identifier: 0x0005f493
Disk /dev/sdd: 160.0 GB, 160041885696 bytes
Disk identifier: 0x00027558
Disk /dev/sde: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000a2fca
Reboot 1:
sudo fdisk -l
Disk /dev/sda: 128 MB, 128974848 bytes
Disk identifier: 0x000e6d4e
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
Disk identifier: 0x0005f493
Disk /dev/sdc: 160.0 GB, 160041885696 bytes
Disk identifier: 0x00027558
Disk /dev/sdd: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000a2fca
Disk /dev/sde: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000262be
Reboot 2:
sudo fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000262be
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
Disk identifier: 0x00027558
Disk /dev/sdc: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000a2fca
Disk /dev/sdd: 128 MB, 128974848 bytes
Disk identifier: 0x000e6d4e
Disk /dev/sde: 250.0 GB, 250059350016 bytes
Disk identifier: 0x0005f493
Complete version:
Before reboot:
sudo fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000262be
Device Boot Start End Blocks Id System
/dev/sda1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdb: 128 MB, 128974848 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e6d4e
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 16 125905+ 83 Linux
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(15, 172, 63)
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005f493
Device Boot Start End Blocks Id System
/dev/sdc1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00027558
Device Boot Start End Blocks Id System
/dev/sdd1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sdd2 487 19457 152384557+ 5 Extended
/dev/sdd5 487 19457 152384526 83 Linux
Disk /dev/sde: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a2fca
Device Boot Start End Blocks Id System
/dev/sde1 1 30394 244139773+ fd Linux raid autodetect
Reboot 1:
sudo fdisk -l
Disk /dev/sda: 128 MB, 128974848 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e6d4e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 16 125905+ 83 Linux
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(15, 172, 63)
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005f493
Device Boot Start End Blocks Id System
/dev/sdb1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00027558
Device Boot Start End Blocks Id System
/dev/sdc1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sdc2 487 19457 152384557+ 5 Extended
/dev/sdc5 487 19457 152384526 83 Linux
Disk /dev/sdd: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a2fca
Device Boot Start End Blocks Id System
/dev/sdd1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sde: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000262be
Device Boot Start End Blocks Id System
/dev/sde1 1 30394 244139773+ fd Linux raid autodetect
Reboot 2:
sudo fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000262be
Device Boot Start End Blocks Id System
/dev/sda1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00027558
Device Boot Start End Blocks Id System
/dev/sdb1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sdb2 487 19457 152384557+ 5 Extended
/dev/sdb5 487 19457 152384526 83 Linux
Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a2fca
Device Boot Start End Blocks Id System
/dev/sdc1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdd: 128 MB, 128974848 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e6d4e
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 16 125905+ 83 Linux
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(15, 172, 63)
Disk /dev/sde: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005f493
Device Boot Start End Blocks Id System
/dev/sde1 1 30394 244139773+ fd Linux raid autodetect
What is going on here, it makes Raid unusable, since I can't build the raid, if it is going to get re-arranged on each reboot.
How can I fix this?
Is it a bug?
I was previously running Ubuntu server 6.06.
My System has 5 Drives, and 3 of them are in a raid 5.
1 is Swap and / , and a 128MB USB flash drive for /boot
I noticed the problem after I experienced slow performance, and after some investigations I found that my Raid was degraded.
The reason was that one of the harddrives had changed from beeing sdb to sdf, and sdb did not exist.
I figured it was a fluke, and rebooted, now sdb was back but a different drive was there, and my Raid was still degraded.
After some reboots, I noticed that the drives get swapped around on each reboot.
See below:
Short Version:
Before reboot:
sudo fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000262be
Disk /dev/sdb: 128 MB, 128974848 bytes
Disk identifier: 0x000e6d4e
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
Disk identifier: 0x0005f493
Disk /dev/sdd: 160.0 GB, 160041885696 bytes
Disk identifier: 0x00027558
Disk /dev/sde: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000a2fca
Reboot 1:
sudo fdisk -l
Disk /dev/sda: 128 MB, 128974848 bytes
Disk identifier: 0x000e6d4e
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
Disk identifier: 0x0005f493
Disk /dev/sdc: 160.0 GB, 160041885696 bytes
Disk identifier: 0x00027558
Disk /dev/sdd: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000a2fca
Disk /dev/sde: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000262be
Reboot 2:
sudo fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000262be
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
Disk identifier: 0x00027558
Disk /dev/sdc: 251.0 GB, 251000193024 bytes
Disk identifier: 0x000a2fca
Disk /dev/sdd: 128 MB, 128974848 bytes
Disk identifier: 0x000e6d4e
Disk /dev/sde: 250.0 GB, 250059350016 bytes
Disk identifier: 0x0005f493
Complete version:
Before reboot:
sudo fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000262be
Device Boot Start End Blocks Id System
/dev/sda1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdb: 128 MB, 128974848 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e6d4e
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 16 125905+ 83 Linux
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(15, 172, 63)
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005f493
Device Boot Start End Blocks Id System
/dev/sdc1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdd: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00027558
Device Boot Start End Blocks Id System
/dev/sdd1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sdd2 487 19457 152384557+ 5 Extended
/dev/sdd5 487 19457 152384526 83 Linux
Disk /dev/sde: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a2fca
Device Boot Start End Blocks Id System
/dev/sde1 1 30394 244139773+ fd Linux raid autodetect
Reboot 1:
sudo fdisk -l
Disk /dev/sda: 128 MB, 128974848 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e6d4e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 16 125905+ 83 Linux
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(15, 172, 63)
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005f493
Device Boot Start End Blocks Id System
/dev/sdb1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00027558
Device Boot Start End Blocks Id System
/dev/sdc1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sdc2 487 19457 152384557+ 5 Extended
/dev/sdc5 487 19457 152384526 83 Linux
Disk /dev/sdd: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a2fca
Device Boot Start End Blocks Id System
/dev/sdd1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sde: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000262be
Device Boot Start End Blocks Id System
/dev/sde1 1 30394 244139773+ fd Linux raid autodetect
Reboot 2:
sudo fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000262be
Device Boot Start End Blocks Id System
/dev/sda1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00027558
Device Boot Start End Blocks Id System
/dev/sdb1 1 486 3903763+ 82 Linux swap / Solaris
/dev/sdb2 487 19457 152384557+ 5 Extended
/dev/sdb5 487 19457 152384526 83 Linux
Disk /dev/sdc: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000a2fca
Device Boot Start End Blocks Id System
/dev/sdc1 1 30394 244139773+ fd Linux raid autodetect
Disk /dev/sdd: 128 MB, 128974848 bytes
255 heads, 63 sectors/track, 15 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e6d4e
Device Boot Start End Blocks Id System
/dev/sdd1 * 1 16 125905+ 83 Linux
Partition 1 has different physical/logical endings:
phys=(1023, 254, 63) logical=(15, 172, 63)
Disk /dev/sde: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005f493
Device Boot Start End Blocks Id System
/dev/sde1 1 30394 244139773+ fd Linux raid autodetect
What is going on here, it makes Raid unusable, since I can't build the raid, if it is going to get re-arranged on each reboot.
How can I fix this?
Is it a bug?