root@gateway:~# cat /etc/fstab
/dev/sda5 swap swap defaults 0 0
/dev/sda1 / reiserfs defaults 1 1
/dev/sda6 /usr reiserfs defaults 1 2
/dev/sdb1 /var reiserfs defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
I want to move /var from /dev/sdb to /dev/sda without ruining my system. I have enough space on sda6 to accomodate all the data in /var. Can I just copy the data to /usr/var and then make a hardlink /var -> /usr/var, then restore it when I'm done ?
If I can
do that, what modifications so I make to fstab, just change /dev/sdb1 from /var to /benchmark?
I want to do this to run some custom file system benchmarks on the spare drive which will require reformatting it several times.
The following thread was slightly helpful, but didn't quite answer the question