Re: [Hampshire] Add another hard drive to the same mount poi…

Top Page

Reply to this message
Author: James Courtier-Dutton
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Add another hard drive to the same mount point?
On 23 July 2013 20:47, Robin Wilson <robin@???> wrote:

> Hi,
>
> I've got a home server, running Ubuntu, which has a large hard drive on
> which I store photos, videos, music etc, which is mounted at /files.
> Unfortunately I'm running out of space on that drive, and am just about to
> purchase an extra drive. My question is:
>
>         Is there a way to 'combine' these drives in some way so that they
> both appear under the mount point /files, and where the data is actually
> stored is transparent?

>
> Obviously I could put all of my photos and music on the old drive, and all
> of my videos on the new drive, and mount them separately - but from
> previous experience I've found that gets very difficult very quickly, as
> drives fill up and you end up with categories split between drives.
>
> Does anyone have any ideas for how to go about this? Ideally I'd like
> whatever method it is to not require completely wiping my current drive -
> it would be possible (if I can find a friend with an empty 2Tb external
> hard drive that I can borrow), but it'd be a bit of a pain.
>
>

Google "lvm". A logical volume manager.
If your existing data is already on a LVM you can expand it to fit two
disks.
If your existing data is not on LVM, you could make the new HDD use LVM,
copy all the data from the old to the new drive, and then wipe the old
drive and put LVM on it.

Kind Regards

James
--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------