I found a kickstart installation with
part pv.100000 --size=1 --grow volgroup vol0 pv.100000
creates a partition with a size of 8TB even though more than 9TB is available. I need to go in manually with gdisk to destroy the partition and recreate it with all available space.
No filesystem is specified be cause want to use xfs, which kickstart does not support out of the box. This is under 5.2, but the 5.3/5.4 relnotes do not indicate that this problem has been fixed. Or has it?
--------------------------------------------------------------- This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message. ---------------------------------------------------------------
lhecking@users.sourceforge.net wrote:
No filesystem is specified be cause want to use xfs, which kickstart does not support out of the box. This is under 5.2, but the 5.3/5.4 relnotes do not indicate that this problem has been fixed. Or has it?
partition manually using %pre or %post ?
nate
hopefully this helps I have quite a few systems in the same boat. really large volume formated as xfs for storing backup data. Here is a simplified snippet from my kickstart files.
part pv.2 --noformat --ondisk=sdb --size=1 --grow volgroup lg_largevol --pesize=32768 pv.2
%packages
kmod-xfs xfsprogs xfsdump
%post
mkdir /mnt/largevol lvcreate -l 100%FREE -n lv_largevol lg_largevol /sbin/mkfs.xfs /dev/lg_largevol/lv_largevol echo "/dev/lg_largevol/lv_largevol /mnt/largevol xfs defaults,allocsize=256m 1 2" >> /etc/fstab
On Thu, Mar 25, 2010 at 8:02 AM, nate centos@linuxpowered.net wrote:
lhecking@users.sourceforge.net wrote:
No filesystem is specified be cause want to use xfs, which kickstart does not support out of the box. This is under 5.2, but the 5.3/5.4 relnotes do not indicate that this problem has been fixed. Or has it?
partition manually using %pre or %post ?
nate
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Jeff Hefner writes:
hopefully this helps I have quite a few systems in the same boat. really large volume formated as xfs for storing backup data. Here is a simplified snippet from my kickstart files.
part pv.2 --noformat --ondisk=sdb --size=1 --grow volgroup lg_largevol --pesize=32768 pv.2
Jeff, this did not work for me. This is the resulting anaconda kickstart config as saved during installation:
#part /boot --fstype ext3 --size=102 #part / --fstype ext3 --size=20480 #part swap --size=10240 #part pv.100000 --noformat --size=1 --grow --ondisk=sdb #volgroup vol0 --pesize=32768 pv.100000
I'm also using lvcreate -l 100%FREE in %post, but the result is still 8TB only ("Total free space is ... 1.1TiB").
# gdisk -l /dev/sdb GPT fdisk (gdisk) version 0.6.6
Partition table scan: MBR: protective BSD: not present APM: not present GPT: present
Found valid GPT with protective MBR; using GPT. Disk /dev/sdb: 19528908800 sectors, 9.1 TiB Logical sector size: 512 bytes Disk identifier (GUID): E04DF17F-35AC-42E9-B02B-3513C4EB5772 Partition table holds up to 128 entries First usable sector is 34, last usable sector is 19528908766 Partitions will be aligned on 8-sector boundaries Total free space is 2286131368 sectors (1.1 TiB)
Number Start (sector) End (sector) Size Code Name 1 34 41943073 20.0 GiB 0700 2 41943074 62914593 10.0 GiB 8200 3 62914594 17242777398 8.0 TiB 8E00
--------------------------------------------------------------- This message and any attachments may contain Cypress (or its subsidiaries) confidential information. If it has been received in error, please advise the sender and immediately delete this message. ---------------------------------------------------------------