single HDD LVM convert to RAID1 without LVM Problems

Issues related to applications and software problems
mclien
Posts: 43
Joined: 2012/01/23 15:15:41

Re: single HDD LVM convert to RAID1 without LVM Problems

Post by mclien » 2012/03/21 15:08:53

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.

pschaff
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

Post by pschaff » 2012/03/21 15:31:31

Please see [url=https://bugzilla.redhat.com/show_bug.cgi?id=772926]upstream BZ#772926[/url]. There are some suggested things to try.

mclien
Posts: 43
Joined: 2012/01/23 15:15:41

Re: single HDD LVM convert to RAID1 without LVM Problems

Post by mclien » 2012/04/20 06:22:17

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

pschaff
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

Post by pschaff » 2012/04/20 12:10:56

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.

mclien
Posts: 43
Joined: 2012/01/23 15:15:41

Re: single HDD LVM convert to RAID1 without LVM Problems

Post by mclien » 2012/04/20 13:25:35

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

pschaff
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

Post by pschaff » 2012/04/20 14:04:06

[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.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

single HDD LVM convert to RAID1 without LVM Problems

Post by gerald_clark » 2012/04/20 15:09:08

I would do a yum update dracut first.

pschaff
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

Post by pschaff » 2012/04/20 15:10:33

So would I, but forgot to say so. :-) Thanks for the teamwork.

mclien
Posts: 43
Joined: 2012/01/23 15:15:41

Re: single HDD LVM convert to RAID1 without LVM Problems

Post by mclien » 2012/04/25 12:40:12

[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

pschaff
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

Post by pschaff » 2012/04/25 16:51:17

The current kernel is 2.6.32-220.13.1.el6.

Post Reply