I've been reading up on recommended partitioning scheme and looking at Centos 5 beta's default scheme, it struck me that with LVM, it doesn't matter any more as long as we leave aside enough room for /boot, does it? Or am I still missing something here? Thanks!
Cen Tos wrote:
I've been reading up on recommended partitioning scheme and looking at Centos 5 beta's default scheme, it struck me that with LVM, it doesn't matter any more as long as we leave aside enough room for /boot, does it? Or am I still missing something here? Thanks!
Not sure if booting from LVM is supported, so I usually leave /boot as a raw disk partition. Some other caveats I've run into are trying to unmount /usr (lvm) so I can fsck it in single mode only to find out LVM has stuff open there. I usually keep a Knoppix boot disk handy for those instances.
On 4/2/07, tblader tblader@flambeau.com wrote:
Not sure if booting from LVM is supported, so I usually leave /boot as a raw disk partition. Some other caveats I've run into are trying to unmount /usr (lvm) so I can fsck it in single mode only to find out LVM has stuff open there. I usually keep a Knoppix boot disk handy for those instances.
/boot isn't allowed to be on a LVM, RAID 1 at most.
I'll keep in mind the problem of unmounting and fsck if I ever run into it. Although, what do you do after booting from Knoppix?
Noob Centos Admin wrote: <snip>
/boot isn't allowed to be on a LVM, RAID 1 at most.
I think manual partitioning from fdisk will allow it anyway ;)
I'll keep in mind the problem of unmounting and fsck if I ever run into it. Although, what do you do after booting from Knoppix?
It's changed a bit from Knoppix 4, 5, and 5.1. Basically I boot into runlevel 3 and get lvm started either through lvmchage -a (I think) or running the init script. This will activate any lvm partitions that Knoppix can find, but doesn't mount them.
then I can use e2fsck (or equivalent) to fixup or resize any lvm partitions.
On 4/4/07, tblader tblader@flambeau.com wrote:
It's changed a bit from Knoppix 4, 5, and 5.1. Basically I boot into runlevel 3 and get lvm started either through lvmchage -a (I think) or running the init script. This will activate any lvm partitions that Knoppix can find, but doesn't mount them.
then I can use e2fsck (or equivalent) to fixup or resize any lvm partitions.
Thanks for the info! :)
On Tue, 3 Apr 2007, tblader wrote:
Date: Tue, 03 Apr 2007 11:28:47 -0500 From: tblader tblader@flambeau.com Reply-To: CentOS mailing list centos@centos.org To: CentOS mailing list centos@centos.org Subject: Re: [CentOS] Partitioning with LVM
Noob Centos Admin wrote:
<snip>
/boot isn't allowed to be on a LVM, RAID 1 at most.
I think manual partitioning from fdisk will allow it anyway ;)
I'll keep in mind the problem of unmounting and fsck if I ever run into it. Although, what do you do after booting from Knoppix?
It's changed a bit from Knoppix 4, 5, and 5.1. Basically I boot into runlevel 3 and get lvm started either through lvmchage -a (I think) or running the init script. This will activate any lvm partitions that Knoppix can find, but doesn't mount them.
As far as I know, lvm support has been added in Knoppix 5.1.
Be aware, that if you edit a file with Knoppix, it might not have SELinux labels appropriately set, so fixfiles or equivalent might be needed in CentOS to have the system run correctly (I run into this problem after editing /etc/fstab and /etc/sysconfig/network-scripts/ifcfg-eth0 on a cloned FC6 with Knoppix; got some avc messages and before running fixfiles swap had not been automatically enabled, network interface did not work.)
then I can use e2fsck (or equivalent) to fixup or resize any lvm partitions.
Wojtek.Pilorz spake the following on 4/3/2007 11:38 PM:
On Tue, 3 Apr 2007, tblader wrote:
Date: Tue, 03 Apr 2007 11:28:47 -0500 From: tblader tblader@flambeau.com Reply-To: CentOS mailing list centos@centos.org To: CentOS mailing list centos@centos.org Subject: Re: [CentOS] Partitioning with LVM
Noob Centos Admin wrote:
<snip>
/boot isn't allowed to be on a LVM, RAID 1 at most.
I think manual partitioning from fdisk will allow it anyway ;)
I'll keep in mind the problem of unmounting and fsck if I ever run into it. Although, what do you do after booting from Knoppix?
It's changed a bit from Knoppix 4, 5, and 5.1. Basically I boot into runlevel 3 and get lvm started either through lvmchage -a (I think) or running the init script. This will activate any lvm partitions that Knoppix can find, but doesn't mount them.
As far as I know, lvm support has been added in Knoppix 5.1.
Be aware, that if you edit a file with Knoppix, it might not have SELinux labels appropriately set, so fixfiles or equivalent might be needed in CentOS to have the system run correctly (I run into this problem after editing /etc/fstab and /etc/sysconfig/network-scripts/ifcfg-eth0 on a cloned FC6 with Knoppix; got some avc messages and before running fixfiles swap had not been automatically enabled, network interface did not work.)
then I can use e2fsck (or equivalent) to fixup or resize any lvm partitions.
Then could you use the CentOS live CD? Shouldn't it be closer to the running environment?
Yup, that's what I do.
On Mon, April 2, 2007 10:37 am, Cen Tos wrote:
I've been reading up on recommended partitioning scheme and looking at Centos 5 beta's default scheme, it struck me that with LVM, it doesn't matter any more as long as we leave aside enough room for /boot, does it? Or am I still missing something here? Thanks! _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos