extending space

Rajinder Yadav devguy.ca-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Aug 20 23:13:40 UTC 2011


On 11-08-20 05:26 PM, James Knott wrote:
> Rajinder Yadav wrote:
>> My /home partition is almost out of space, I just bought a new drive, 
>> is there a way for me to increase the space on my /home partition buy 
>> creating a 2nd /home partition on the other drive and "double" 
>> mounting it?
>>
>> Can I do this on Linux to create a larger virtual /home partition? 
>> Over do I need to copy over everything to the new /home partition and 
>> only mount that under /home
>>
>> Thanks
>>
> You can move the /home to the new drive.  However, before you do that, 
> you probably want to mount the new drive at a temporary mount point, 
> so that you can copy the contents of /home to it.  Once the new drive 
> is in service, you can then free up the space used by the old /home.  
> BTW, this indicates one of the benefits of logical volume management.  
> With it, you'd just add the new drive to the volume and expand 
> partitions to use the space.  I did that a while ago, when I installed 
> a much larger drive in a notebook computer.  Rather than attempt to 
> resize the existing system, I just added the new free space to the 
> volume.  The only caveat is /boot cannot be in the logical volume.   I 
> set up a server at work recently with 4 1 TB drives.  I created a 2 GB 
> slice of the first drive for /boot (yeah, I know, far more than 
> required) and used the 1st 2 GB on the remaining 3 drives for swap.  I 
> then created a RAID 4 arrary of the remaining disk space, where I then 
> created a LVM, which will allow me to adjust partition sizes as needed.
>
Thanks all for your advice. I plan to move /home to the new drive. I am 
already using the latest distro of Kubuntu, and it's too much work to 
start all over just for lvm. Also as others have pointed out, I don't 
want to increase my exposure to multiple points of failure!

-- 
Kind Regards,
Rajinder Yadav | http://DevMentor.org | Do Good! ~ Share Freely

--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list