Re: Kickstart Installation using Existing LVM Logical Volume

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I guess in my previous posting people have difficulties find the 
fact, so here I try again.

I am working on a Fedora 8 kickstart installation on multiple 
(actually just 2) drive. It should use existing LVM logical 
volume on one drive as home partition, while it should clear and 
repartition the other drive.

However, it keep failing with an error like this:

> Could not allocate requested partitions:
> 
> Adding this partition would not leave enough disk space
> for already allocated logical volumes in 2008AF_data..
> 
> Press 'OK' to exit the installer.

	* 2008AF_data is the name of volume group

The kickstart code dealing with partition is quoted below:

clearpart --all --drives=sda
part /boot --fstype ext3 --size=128
part pv.1 --size=1536 --grow --ondisk=sda
volgroup 2008A6_work pv.1
logvol swap --fstype swap --name=2008A6_swap --vgname=2008A6_work --size=512
logvol /var --fstype ext3 --name=2008A6_var --vgname=2008A6_work --size=512
logvol / --fstype ext3 --name=2008A6_root --vgname=2008A6_work --size=3904 --grow
part pv.2 --noformat --onpart sdb1
volgroup 2008AF_data pv.2 --noformat --useexisting
logvol /home --noformat --useexisting --name=2008AF_home --vgname=2008AF_data --fstype ext3 --size-1024 --grow

	* 2008AF_home is the name of logical volume to be reused

I already tried without --useexisting, without size and --grow, 
without --fstype, etc. same error.

BTW, using kickstart GUI does not help, since apparently the GUI 
does not support LVM volumes.

Any idea what's wrong?

Thanks!

-- 
                             (stephan paul) Arif Sahari Wibowo
   _____  _____  _____  _____
  /____  /____/ /____/ /____
 _____/ /      /    / _____/      http://www.arifsaha.com/

Xinnian Kuaile! 新年快樂 Gongxi Facai 恭喜發財

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux