Specifying sizes in setup-storage

Thomas Lange lange at informatik.uni-koeln.de
Tue Sep 1 19:39:23 CEST 2009


>>>>> On Tue, 01 Sep 2009 19:22:20 +0200, Michael Goetze <mgoetze at mgoetze.net> said:

    > Hi,
    > I'd like to create a swap partition which is 20% of the size of the
    > disk, but at most 4GB. I tried the following setup-storage configuration:
Which is the total size of your disk?

    > disk_config disk1 disklabel:msdos bootable:1

    > primary    /boot         192-256    ext3   rw
    > primary    -             4G-        -      -

    > disk_config lvm
    > vg vg0 disk1.2
    > vg0-swap  swap          20%-4G      swap   rw
    > vg0-root  /             80%-        ext3   rw,errors=remount-ro

IMO you defined to create a swap partition, which is at least 20% of
your disk, but should not be bigger than 4GB. This may be
self-contradictory for your disk size.
-- 
regards Thomas


More information about the linux-fai mailing list