On Wed, 2004-03-24 at 14:53, James Melin wrote:
> 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:

Uh, I wouldn't use dd unless you're doing it with identically-sized
devices and identical partitions.  dd is basically DDR.  And using it on
a mounted filesystem is asking for trouble.

Instead, just use cp -ax to stay on the same filesystem.

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

So if your "new root" is mounted at /target, do:

copy -ax / /target
copy -ax /var /target
copy -ax /usr /target

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

echo "add device range=<whatever>" >> /proc/dasd/devices

should work.

Adam

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