Linux Server Diary

The trials and tribulations of a Linux newbie trying to setup a home server.

Sunday, November 21, 2004

I Moved

Here's how I moved /home to the new drive.
Add this line to /etc/fstab
/mnt/hdd1/home /home none rw,bind 0 0

Move the files to the new folder
cp -a /home/* /mnt/hdd1/home

Remove the /home folder and its contents
rm -rf /home/*

Create a new /home folder
mkdir /home

Mount the folder
mount /mnt/hdd1/home


Not tough!

0 Comments:

Post a Comment

<< Home