single HDD LVM convert to RAID1 without LVM Problems
Re: single HDD LVM convert to RAID1 without LVM Problems
Oh my mistake.
Because /boot as md-device doesn't worked at al, I set up 2 seperate /boot partitions w/o RAID to get it working.
I rsynced the content from one partition (/dev/sdb1) to the other (/dev/sda1), recraete the initramfs and reoinstaled grub in both mbr like discriped above.
Booting with both HDDs works, booting a single HDD end in a kernel panic (no matter, which one is plugged in).
The last lines before the Panic is a several repeaded line:
[code]mount: you must specify the file system type[/code]
which is most likely the error message, when linux doesn't finds the partition
Plugging in bothe HDDs makes the system boot w/o errors.
Because /boot as md-device doesn't worked at al, I set up 2 seperate /boot partitions w/o RAID to get it working.
I rsynced the content from one partition (/dev/sdb1) to the other (/dev/sda1), recraete the initramfs and reoinstaled grub in both mbr like discriped above.
Booting with both HDDs works, booting a single HDD end in a kernel panic (no matter, which one is plugged in).
The last lines before the Panic is a several repeaded line:
[code]mount: you must specify the file system type[/code]
which is most likely the error message, when linux doesn't finds the partition
Plugging in bothe HDDs makes the system boot w/o errors.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: single HDD LVM convert to RAID1 without LVM Problems
Please see [url=https://bugzilla.redhat.com/show_bug.cgi?id=772926]upstream BZ#772926[/url]. There are some suggested things to try.
Re: single HDD LVM convert to RAID1 without LVM Problems
according to "yum info dracut" still no fix to this!?
So I'm rather new to centos, I don't undersand some things.
And as I understand the packages are comming from RHEL, isn't that a problem for them too?
Isn't this somehow considered urgent, because any RAID1 is completly useless this way.
I remeber that setting up the RAID with one drive missing was working flawless, so did the assambled RAID, only a depracted RAID is unable to boot (even if setting up the bot sectors seperatly on each device.
Nevertheless I need some hints how to downgrade the dracut version as suggested in upstream BZ#772926.
Thanks
mclien
So I'm rather new to centos, I don't undersand some things.
And as I understand the packages are comming from RHEL, isn't that a problem for them too?
Isn't this somehow considered urgent, because any RAID1 is completly useless this way.
I remeber that setting up the RAID with one drive missing was working flawless, so did the assambled RAID, only a depracted RAID is unable to boot (even if setting up the bot sectors seperatly on each device.
Nevertheless I need some hints how to downgrade the dracut version as suggested in upstream BZ#772926.
Thanks
mclien
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: single HDD LVM convert to RAID1 without LVM Problems
Try[code]rpm -q --changelog dracut | less[/code]
The bug says "Fixed In Version: dracut-004-256.el6_2.1".
$ rpm -q dracut
dracut-004-256.el6_2.1.noarch
No change should be necessary based on that bug report. Perhaps I was misleading earlier.
The bug says "Fixed In Version: dracut-004-256.el6_2.1".
$ rpm -q dracut
dracut-004-256.el6_2.1.noarch
No change should be necessary based on that bug report. Perhaps I was misleading earlier.
Re: single HDD LVM convert to RAID1 without LVM Problems
Still it won't work for me.
RAID runs fine. Power on the machine with one HDD detached results in a kernel Panic, no diffrence which hdd is disconnected.
Just generated the intrd image freshly.
last 20 repeaded lines before the panic:
mount: you must specify the filesystem type
RAID runs fine. Power on the machine with one HDD detached results in a kernel Panic, no diffrence which hdd is disconnected.
Just generated the intrd image freshly.
last 20 repeaded lines before the panic:
mount: you must specify the filesystem type
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: single HDD LVM convert to RAID1 without LVM Problems
[quote]
mclien wrote:
...
Just generated the intrd image freshly.[/quote]
You mean regenerated [b]initramfs[/b]? Just re-checked the upstream bug, and despite saying the fix is out it has not been closed. Confusing. The CentOS bug [url=http://bugs.centos.org/view.php?id=5400]5400[/url] is marked resolved, and says the fix works.
Also, looking back over the thread the latest kernel mentioned was kernel-2.6.32-220.4.2.el6.i686 and there are now:
kernel-2.6.32-220.7.1.el6.i686
kernel-2.6.32-220.13.1.el6.i686
Please "yum update" and try again if still running the older kernel.
mclien wrote:
...
Just generated the intrd image freshly.[/quote]
You mean regenerated [b]initramfs[/b]? Just re-checked the upstream bug, and despite saying the fix is out it has not been closed. Confusing. The CentOS bug [url=http://bugs.centos.org/view.php?id=5400]5400[/url] is marked resolved, and says the fix works.
Also, looking back over the thread the latest kernel mentioned was kernel-2.6.32-220.4.2.el6.i686 and there are now:
kernel-2.6.32-220.7.1.el6.i686
kernel-2.6.32-220.13.1.el6.i686
Please "yum update" and try again if still running the older kernel.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
single HDD LVM convert to RAID1 without LVM Problems
I would do a yum update dracut first.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: single HDD LVM convert to RAID1 without LVM Problems
So would I, but forgot to say so. :-) Thanks for the teamwork.
Re: single HDD LVM convert to RAID1 without LVM Problems
[code]# yum update dracut
...
No Packages marked for Update[/code]
as before.
I'm already running the ..7.1 kernel
..and yes I ment I regenerated initramfs.. (sorry for being unclear/uncorrect)
Will update and report back
...
No Packages marked for Update[/code]
as before.
I'm already running the ..7.1 kernel
..and yes I ment I regenerated initramfs.. (sorry for being unclear/uncorrect)
Will update and report back
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: single HDD LVM convert to RAID1 without LVM Problems
The current kernel is 2.6.32-220.13.1.el6.