Re: RHEL5.1 and lvm

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

 



Am Do, 22.11.2007, 17:25, schrieb Jan Wildeboer:
> On Thu, 2007-11-22 at 17:30 +0100, Rainer Duffner wrote:
>> but my co-worker tells me that the syntax he used with RHEL4 has
>> stopped working with RHEL5.
>
> This is directly from one one of my (working) RHEL5 kickstarts:
>
> partition /boot --fstype=ext3 --size=200
> partition pv.01 --size=1000 --grow
> partition swap --size=1000   --maxsize=2000
>
> volgroup myvg pv.01
>
> logvol / --vgname=myvg --name=rootvol --size=1000 --grow

I don't know what I'm doing wrong.

partition /boot --fstype=ext3 --size=200
partition swap --fstype=swap --size=4096

partition pv.01  --size=2048 --grow
volgroup vgMain pv.01 --pesize=32768
logvol / --vgname=vgMain --size=7000 --name=root
logvol /var --vgname=vgMain --size=2048 --name=var
logvol /var/log --vgname=vgMain --size=4096 --name=varlog
logvol /data --vgname=vgMain --size=4096 --name=data --grow

Disk is a virtual 36 GB disk, newly created.

Rest of the ks-file is unchanged, but I deleted the %pre-section.

Same error again.
/dev/mapper is empty, apart from the "control" file.
If I vgscan && vgchange -ay, the devices show up.
Can you take my ks-file and try it at your site?
I'm using vmware, because it boots faster ;-)


cheers,
Rainer

_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux