System information

32 Sharing and maintaining SLES 10 SP2 Linux under z/VM
/dev/disk/by-path/ccw-0.0.01b6-part1 /var ext3 acl,user_xattr 1 2
/dev/dasdc1 swap swap defaults 0 0
/dev/dasdd1 swap swap defaults 0 0
/dev/disk/by-path/ccw-0.0.01b4-part1 swap swap defaults 0 0
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
This Linux system will be the basis for both the read-write and the read-only systems.
Installing and customizing SLES 10 SP2 onto LNXCLONE
A parameter file minimal system is also installed onto the LNXCLONE user ID. This system has
the majority of a single 3390-3 minidisk at 1B0 for a root file system.
The main function of this system is to be able to create a read-only root system, via the
mnt2rogld.sh script, with both the source and target systems shutdown and their user IDs
logged off from z/VM.
To customize the system the following modifications are made.
򐂰 The tar file associated with this paper is downloaded and untarred.
򐂰 The vmcp module is set to load at boot time so CP commands may be issued.
Downloading the files associated with this paper
Earlier you staged the tar file on another system to copy the z/VM files. Now you can copy the
tar file ro-root-S10.tgz to /usr/local/src/ on the LNXCLONE machine and untar it.
# cd /usr/local
...Copy the tar file ...
# tar xzvf ro-root-S10.tgz
README.txt
sbin/
sbin/mnt2rogld.sh
sbin/cloneprep.sh
sbin/boot.findself
sbin/offliner.sh
sbin/fstab.dcss
sbin/fstab.ror
sbin/mnt2rogld-dcss.sh
sbin/boot.rootfsck.diffs
vm/
Important:
Verify all the minidisks are accessed by path. The entries in /etc/fstab should look similar
to the above. If any entries are by ID, similar to the following, there will be problems
cloning:
/dev/disk/by-id/ccw-IBM.75000000030375.560c.45.0000000100000d0a0000000000000000-part1
/ ext3 acl,user_xattr 1 1
If this is the case, it is recommended that you reinstall Linux. References of this type have
been proven difficult to back out manually.