
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> <lvm_group>datavg</lvm_group> <mountby config:type="symbol">device</mountby> <size>max</size> </partition> </partitions> <use>all</use> </drive> <drive> <device>/dev/datavg</device> <initialize config:type="boolean">false</initialize> <partitions config:type="list"> <partition> <filesystem config:type="symbol">ext3</filesystem> <lv_name>datalv</lv_name> <mount>/data</mount> <partition_id config:type="integer">142</partition_id> <partition_nr config:type="integer">1</partition_nr> <size>max</size> </partition> </partitions> <pesize>32M</pesize> <use>all</use> <type config:type="symbol">CT_LVM</type> </drive> </partitioning> -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org