extending space

Jarl Stefansson jarl.stefansson-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Sat Aug 20 19:50:12 UTC 2011


As has been pointed out without details it's hard to give concrete advice.

If you currently have LVM (Centos/Fedora default) you can extend it
with the new disk.

If you don't have LVM and what you currently have is just one drive
with multiple partitions you could format the new drive, mount it
temporarily under say /mnt, copy everything from /home to the new
drive, change /etc/fstab so that the new drive is automatically
mounted under /home, remount it under /home  and once you are sure
everything is working you can reclaim the space used by the old /home,
if it's a separate partition you could boot from a livecd and use
something like gparted to resize another partition to occupy the
space, if it's on the same partition as other things you could just
delete the data which would free the space.

Jarl


On Sat, Aug 20, 2011 at 3:35 PM, Neil Watson <tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org> wrote:
> If /home is a volume (LVM) you can add the new disk the volume group and
> extend the volume.  Be warned if they each singles disks any one failing
> could be trouble.
>
> --
> Neil Watson
> Linux/UNIX Consultant
> http://watson-wilson.ca
> --
> 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
>
--
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