[opentrend solutions limited]

The Company

Services

Information

Get Firefox!

Moving Filesystems

To move all the data on a file system safely, follow these simple instructions.

This only works with Gnu tar, which is standard on Linux and available for other versions of unix.

1. cd into the directory you want the data to go to.

2. execute the following command:

tar cl $DIR | tar xp

Where $DIR is the root directory of the filesystem you want to move.

3. Now wait while the data moves :)

This will move all of the data on a single filesystem, avoiding problems with /proc. Still consider what is happening with /tmp & /var/tmp though. The switch -X may help here :)