Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #174593 > unrolled thread

Symlinking or hard linking additional storage to /home directories

Started byRobert Menes <viewtiful.icchan@gmail.com>
First post2016-11-12 19:20 +0100
Last post2016-11-13 02:40 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Symlinking or hard linking additional storage to /home directories Robert Menes <viewtiful.icchan@gmail.com> - 2016-11-12 19:20 +0100
    Re: Symlinking or hard linking additional storage to /home  directories Lars Noodén <lars.nooden@gmail.com> - 2016-11-12 19:30 +0100
    Re: Symlinking or hard linking additional storage to /home  directories David Christensen <dpchrist@holgerdanske.com> - 2016-11-13 02:40 +0100

#174593 — Symlinking or hard linking additional storage to /home directories

FromRobert Menes <viewtiful.icchan@gmail.com>
Date2016-11-12 19:20 +0100
SubjectSymlinking or hard linking additional storage to /home directories
Message-ID<sCL4e-5H5-15@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hello everyone,

My current desktop setup currently has a Debian installation on a 120GB
SSD, which
is mounted with both the EFI system partition and as / for my rig. I have a
3TB HDD
which I had mounted as /home during install.

As my desktop case still has enough space in it, I was contemplating
getting another
pair of 3TB (or maybe even 4TB!) HDDs, and have them be symlinked or hard
linked
(whichever works better) to my ~/Music and ~/Videos folders. This setup is
currently
has only one user on it (my account, aside from root). I want to do this so
that I have
more space for my media, functioning as a backup for a NAS and for keeping
larger
project files for any audio and video work I do.

My question is this: which is the better path to take? Symlinking or hard
linking another
drive to ~/Music and ~/Videos? I understand that I will need to edit
/etc/fstab and all;
that's fine. Just curious as to whether symlinks or hard links are the way
to go.

Thanks!

--Robert

-- 
Nobody's ever lost in life...they're merely taking the scenic route.
==============================
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
==============================
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1.2
GCS/S/M/MU d- s+: a37 C++(+++) UL++++>$ P++ L+++ E+ W+ N+ o+ K++ w--- O-
M !V PS+ PE Y+ PGP(+) t+ 5++ X++ R tv b+++ DI+++ D++(---) G++ e+ h-
r++ y+
------END GEEK CODE BLOCK------

[toc] | [next] | [standalone]


#174596 — Re: Symlinking or hard linking additional storage to /home directories

FromLars Noodén <lars.nooden@gmail.com>
Date2016-11-12 19:30 +0100
SubjectRe: Symlinking or hard linking additional storage to /home directories
Message-ID<sCLdV-5L4-75@gated-at.bofh.it>
In reply to#174593
On 11/12/2016 08:09 PM, Robert Menes wrote:
[snip]
> My question is this: which is the better path to take? Symlinking or hard
> linking another
> drive to ~/Music and ~/Videos? 
[snip]

Directories can only be symlinked.  But you might be interested in mount
instead, especially the --bind option.

Regards,
Lars

[toc] | [prev] | [next] | [standalone]


#174623 — Re: Symlinking or hard linking additional storage to /home directories

FromDavid Christensen <dpchrist@holgerdanske.com>
Date2016-11-13 02:40 +0100
SubjectRe: Symlinking or hard linking additional storage to /home directories
Message-ID<sCRW1-1Kk-13@gated-at.bofh.it>
In reply to#174593
On 11/12/2016 10:09 AM, Robert Menes wrote:
> My current desktop setup currently has a Debian installation on a 120GB
> SSD, which
> is mounted with both the EFI system partition and as / for my rig. I have a
> 3TB HDD
> which I had mounted as /home during install.
> 
> As my desktop case still has enough space in it, I was contemplating
> getting another
> pair of 3TB (or maybe even 4TB!) HDDs, and have them be symlinked or hard
> linked
> (whichever works better) to my ~/Music and ~/Videos folders. This setup is
> currently
> has only one user on it (my account, aside from root). I want to do this so
> that I have
> more space for my media, functioning as a backup for a NAS and for keeping
> larger
> project files for any audio and video work I do.
> 
> My question is this: which is the better path to take? Symlinking or hard
> linking another
> drive to ~/Music and ~/Videos? I understand that I will need to edit
> /etc/fstab and all;
> that's fine. Just curious as to whether symlinks or hard links are the way
> to go.

I mount my drives under /mnt/drivename and symlink into those.  In my
file server, I bind mount subdirectories under /var/local and
/var/cache.  I mount Samba client shares under /mnt/sharename and
/home/username/sharename, and symlink into those.


David

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web