y.com> From: "Jones, Russell" <russell.jo...@anpac.com> To: "Linux on 390 Port" <LINUX-390@VM.MARIST.EDU> X-CFilter-Loop: Reflected X-Barracuda-Connect: mail.anpac.com[208.191.131.1] X-Barracuda-Start-Time: 1233171329 X-Barracuda-Encrypted: AES256-SHA X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by Email Relay at marist.edu X-Barracuda-Spam-Score: -1.82 X-Barracuda-Spam-Status: No, SCORE=-1.82 using global scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL00.0 KILL_LEVEL=5.0 tests=BSF_SC0_MJ615 X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.1.16378 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.20 BSF_SC0_MJ615 Custom Rule MJ615
I have changed the dasd addresses in both places. My fstab looks like this: ANPLNX02:/mnt/cloneVol/etc # cat fstab /dev/disk/by-path/ccw-0.0.322b-part1 / ext3 acl,user_xattr 1 1 /dev/disk/by-path/ccw-0.0.322b-part2 swap swap defaults 0 0 /dev/disk/by-path/ccw-0.0.322f-part1 /usr/dataVolume ext3 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 Do I need to be concerned that mkinitrd shows: DASDs: 0.0.322a(ECKD) 0.0.322e(ECKD) 0.0.322b(ECKD) I have some documentation that says after chroot to the new file system, you need to do a "mount -t proc proc /proc". I tried it, with no apparent results, but I wonder if is related to my issue. I appreciate your help, Russell Jones ANPAC System Programmer rjo...@anpac.com -----Original Message----- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Tom Duerbusch Sent: Wednesday, January 28, 2009 1:08 PM To: LINUX-390@VM.MARIST.EDU Subject: Re: Clone SUSE 10 There are two places where the disk needs to be changed: /etc/fstab /etc/zipl.conf The zipl.conf is used for booting and on the way up, the fstab is used. linux63:/etc # cat /etc/fstab /dev/disk/by-path/ccw-0.0.0150-part1 / ext3 acl,user_xattr 1 1 <============ /dev/dasdd1 swap swap pri=60 0 0 /dev/dasde1 swap swap pri=50 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 /dev/system/system /home ext3 acl,user_xattr 1 2 linux59.stlouiscity.com:/home/nfs/oracle102 /oracle/images nfs defaults 0 0 linux59.stlouiscity.com:/home/nfs/oracletmp /oracletmp nfs defaults 0 0 linux59.stlouiscity.com:/home/nfs/oraclebkup /oraclebkup nfs hard,bg,suid,rsize=32768,wsize=32768 0 0 linux63:/etc # cat /etc/zipl.conf # Modified by YaST2. Last modification on Tue Aug 12 21:25:38 UTC 2008 [defaultboot] defaultmenu = menu :menu default = 1 prompt = 1 target = /boot/zipl timeout = 10 1 = ipl 2 = Failsafe ###Don't change this comment - YaST2 identifier: Original name: ipl### [ipl] image = /boot/image target = /boot/zipl ramdisk = /boot/initrd,0x1000000 parameters = "root=/dev/disk/by-path/ccw-0.0.0150-part1 TERM=dumb" <=========== ###Don't change this comment - YaST2 identifier: Original name: failsafe### [Failsafe] image = /boot/image-2.6.16.60-0.21-default target = /boot/zipl ramdisk = /boot/initrd-2.6.16.60-0.21-default,0x1000000 parameters = "root=/dev/disk/by-path/ccw-0.0.50-part1 TERM=dumb 3" <============ linux63:/etc # And, as I now see, the second set under [failsafe] is wrong. It should be 0.0.150, not 0.0.50 <G>. I use Yast (partitioning) to change the fstab file. I manually must change the zipl.conf file. mkinitrd zipl boot and pray Tom Duerbusch THD Consulting >>> "Jones, Russell" <russell.jo...@anpac.com> 1/28/2009 12:15 PM >>> My zipl.conf now looks like this: ********* ANPLNX02:/etc# cat zipl.conf # Modified by YaST2. Last modification on Tue Nov 25 11:10:32 CST 2008 [defaultboot] defaultmenu = menu ###Don't change this comment - YaST2 identifier: Original name: linux### [SLES_10_SP1] image = /boot/image-2.6.16.54-0.2.10-default target = /boot/zipl ramdisk = /boot/initrd-2.6.16.54-0.2.10-default,0x1000000 parameters = "root=/dev/disk/by-path/ccw-0.0.322b-part1 dasd=322b,322f TERM=dumb" :menu default = 1 prompt = 1 target = /boot/zipl timeout = 10 1 = SLES_10_SP1 2 = ipl ###Don't change this comment - YaST2 identifier: Original name: ipl### [ipl] image = /boot/image target = /boot/zipl ramdisk = /boot/initrd,0x1000000 parameters = "root=/dev/disk/by-path/ccw-0.0.322b-part1 dasd=322b,322f TERM=dumb" ********************** And my myinitrd output looks like this: ********************** ANPLNX02:/etc# mkinitrd Root device: /dev/disk/by-path/ccw-0.0.322b-part1 (mounted on / as ext3) Module list: jbd ext3 dasd_eckd_mod (xennet xenblk) Kernel image: /boot/image-2.6.16.54-0.2.10-default Initrd image: /boot/initrd-2.6.16.54-0.2.10-default Shared libs: lib64/ld-2.4.so lib64/libacl.so.1.1.0 lib64/libattr.so.1.1.0 lib64/libblkid.so.1.0 li b64/libc-2.4.so lib64/libcom_err.so.2.1 lib64/libdl-2.4.so lib64/libext2fs.so.2.4 lib64/libhistory.so .5.1 lib64/libncurses.so.5.5 lib64/libpthread-2.4.so lib64/libreadline.so.5.1 lib64/librt-2.4.so lib6 4/libuuid.so.1.2 lib64/libnss_files-2.4.so lib64/libnss_files.so.2 lib64/libgcc_s.so.1 Driver modules: dasd_mod dasd_eckd_mod DASDs: 0.0.322a(ECKD) 0.0.322e(ECKD) 0.0.322b(ECKD) Filesystem modules: jbd ext3 Including: initramfs fsck.ext3 16371 blocks initrd updated, zipl needs to update the IPL record before IPL! ************************ I changed my dasd fstab setting to use device path, ipl'ed my base system, shut it down, copied the volume using mvs dss copy, ipl'ed the base system and mounted the cloned file system on the base system. I then did a chroot to the new file system. The mkinitrd command looks good except for the "DASDs" section. It is getting those addresses from what I have mounted on the base system and I want it to use 322b and 322f. Russell Jones ANPAC System Programmer rjo...@anpac.com -----Original Message----- From: Linux on 390 Port [mailto:linux-...@vm.marist.edu] On Behalf Of Mark Post Sent: Wednesday, January 28, 2009 10:12 AM To: LINUX-390@VM.MARIST.EDU Subject: Re: Clone SUSE 10 >>> On 1/28/2009 at 9:58 AM, "Jones, Russell" <russell.jo...@anpac.com> wrote: > Should the parameters in /etc/zipl.conf look like: > > root=/dev/dasda1 ro noinitrd No. If you do, your system won't boot. Just add 'dasd=addr1,addr2" to what is there now. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390