If you're going to be copying your root file system while the system is up and running, I would not use dd for that. I would use the same method as on the HOWTO page on linuxvm.org. One of the switches on the first tar command says "stay within this file system." If you use dd, anything that is in cache and not on disk won't be picked up.
Is there a reason why you want to have /var and /usr in your root file system instead of where they're at now? Just on the face of it, I wouldn't recommend it, but then I don't know what you're trying to accomplish. If new DASD has been attached to the LPAR, you'll probably have to use the service element to configure it online to the LPAR. Then, you should be able to echo the "add device" command into /proc/dasd/devices. To keep them available, make sure to rebuilt your initrd (mkinitrd) if appropriate, and re-run zipl. Mark Post -----Original Message----- From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of James Melin Sent: Wednesday, March 24, 2004 3:53 PM To: [EMAIL PROTECTED] Subject: Copying an entire filesystem.... and only that file system. Best tool? I am preparing to copy my root file system to another volume. If memory serves, the best tool for that is dd? So it doens't traverse the rest of the mount points. That not withstanding what would people recommend to do the following: move root to a new volume and then copy two other file systems, specifically /var and /usr into the new copy of the root fs, effectively combining root /var and /usr into the root fs space. Secondly - if your sysprog dynacmicall adds a couple dasd devices to your lpar environment that were not there, what is necesssary to make them available to a running image? Is that possible or do I have to IPL? ---------------------------------------------------------------------- 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
