In the past we have created a number of linux 'golden images' of various linux releases, each on a single IBM SAN Volume Controller virtual disk accessed with native zFCP. Multipath was not used. They could be cloned by making a copy of the SVC vdisk using SVC facilities and mapping to the new host using the same LUN number (0x0001000000000000 ie LUN 1). The new host was booted and its IP address/hostname could then be edited for the new system.
For SUSE 11 SP2 a colleague has installed using multipath for the root. I copied the vdisk as before. I am able to boot a new linux VM from the new vdisk but start-up does not complete. Does anyone know if it is possible to clone using this method when multipath is used ? The copy has a different UUID of course. The original vdisk has a UUID ending '.......00000000000004b' and the copy has UUID ending '.....00000000000004c'. I get these messages before the start-up is abandoned and it exits to a recovery shell: Setup multipath devices: Jan 03 12:04:46 | 360050768018f030ee00000000000004c: failed to set dev_loss_tmo: error 22 >Jan 03 12:04:46 | 360050768018f030ee00000000000004c: failed to set >dev_loss_tmo: error 22 >Jan 03 12:04:46 | 360050768018f030ee00000000000004c: failed to set >dev_loss_tmo: error 22 >Jan 03 12:04:46 | 360050768018f030ee00000000000004c: failed to set >dev_loss_tmo: error 22 >ok. > >Trying manual resume from /dev/mapper/360050768018f030ee00000000000004b_part1 > >resume device /dev/mapper/360050768018f030ee00000000000004b_part1 not found >(ignoring) >Trying manual resume from /dev/mapper/360050768018f030ee00000000000004b_part1 > >resume device /dev/mapper/360050768018f030ee00000000000004b_part1 not found >(ignoring) >Waiting for device /dev/mapper/360050768018f030ee00000000000004b_part2 to >appear: ..............................Could not find >/dev/mapper/360050768018f030ee00000000000004b_part2. > >Want me to fall back to /dev/mapper/360050768018f030ee00000000000004b_part2? >(Y/n) >y >Waiting for device /dev/mapper/360050768018f030ee00000000000004b_part2 to >appear: ..............................not found -- ex >iting to /bin/sh regards, Keith Gooding In /dev/mapper we have: 360050768018f030ee00000000000004c -> ../dm-0 360050768018f030ee00000000000004c_part1 -> ../dm-1 360050768018f030ee00000000000004c_part2 -> ../dm-2 ---------------------------------------------------------------------- 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/
