It's probably using UUID and not the 0200 address
Here's the things I had to do to allow clones and allow it to run in other
places after a flashcopy.
1. Added root=/dev/disk/by-path/ccw-0.0.0101-part1 to the kernel parms (under
yast2, system, bootloader) (101 is our IPL address)
2. In /etc/default/grub
GRUB_DISABLE_LINUX_UUID=true
GRUB_CMDLINE_LINUX_DEFAULT="root=/dev/disk/by-path/ccw-0.0.0101-part1
hvc_iucv=8 TERM=dumb crashkernel=103M vmhalt=LOGOFF vmpoff=LOGOFF"
SUSE_REMOVE_LINUX_ROOT_PARAM=true
And then run grub2-mkconfig -o /boot/grub2/grub.cfg
3. echo 'persistent_policy=by-path' >> /etc/dracut.conf
grub2-install
dracut -f
This was on SLES 12 SP2. We didn't attempt SP1.
-----Original Message-----
From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Dave Myers
Sent: Monday, May 8, 2017 4:57 PM
To: [email protected]
Subject: [LINUX-390] SLES12 boot error after clone
A bootable SLES12 SP1 system was cloned using flashcopy.
All minidisks on the clone are the same virtual address.
At boot on the clone we get:
IPL 201
Booting default (grub2)
dasd-eckd 42a207: 0.0.0200: The specified record was not found.
1. What's the most likely cause for this error?
2. What script/files do we need to tweak to fix it ?
Note: On the golden copy, 200 is the root, 201 is a swap file.
Thanks,
Dave
This message (including any attachments) is intended only for the use of the
individual or entity to which it is addressed and may contain information that
is non-public, proprietary, privileged, confidential, and exempt from
disclosure under applicable law. If you are not the intended recipient, you are
hereby notified that any use, dissemination, distribution, or copying of this
communication is strictly prohibited. This message may be viewed by parties at
Sirius Computer Solutions other than those named in the message header. This
message does not contain an official representation of Sirius Computer
Solutions. If you have received this communication in error, notify Sirius
Computer Solutions immediately and (i) destroy this message if a facsimile or
(ii) delete this message immediately if this is an electronic communication.
Thank you.
Sirius Computer Solutions<http://www.siriuscom.com>
----------------------------------------------------------------------
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/
----------------------------------------------------------------------
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/