Sign in to follow this  
Followers 0
bsd-roo

Adding new hard disk and pointing /home to it

3 posts in this topic

Hello all and thanks in advance.

I have a Samba server for network access and backup usage, it appears that the hard disk has filled up faster than I had predicted.

Unfortunately I did not set up raid to easily add new disks. and also I have partitioned the disk in the way that all folders are in /and

all the files are stored in /home/<userAccounts>.

what I would like to know is to increase the size of /home now, could I just copy /home to a new hard disk and add this to /etc/fstab

"/dev/sda2 /home ext3 defaults 0 1". and hope it will from now on point /home to the new disk? or am I being hopefull?

Thanks

0

Share this post


Link to post
Share on other sites

Hello all and thanks in advance.

I have a Samba server for network access and backup usage, it appears that the hard disk has filled up faster than I had predicted.

Unfortunately I did not set up raid to easily add new disks. and also I have partitioned the disk in the way that all folders are in /and

all the files are stored in /home/<userAccounts>.

what I would like to know is to increase the size of /home now, could I just copy /home to a new hard disk and add this to /etc/fstab

"/dev/sda2 /home ext3 defaults 0 1". and hope it will from now on point /home to the new disk? or am I being hopefull?

Thanks

This would work. Just make sure and use the correct drive identifier. "sda2" would point to the second partition on the first hard disk. It'll probably end up being "sdb1". But yes, it would work just that way.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0