Hello list,
I'm trying to install CentOS 5.2 on LVM on a SW-RAID level 1, but I'm unable to understand how to use the installer correctly.
What I'm trying to do is emulate something I've already done with another distro where:
sda5 \ RAID1 --> /boot sdb5 /
sda6 \ RAID1 --> LVM --> /root, /home, /usr, /var... etc. sdb6 /
I've succesfully created the raid, and the PV for LVM, but I can't figure out how to create a VG inside the PV.
Is it possible using the installer, or should I better install it using one disk, and once installed create the raid/pv/vg, and move everything around by hand?
Many thanks in advance, Norberto
I went through this EXACT thing last month, and with help of the list, I got it done. I can send you my step by step tomorrow.
D
On 27-Mar-09, at 7:07 PM, Norberto Bensa nbensa@gmail.com wrote:
Hello list,
I'm trying to install CentOS 5.2 on LVM on a SW-RAID level 1, but I'm unable to understand how to use the installer correctly.
What I'm trying to do is emulate something I've already done with another distro where:
sda5 \ RAID1 --> /boot sdb5 /
sda6 \ RAID1 --> LVM --> /root, /home, /usr, /var... etc. sdb6 /
I've succesfully created the raid, and the PV for LVM, but I can't figure out how to create a VG inside the PV.
Is it possible using the installer, or should I better install it using one disk, and once installed create the raid/pv/vg, and move everything around by hand?
Many thanks in advance, Norberto _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Fri, Mar 27, 2009 at 11:25 PM, Dnk d.k.emaillists@gmail.com wrote:
I went through this EXACT thing last month, and with help of the list, I got it done. I can send you my step by step tomorrow.
The thread about 4 x 500GB ?
I read it quickly, but if I got it right, they're suggesting to put root fs outside of the lvm pv...
Thanks, Norberto
On 27-Mar-09, at 7:48 PM, Norberto Bensa nbensa@gmail.com wrote:
On Fri, Mar 27, 2009 at 11:25 PM, Dnk d.k.emaillists@gmail.com wrote:
I went through this EXACT thing last month, and with help of the list, I got it done. I can send you my step by step tomorrow.
The thread about 4 x 500GB ?
I read it quickly, but if I got it right, they're suggesting to put root fs outside of the lvm pv...
Thanks, Norberto _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
It was that thread, but it grew into quite the discussion. I wrote my stuff down step by step for myself to remember later. What kind of raid are to setting up? In my case I had 2x raid 1 then lvm. But the basics should still apply. I am on my phone hence I can't send you the write up until tomorrow.
D
On Fri, Mar 27, 2009 at 11:54 PM, Dnk d.k.emaillists@gmail.com wrote:
On 27-Mar-09, at 7:48 PM, Norberto Bensa nbensa@gmail.com wrote:
The thread about 4 x 500GB ?
What kind of raid are to setting up?
I'm testing it inside virtualbox. Two drives for a raid1 setup. Nothing serious at this time, it's just a test I'm doing for a future deployment of CentOS as a Xen server.
I'm trying to make a raid1 between two partitions of two drives for /boot, and a second raid1 of two partitions of the same two drives for lvm. Like this:
sda5 + sdb5 => raid1 => md0 => /boot sda6 + sdb6 => raid1 => md1 => PV => VolGroup001 => /, /var, /home, /usr....
I'll wait until tomorrow for your step-by-step instructions. Thanks!
Best regards, Norberto
On Sat, Mar 28, 2009 at 12:10 AM, Norberto Bensa nbensa@gmail.com wrote:
I'll wait until tomorrow for your step-by-step instructions. Thanks!
Never mind. I've done it using the graphical installer (I was using the text mode installer)
CentOS is installing right now.
Thanks!!
At Fri, 27 Mar 2009 23:48:04 -0300 CentOS mailing list centos@centos.org wrote:
On Fri, Mar 27, 2009 at 11:25 PM, Dnk d.k.emaillists@gmail.com wrote:
I went through this EXACT thing last month, and with help of the list, I got it done. I can send you my step by step tomorrow.
The thread about 4 x 500GB ?
I read it quickly, but if I got it right, they're suggesting to put root fs outside of the lvm pv...
Yes, the root file system has to be outside of the LVM -- the initrd does not start LVM, so LVM volumes are not available for mounting at that point.
Thanks, Norberto _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I read it quickly, but if I got it right, they're suggesting to put root fs outside of the lvm pv...
Yes, the root file system has to be outside of the LVM -- the initrd does not start LVM, so LVM volumes are not available for mounting at that point.
Nope. That's false. I've installed with root _inside_ LVM.
The installer is a little weird and limited (only ext2 and ext3), but the graphical installer does the work.
Regards, Norberto
At Sat, 28 Mar 2009 11:16:24 -0300 CentOS mailing list centos@centos.org wrote:
I read it quickly, but if I got it right, they're suggesting to put root fs outside of the lvm pv...
Yes, the root file system has to be outside of the LVM -- the initrd does not start LVM, so LVM volumes are not available for mounting at that point.
Nope. That's false. I've installed with root _inside_ LVM.
The installer is a little weird and limited (only ext2 and ext3), but the graphical installer does the work.
Seems weird that the graphical installer does it and the text installer doesn't. I've never really liked the GUI installer, esp. since I've on several occasions installed on machines without mice and/or pretty marginal video cards and on machines I have no intension of ever running X11 on.
Regards, Norberto _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Sat, Mar 28, 2009 at 9:58 PM, Robert Heller heller@deepsoft.com wrote:
At Fri, 27 Mar 2009 23:48:04 -0300 CentOS mailing list centos@centos.org wrote: Yes, the root file system has to be outside of the LVM -- the initrd does not start LVM, so LVM volumes are not available for mounting at that point.
As Norberto pointed out, root file system can be inside the LVM. It's /boot that has to be outside. That said, my own unpleasant and unfortunate experience suggests that everything essential to boot/recover the system should be outside lvm since rescue mode is unable to mount lvm without manual intervention after booting.