preseed file with left over space in a volume group
vadud3 at gmail.com
vadud3 at gmail.com
Tue Jun 25 20:19:41 UTC 2019
Hi All,
I like to not use up all the left over volume to the last LV and one way I
can achieve that is using a partition /extra as the last LV and the remove
it later after the OS built like below
d-i partman-auto/expert_recipe string \
boot-root :: \
1000 10 1000 ext3 \
$primary{ } $bootable{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext3 } \
mountpoint{ /boot } \
. \
32000 10 32000 linux-swap \
\$lvmok{ } \
method{ swap } format{ } \
. \
10000 10 10000 ext4 \
\$lvmok{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /opt } \
. \
30000 10 30000 ext4 \
\$lvmok{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /var } \
. \
130000 10 130000 ext4 \
\$lvmok{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ / } \
. \
130000 10 130000 ext4 \
\$lvmok{ } \
method{ format } format{ } \
use_filesystem{ } filesystem{ ext4 } \
mountpoint{ /extra } \
.
After boot I remove lv /dev/system/extra to recover the extra space.
Is there a better way to do this?
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20190625/cee7e3d5/attachment.html>
More information about the ubuntu-users
mailing list