For moving the data, http://linuxvm.org/Info/HOWTOs/movefs.html
Once the swap partition has been created, you'll need to run the "mkswap" command against it. This will only need to be done one time. Writing the IPL text onto the new volume would be done after the data has been copied over. Then, chroot to the mount point, update /etc/zipl.conf with the correct DASD device number, create a new initrd if needed, and run the zipl command. If you have an OSA connection, or CTC, etc., you'll need to update /etc/chandev.conf with the new information. Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Lee Stewart Sent: Monday, May 24, 2004 5:02 PM To: [EMAIL PROTECTED] Subject: Moving boot volume Hi... We have a client with Linux on an LPAR (no VM) who keeps filling his root file system. Not one particular directory, but first one, then another, etc... So there's not just one that we could offload to a 2nd volume. Plus, when he built the system he allocated about 1/3 of the volume to a swap partition, so he really only has 2/3 of a 3390-3 for the root filesystem. His shop also has very little "spare" DASD. But he did manage to deal with the storage guy and make a deal to "trade" his 3390-3 volume for a 3390-9 volume. (No, he can't keep the 3390-3 volume also.) What's the easiest way to move BOTH the root filesystem and the swap space to the new volume? I assume just format (dasdfmt), then partition (fdisk), then create a filesystem on the non-swap partition, then mount it and just do a copy of the whole filesystem (cp -pR). If that's right, here's the last of the questions: - Aside from the format and partition above, I don't have to do anything else to initialize the swap space, right? - How do I move the boot text from the old volume to the new? - Since it's LPAR and I can't just change the virtual address, is there anywhere I have to put the new real address of the volume? Then just boot the new volume, right?? Thanks, Lee Stewart Lee Stewart, Senior SE DSG (719) 566-0188 , Fax (719) 566-0655 [EMAIL PROTECTED] www.dsgroup.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 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
