>>> On 1/27/2016 at 10:56 AM, Ram Jam <[email protected]> wrote: > My apologies Mark. Will remember to post more info next time. > Errors on the z/VM console are as follows when I boot up the Linux guest. > ----------------------------------------------Scanning for LVM volume > groups... Reading all > physicalvolumes. This may take a while... Found > duplicate PVEBdleGPWJNX77h8jgpTskuXHtMUWfWPx: using /dev/dasdc1 > not/dev/dasdb1 Couldn't find devicewith uuid > 'K6Ec0V-DClh-pFhp-vLAE-yWWf-ZH4u-GtVUIX'. Couldn't find devicewith > uuid 'ecXHA7-CLLe-g3iN-mEeE-ayxE-KUOn-xtpmFe'. Couldn't find > devicewith uuid 'ughcI9-ed8q-FQSX-GjJc-JVpn-yTBc-AP4fqK'. Couldn't > find devicewith uuid 'gDK29H-4fsY-afS8-ARWW-bzqG-KTjK-3Y0GmT'. Found
OK, now we're getting somewhere. The problem isn't the duplicate UUIDs, it's the missing ones. Thinking about it, the Cookbook has you create a partition on the DASD volume containing the root file system to use for LVM. So, that means we have more work to do than just moving the one partition. We also need to move the contents of the PV to a new PV. The other problem is, just what happened to the other disks that are providing these UUIDS: K6Ec0V-DClh-pFhp-vLAE-yWWf-ZH4u-GtVUIX ecXHA7-CLLe-g3iN-mEeE-ayxE-KUOn-xtpmFe ughcI9-ed8q-FQSX-GjJc-JVpn-yTBc-AP4fqK gDK29H-4fsY-afS8-ARWW-bzqG-KTjK-3Y0GmT It looks like your non-root DASD volumes are not coming online. When you have your system booted with the old root device, what does cat /proc/dasd/devices show, and what does it show with the new root device? -snip- > Also, do you mind explaining in a little more detail, maybe provide an > example, of what my /etc/fstab should look like after Step 8 of your > procedures? > Mine looks like this: > /dev/disk/by-path/ccw-0.0.0100-part1 / ext3 acl,user_xattr > 1 1 > /dev/system-vg/opt-lv /opt ext3 acl,user_xattr > 1 2 > /dev/system-vg/tmp-lv /tmp ext3 acl,user_xattr > 1 2 > /dev/system-vg/usr-lv /usr ext3 acl,user_xattr > 1 2 > /dev/system-vg/var-lv /var ext3 acl,user_xattr > 1 2 > proc /proc proc defaults 0 > 0 > sysfs /sys sysfs noauto 0 > 0 > debugfs /sys/kernel/debug debugfs noauto 0 > 0 > devpts /dev/pts devpts mode=0620,gid=5 0 > 0 That's how it should look both before and after. That's part of the beauty of VM. If you swap out hardware but keep the same virtual device address, a lot of things in the guest don't have to be changed. Mark Post ---------------------------------------------------------------------- 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/
