Hello again,
a few days ago i posted a mail to this list. Topic was "Automated Upgrade from
SUSE Linux Enterprise Server 10 SP3 to 11 SP1". After cleaning up my PARMFILE
the ipl of the installer system was fine. But now i am facing the next problem
and i found no matching hint in the mailinglist nor the Novell docs.
We are using LVM layouts for our Linux images. For example like this:
/dev/mapper/rootvg1-rootlv /
/dev/mapper/rootvg1-homelv /home
/dev/mapper/rootvg1-tmplv /tmp
/dev/mapper/rootvg1-varlv /var
/dev/dasda1 /boot
What is the correct way to tell the automated upgrade how to mount the
pratitions/volumes of the existing system to perform the update? The installer
system finds the DASD, but receives "Error while configuring partitions".
Here is an snippet from my upgrade.xml
<dasd>
<devices config:type="list">
<listentry>
<bus>None</bus>
<bus_hwcfg>none</bus_hwcfg>
<channel>0.0.0201</channel>
<class_id config:type="integer">262</class_id>
<detail>
<cu_model config:type="integer">233</cu_model>
<dev_model config:type="integer">12</dev_model>
<lcss config:type="integer">0</lcss>
</detail>
<dev_name>/dev/dasda</dev_name>
<dev_names config:type="list">
<listentry>/dev/dasda</listentry>
<listentry>/dev/disk/by-path/ccw-0.0.0201</listentry>
</dev_names>
<dev_num>
<major config:type="integer">94</major>
<minor config:type="integer">0</minor>
<range config:type="integer">4</range>
<type>b</type>
</dev_num>
<device>DASD</device>
<device_id config:type="integer">276880</device_id>
<driver>io_subchannel</driver>
<drivers config:type="list">
<listentry>
<active config:type="boolean">true</active>
<modprobe config:type="boolean">true</modprobe>
<modules config:type="list">
<module_entry config:type="list">
<listentry>dasd_eckd_mod</listentry>
<listentry></listentry>
</module_entry>
</modules>
</listentry>
</drivers>
<formatted config:type="boolean">true</formatted>
<model>IBM DASD</model>
<old_unique_key>N5EP.J4gQoPlOYuE</old_unique_key>
<partition_info>/dev/dasda1 (Linux native), /dev/dasda2 (Linux
native)</partition_info>
<prog_if config:type="integer">1</prog_if>
<resource>
<disk_log_geo config:type="list">
<listentry>
<cylinders config:type="integer">10016</cylinders>
<heads config:type="integer">15</heads>
<sectors config:type="integer">12</sectors>
</listentry>
</disk_log_geo>
<io config:type="list">
<listentry>
<active config:type="boolean">true</active>
<length config:type="integer">1</length>
<mode>rw</mode>
<start config:type="integer">513</start>
</listentry>
</io>
<size config:type="list">
<listentry>
<unit>sectors</unit>
<x config:type="integer">1802880</x>
<y config:type="integer">4096</y>
</listentry>
</size>
</resource>
<sub_class_id config:type="integer">0</sub_class_id>
<sub_device_id config:type="integer">275344</sub_device_id>
<sysfs_bus_id>0.0.0201</sysfs_bus_id>
<udi>/org/freedesktop/Hal/devices/ccw_0_0_0201_storage</udi>
<unique_key>kNlH.ALFATSt_U8F</unique_key>
<vendor>IBM</vendor>
<vendor_id config:type="integer">286721</vendor_id>
</listentry>
</devices>
</dasd>
<partitioning config:type="list">
<drive>
<device>/dev/dasda</device>
<partitions config:type="list">
<partition>
<create config:type="boolean">false</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<mount>/boot</mount>
<mountby config:type="symbol">path</mountby>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">1</partition_nr>
<partition_type>primary</partition_type>
</partition>
<partition>
<create config:type="boolean">false</create>
<lvm_group>rootvg1</lvm_group>
<partition_id config:type="integer">131</partition_id>
<partition_nr config:type="integer">2</partition_nr>
<partition_type>primary</partition_type>
</partition>
</partitions>
<use>all</use>
</drive>
<drive>
<device>/dev/rootvg1</device>
<lvm2 config:type="boolean">true</lvm2>
<partitions config:type="list">
<partition>
<create config:type="boolean">false</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<lv_name>homelv</lv_name>
<mount>/home</mount>
<mountby config:type="symbol">device</mountby>
</partition>
<partition>
<create config:type="boolean">false</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<lv_name>rootlv</lv_name>
<mount>/</mount>
<mountby config:type="symbol">device</mountby>
</partition>
<partition>
<create config:type="boolean">false</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<lv_name>tmplv</lv_name>
<mount>/tmp</mount>
<mountby config:type="symbol">device</mountby>
</partition>
<partition>
<create config:type="boolean">false</create>
<filesystem config:type="symbol">ext3</filesystem>
<format config:type="boolean">false</format>
<lv_name>varlv</lv_name>
<mount>/var</mount>
<mountby config:type="symbol">device</mountby>
</partition>
</partitions>
<pesize>4M</pesize>
<type config:type="symbol">CT_LVM</type>
<use>all</use>
</drive>
</partitioning>
Your help is greatly appreciated.
Kind regards,
Tobias Doerkes.
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/