Hey Everyone
I just ran into an interesting dillemma at work. We had 450 GB of data and two 250 GB hard drives. I know that archiving and compression software can take a directory containing the 450 GB of data and output it into a series of smaller compressed archive files which can later be reassembled to extract the whole 450 GB directory.
For example,
Archive & Split:
Code:
tar czpvf - /path/to/archive | split -d -b 100M - tardisk
Reassemble & Extract:
Code:
cat tardisk* | tar xzpvf -
Now how could a command like this be executed whilst also having the logic behind it to distribute the archive files across each hard drive?
If I find a way to do this on my own, I'll update here as necesssary.