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.

  1. 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 it

    that's all options I know

Tags: ,

Tell a Friend Today!

del.icio.us Digg Furl Reddit Ask BlinkList blogmarks Blogg-Buzz Google Ma.gnolia Netscape ppnow Rojo Shadows Simpy Socializer Spurl StumbleUpon Tailrank Technorati Windows Live Wists Yahoo! Help

Permalink • Print

Track this entry

RSS BlogPulse

RSS Technorati Cosmos

Related Searches

, , , ,