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

Top Page

Reply to this message
Author: Michael Daffin
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] Add another hard drive to the same mount point?
You can also use the btrfs filesystem to do the same thing, which ext4 can
be upgraded to in place (ie without reformatting) and then other drives can
be added to the btrfs filesystem.

However, with both of these solutions you are increasing the risk of losing
all of your data as if one drives fails. I would consider looking at
creating a raid array, it will require more disks*, but has the advantage
that you wont lose any data if one drive fails (you just have to replace
the drive) but the disadvantage of not being able to use all of the space
on all the drives.

*You need 2 disks for raid1, full mirror, but only have the usable space of
one of the disk, or 3 disks for raid 5, which gives you the usable space of
two disks (you can use 4 or 5 disks with raid 5 and still only lose one
disk worth of space).

Raid is at least worth considering as the more disks you add to your setup,
the more likely one will fail and the larger your collection of data, the
harder it is to recover it all.


On 23 July 2013 20:58, Ally Biggs <bluechrome@???> wrote:

> If you google lhammonds ubuntu server tutorial he walks you through the
> process of setting up LVM on a clean install. He then teaches you how to
> add a secondary hard disk and how to extend the volumes all done through
> the Cli of course :)
>
> Very easy to follow tutorial makes LVM a walk in the park.
>
>
>
> Sent from my iPhone
>
> On 23 Jul 2013, at 20:53, "James Courtier-Dutton" <james.dutton@???>
> wrote:
>
> 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
> --------------------------------------------------------------
>
>
> --
> Please post to: Hampshire@???
> Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
> LUG URL: http://www.hantslug.org.uk
> --------------------------------------------------------------
>




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