Given : SLES 11 SP1
Task:
Create a LVM partition on /dev/sdb. In case the partition already exist just mount/import the LV.
Problem:
I am able to create the LVM partition but i do not know how "import" a already existing partition nor how to prevent autoyast to overwrite the existing one.
Ny current thoughts are using a pre-script or rule to check if there is a already configured /dev/sdb with lvm .
In case none exist the following config will be applied , in case a LVM partiton already exist a post script will import these partition from /dev/sdb
Still i would like to let autoyast do this but i do not know how ?
Any tips or already working config ?
Tia
Hajo
The current config looks like:
<partitioning config:type="list">
....
<drive>
<device>/dev/sdb</device>
<initialize config:type="boolean">false</initialize>
<partitions config:type="list">
<partition>
<create config:type="boolean">true</create>
<format config:type="boolean">false</format>