Hello there,
I'm trying to set up a disk as follows:
/dev/hda1: / 2GB
/dev/hda2: swap auto size
/dev/hda3: lvm "system" max (rest of disk)
/dev/sys/var_lv: /var 200MB
/dev/sys/home_lv: /home max (rest of LVM space)
I would think this would be a pretty common arrangement (e.g. to have
LVM fill a disk, and then a volume within that fill the LVM space),
but for some reason the "/home" partition always ends up being of
"unknown" size.
Is there any way to get this to work, or am I hosed?
Thanks!
Here's the relevant section of my control file:
<partitioning config:type="list">
<drive>
<device>/dev/hda</device>
<use>all</use>
<initialize config:type="boolean">true</initialize>
<partitions config:type="list">
<partition>
<mount>/</mount>
<size>2GB</size>
<filesystem config:type="symbol">reiser</filesystem>
<format config:type="boolean">true</format>
max does not work with LVM. I will try to get it working for next release. Anas David Corlette wrote:
Hello there,
I'm trying to set up a disk as follows:
/dev/hda1: / 2GB /dev/hda2: swap auto size /dev/hda3: lvm "system" max (rest of disk) /dev/sys/var_lv: /var 200MB /dev/sys/home_lv: /home max (rest of LVM space)
I would think this would be a pretty common arrangement (e.g. to have LVM fill a disk, and then a volume within that fill the LVM space), but for some reason the "/home" partition always ends up being of "unknown" size.
Is there any way to get this to work, or am I hosed?
Thanks!
Here's the relevant section of my control file: <partitioning config:type="list"> <drive> <device>/dev/hda</device> <use>all</use> <initialize config:type="boolean">true</initialize> <partitions config:type="list"> <partition> <mount>/</mount> <size>2GB</size> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format>
131 primary </partition> <partition> <mount>swap</mount> <size>auto</size> <format config:type="boolean">false</format>130 primary </partition> <partition>system <size>max</size>primary </partition> </partitions> </drive> <drive> <use>all</use> <device>/dev/system</device>true <partitions config:type="list"> <partition> <filesystem config:type="symbol">reiser</filesystem>var_lv <mount>/var</mount> <size>200mb</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem>home_lv <mount>/home</mount> <size>max</size> </partition> </partitions> <pesize>4M</pesize> </drive> </partitioning>Dave C
--------------------------------------------------------- David Corlette mailto:corlette@huarp.harvard.edu (617)495-5922 http://www.arp.harvard.edu
participants (2)
-
Anas Nashif
-
David Corlette