You are not logged in.

#1 2008-12-19 13:17:16

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,686
Website

opinion: mount point for a data partition

The major use of the PC in question is file storage/sharing (it runs samba shares) so I'm wondering about my partition scheme.  I currently have my 750 Gb drive partitioned like this:

/root (10 gig)
/swap (2 gig)
/home (remaining 700+ gig)

I made a dir called /home/data and am sharing that.  I'm wondering if although functionally, there isn't a difference, I'd be off using the following so I can just share out the entire /data partition.  What do you guys think about this?

/root (10 gig and will include /home)
/swap (2 gig)
/data (remaining 700+ gig)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2008-12-19 14:18:11

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: opinion: mount point for a data partition

That'd work

You should be able change /home to /data in fstab, and move an home related files ("." dot files) from /data to /home/graysky


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2008-12-19 14:34:25

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: opinion: mount point for a data partition

/var is a nice place to dump stuff like that in, I mount my data partition to /data, but I'm thinking about going with /var/data, which is more FHS-compliant.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2008-12-19 22:49:51

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,231
Website

Re: opinion: mount point for a data partition

pyther wrote:

That'd work

You should be able change /home to /data in fstab, and move an home related files ("." dot files) from /data to /home/graysky

Or move your /home to /data/home

Then you get the best of both worlds smile
You can just symlink /home to /data/home and/or change all your users home directories to be in /data

usermod -d /data/home/USERNAME USERNAME

You could also bind mount /home/data to /data:

mount -o bind /home/data /data

Last edited by fukawi2 (2008-12-19 22:50:29)

Offline

Board footer

Powered by FluxBB