Howdy,
The default partitioning scheme appears to be:
swap /boot / small amount of space /home remainder of space.
Is there any way via kickstart to have it just create swap with the recommended size, /boot, and then just / with the remainder without manually specifying the names of the lvs/vgs etc?
I figured there would be an autopart -atomic option but that doesn't seem to exist.
Any advice?
Thanks, -Drew
Drew Weaver wrote:
Howdy,
The default partitioning scheme appears to be:
swap /boot / small amount of space /home remainder of space.
Is there any way via kickstart to have it just create swap with the recommended size, /boot, and then just / with the remainder without manually specifying the names of the lvs/vgs etc?
I figured there would be an autopart -atomic option but that doesn't seem to exist.
Where'd you get the kickstart?
You can certainly set it up any way you want, though a large /home seems reasonable if you've only got one drive, unless you want /boot, swap, and /.
Btw, the old received wisdom was that swap should be 2-2.5 times RAM; for some years now, though, it's been just 2G, and leave it at that.
mark
Drew Weaver wrote:
Howdy,
The default partitioning scheme appears to be:
swap /boot / small amount of space /home remainder of space.
Is there any way via kickstart to have it just create swap with the recommended size, /boot, and then just / with the remainder without manually specifying the names of the lvs/vgs etc?
I figured there would be an autopart -atomic option but that doesn't seem to exist.
---
Where'd you get the kickstart? You can certainly set it up any way you want, though a large /home seems reasonable if you've only got one drive, unless you want /boot, swap, and /. Btw, the old received wisdom was that swap should be 2-2.5 times RAM; for some years now, though, it's been just 2G, and leave it at that.
I just used the 'autopart' command in the kickstart and it automatically put most of the storage in /home.
I believe in CentOS 5 the autopart command just did swap /boot and /
I realize I can manually partition all 60 of these servers but I'm trying to avoid that also like I said I would prefer not to set the lv/vg names in the kickstart..
Would've been cool if you could just do autopart -atomic like you can with Ubuntu.
Thanks, -Drew
Drew Weaver wrote:
Howdy,
The default partitioning scheme appears to be:
swap /boot / small amount of space /home remainder of space.
Is there any way via kickstart to have it just create swap with the recommended size, /boot, and then just / with the remainder without manually specifying the names of the lvs/vgs etc?
I figured there would be an autopart -atomic option but that doesn't seem to exist.
Where'd you get the kickstart? You can certainly set it up any way you want, though a large /home seems reasonable if you've only got one drive, unless you want /boot, swap, and /. Btw, the old received wisdom was that swap should be 2-2.5 times RAM; for some years now, though, it's been just 2G, and leave it at that.
I just used the 'autopart' command in the kickstart and it automatically put most of the storage in /home.
I believe in CentOS 5 the autopart command just did swap /boot and /
I realize I can manually partition all 60 of these servers but I'm trying to avoid that also like I said I would prefer not to set the lv/vg names in the kickstart..
Would've been cool if you could just do autopart -atomic like you can with Ubuntu.
Thanks, -Drew
So you don't want to use the part command? There you don't have to tell which partition - this is optional.
Hartmut
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 04/02/2013 10:19 PM, Drew Weaver wrote:
Howdy,
The default partitioning scheme appears to be:
swap /boot / small amount of space /home remainder of space.
Is there any way via kickstart to have it just create swap with the recommended size, /boot, and then just / with the remainder without manually specifying the names of the lvs/vgs etc?
I figured there would be an autopart -atomic option but that doesn't seem to exist.
Any advice?
Thanks, -Drew
Hi Drew,
Here is what I use, without lvm. I allocate a LV for each VM. This way I get the recommended swap size for the amount of memory I have and '/' will grow on all remaining disk space. If you have other disks that you want to use later go with "ignoredisk --only-use=sda".
# Disk partitioning information part /boot --asprimary --fstype="ext4" --size=300 part swap --recommended part / --asprimary --fstype="ext4" --grow --size=1
//bazy