Alan McKinnon wrote:
cp -a /mnt/gentoo/backup/var /mnt/gentoo/var
cp -a /mnt/gentoo/backup/usr /mnt/gentoo/usr

Um, no. This gives you new usr and var directories like so:
/usr/usr/
/var/var

You want:
cp -a /mnt/gentoo/backup/var /mnt/gentoo/
cp -a /mnt/gentoo/backup/usr /mnt/gentoo/

Thanks for correction!

With lvm, this becomes a breeze.

I remember having lvm2 a few years ago, and despite of that I could not
extend any partition, which was being used. What is then lvm2 good for,
if I can not extend partitions on-the-fly? I can not unmount /usr before
extending...

And one more counter-argument: with traditional partitions I can select
where a certain partition is (physically). Those partitions accessed
frequently I put to the beginning of the disk with higher transfer-rate.
In my case, it makes quite difference:

obelix ~ # hdparm -t /dev/md2
 Timing buffered disk reads:  252 MB in  3.02 seconds =  83.23 MB/sec

obelix ~ # hdparm -t /dev/md9
 Timing buffered disk reads:  150 MB in  3.02 seconds =  49.72 MB/sec

Jarry

--
_______________________________________________________________
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.

Reply via email to