June 28, 2007
How to increase the size of /home partition in linux? I can add a new hd, but don't know how to do it.?
I have a linux server that currently running out of space in /home partition. I purchased a new HD, but don't know how to increase the size of /home partition, I.e. seamlessly add the new hd space to /home partition.
- first
Lets assume that your new HD is one partition mouned on /mnt/hdb1/
You have many options:
1)
move some folders to the new HD and makelinks to them, like that
mv /home/aVeryBigFolder /mnt/hdb1
ln -s /mnt/hdb1/aVeryBigFolder/ /home/
after doing that the folder aVeryBigFolder will appear in the /home dir, but it is actually stored on /mnt/hdb1/ (users will not feel any difference)2)
use the new HD as your /home instead of your current home partition and move everything to itthat's all options I know























