We have recently installed CentOS Linux on our test Linux LPAR. We would
like to migrate it to our production LPAR without having to do a new
install. CentOS is intalled on a single dasd volume. We would like to
simply copy the volume and IPL to the new volume on the new LPAR. The
problem is that after we IPL on the new volume, Linux is still pointing
to the file system on the old volume. This is the process that we
followed to try to change the dasd volume that Linux uses.

-          change /etc/modprode.conf

o        changed "options dasd_mod dasd=322B" to "options dasd_mod
dasd=322C"

-          run mkinitrd to pick up the changes to modprobe.conf

o        mkinitrd -v initrd-2.6.9-42.0.2.EL.img 2.6.9-42.0.2.EL

o        this showed the line "Loading module dasd_mod with options
dasd=322C" so it seemed like changes were picked up.

-          run zipl command

o        zipl -V

o        contents of zipl.conf looks like this:

*         [defaultboot]

*         default=linux

*         target=/boot/

*         [linux]

*                 image=/boot/vmlinuz-2.6.9-42.0.2.EL

*                 ramdisk=/boot/initrd-2.6.9-42.0.2.EL.img

*                 parameters="root=/dev/VolGroup00/LogVol00"

Output from zipl contained the following messages:

 

DASD device number..............: 322b

Preparing boot device: dasda (322b).

 

Those messages lead me to believe that it is still pointing to the old
dasd address. The plan was to make the dasd address changes, copy the
volume, and then set the dasd address back to the original address on
the old system, and IPL the new volume in the new LPAR. Is there
something that I am missing? Is there and easier way to clone a linux
system in a different LPAR? I appreciate any suggestions.

 

Thanks,

Russell Jones 
ANPAC 
System Programmer 



CONFIDENTIALITY/PRIVILEGE NOTICE: This transmission and any attachments
are intended solely for the addressee. The information contained in this
transmission is confidential in nature and protected from further use or
disclosure under U.S. Pub. L. 106-102, 113 U.S. Stat. 1338 (1999), and
may be subject to attorney-client or other legal privilege. Your use or
disclosure of this information for any purpose other than that intended
by its transmittal is strictly prohibited and may subject you to fines
and/or penalties under federal and state law. If you are not the
intended recipient of this transmission, please destroy all copies
received and confirm destruction to the sender via return transmittal.

 


----------------------------------------------------------------------
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

Reply via email to