Thank you for your fast reply. Anyway, I really would like to use mirroring. Does anyone have suggestion in this topic? I don´t insist on LVM. I keep on searching different sites as well and I have found this idea, see below. Does it make sense? Please don´t forget I want to do it for root, boot, and swap too. What´s wrong with that? I think this is a very important feature that should be supported somehow without purchasing hardware. Regards, Ferenc Csuk
- create a md0 RAID1 device with your 2 disks (mirror, no use of LVM) - set the parttion ID to RAID autodetect (0xfd) - edit /etc/raidtab (see RAID Howto) - mkraid /dev/md0 - install LVM utilities (0.9.1beta3) - pvcreate /dev/md0 - vgcreate -n BGNAME /dev/md0 - lvcreate <some logical volume>
I just joined this mailing list, because I couldn´t find the solution for my problem.
I want to use LVM for the entire content of my SCSI disks in order to be able to do mirroring for the root, boot and swap partiotions too. (Simply I want to make sure that in case of hardisk failure I can replace with a good one, and reboot).
I installed Suse Linux 6.4 using 3 partition and then I followed the the instruction written in Chapter 19(converting root filesystem to LVM) of
-----Original Message----- From: Martin Webster [mailto:mwebster@ntlworld.com] Sent: Mittwoch, 14. November 2001 21:27 To: suse-linux-e@suse.com Subject: Re: [SLE] LVM for the root, boot, swap On Wednesday 14 November 2001 5:56 pm, Csuk, Ferenc wrote: the
manual that I found on the internet.
http://www.sistina.com/lvm_howtos/lvm_howto.pdf
I managed to complete until point 11 however, when I rebooted the system I got this error message:
VFS: Cannot open root device 3a:01 Unable to mount root fs on 3a:01
I don´t know where I made the mistake?
My questions:
1., Has anyone followed this instruction and finished succesfully? 2., Maybe I am on the wrong way, so could you recommend another solution for the above mentioned issue?
Mirroring? LVM will only supports RAID-0 (striping).
I can't help you from experience since my / (root), /boot and swap
partitions
aren't part of the LVM - seems the safest option to me anyway. If I screw
something up I can always boot linux init=/bin/sh rw and then do a
/sbin/vgchange -a y.
M
--
Martin Webster
On Wednesday 14 November 2001 8:52 pm, Csuk, Ferenc wrote:
Thank you for your fast reply.
Anyway, I really would like to use mirroring. Does anyone have suggestion in this topic? I don´t insist on LVM. I keep on searching different sites as well and I have found this idea, see below. Does it make sense? Please don´t forget I want to do it for root, boot, and swap too. What´s wrong with that? I think this is a very important feature that should be supported somehow without purchasing hardware.
Check out software-RAID-1. The LDP is a good starting point:
http://www.linuxdoc.org/HOWTO/Software-RAID-HOWTO-4.html#ss4.4. I pretty
certain that you can't mix LVM and software RAID; you will have to check this
out.
M
--
Martin Webster
participants (3)
-
Csuk, Ferenc
-
Jerry Kreps
-
Martin Webster