Jochen Schaefer wrote:
Hi,
is it possible to setup lvm on top of raid via autoyast? Can someone provide an example please?
<partitioning config:type="list"> <drive> <device>/dev/hda</device> <partitions config:type="list"> <partition> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <raid_name>/dev/md0</raid_name> <size>106896384</size> </partition> <partition> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">2</partition_nr> <partition_type>primary</partition_type> <raid_name>/dev/md1</raid_name> <size>123412101120</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/hdc</device> <partitions config:type="list"> <partition> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <raid_name>/dev/md0</raid_name> <size>106896384</size> </partition> <partition> <partition_id config:type="integer">253</partition_id> <partition_nr config:type="integer">2</partition_nr> <partition_type>primary</partition_type> <raid_name>/dev/md1</raid_name> <size>123412101120</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/md</device> <partitions config:type="list"> <partition> <filesystem config:type="symbol">ext2</filesystem> <format config:type="boolean">true</format> <mount>/boot</mount> <partition_nr config:type="integer">0</partition_nr> <raid_options> <persistent_superblock config:type="boolean">false</persistent_superblock> <raid_type>raid1</raid_type> </raid_options> </partition> <partition> <lvm_group>sys</lvm_group> <partition_nr config:type="integer">1</partition_nr> <raid_options> <persistent_superblock config:type="boolean">false</persistent_superblock> <raid_type>raid1</raid_type> </raid_options> </partition> </partitions> <use>all</use> </drive> <drive> <drive> <device>/dev/sys</device> <is_lvm_vg config:type="boolean">true</is_lvm_vg> <lvm2 config:type="boolean">true</lvm2> <partitions config:type="list"> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>home</lv_name> <mount>/home</mount> <size>1073741824</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>local</lv_name> <mount>/usr/local</mount> <size>2147483648</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>opt</lv_name> <mount>/opt</mount> <size>6442450944</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>root</lv_name> <mount>/</mount> <size>1073741824</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>srv</lv_name> <mount>/srv</mount> <size>3221225472</size> </partition> <partition> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <lv_name>swap</lv_name> <mount>swap</mount> <size>1073741824</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>tmp</lv_name> <mount>/tmp</mount> <size>1073741824</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>usr</lv_name> <mount>/usr</mount> <size>10737418240</size> </partition> <partition> <filesystem config:type="symbol">reiser</filesystem> <format config:type="boolean">true</format> <lv_name>var</lv_name> <mount>/var</mount> <size>4294967296</size> </partition> </partitions> <pesize>4M</pesize> <use>all</use> </drive> </partitioning> The above is taken from a working configuration. Good luck /Lars