You are not logged in.

#1 2011-02-22 19:59:41

bvbellomo
Member
Registered: 2010-02-15
Posts: 54

Disk management

I wanted suggestions for better ways to mount/fstab and otherwise manage my file system.

I have an 80GB SSD that I use for my operating system, anything I need performance for, and lots stuff that is small enough it doesn't take up much space.

I kept most of my data on a 200GB hard disk.  When that got full, I bought a 1TB drive and copied the files.  The 200GB is sort of a 'sloppy' backup, anything important gets copied back over whenever I feel like in case the 1TB dies.

2 people use this machine, so 3 active logins counting root, but security isn't an issue (no untrusted users).  Ideally both users should access both drives.


Right now, my system is set up so the 80GB loads as if it were my whole system, and the other drives I manually mount if/when I need to, which is sort of a pain.  I know I can edit several things in my fstab to do this automatically, but am not sure what the best way approach is.  Any suggestions on a good way to handle this?

Offline

#2 2011-02-22 20:49:28

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Disk management

Sorry, if you don't want to mount them via fstab, what is it that you do want?


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2011-02-23 07:24:59

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: Disk management

/etc/fstab is the best, disks will be always mounted, I don't see a problem here at all...
Also in gnome (dunno about kde as I don't use it) you can simply click on that disk in nautilus, it will ask you root pass and you'll get them mounted, which is strange approach anyway if disks are connected all the time smile

Offline

#4 2011-02-23 12:00:48

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Offline

#5 2011-02-23 13:47:45

bvbellomo
Member
Registered: 2010-02-15
Posts: 54

Re: Disk management

I think everyone misunderstood my question.  I can use fstab to mount them to any path, what I want to know, is what is considered "best practices".  For example, I can mount them as /disk1 and /disk2 right off the root path, but I've never seen a Linux system set up that way.  I wondered what other people were doing.

Last edited by bvbellomo (2011-02-23 13:48:06)

Offline

#6 2011-02-23 13:59:50

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: Disk management

path? how about /media?

/dev/sdb1 /media/Stuff ext4 defaults,noatime 0 2
/dev/sdb2 /media/Multimedia ext4 defaults,noatime 0 2

Offline

#7 2011-02-23 16:02:06

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Disk management

It is my understanding that /mnt is usually for "static" volumes (internal hard disks) and /media for "automounted" volumes (USB sticks, CDs...)

Offline

#8 2011-02-23 17:28:00

Kirurgs
Member
Registered: 2008-10-20
Posts: 144

Re: Disk management

It's actually good to have auth in my case, but thanks for info.

About mounting habbits, I mount stuff in /data, /projects, /installations etc., eg I make my own directories bcoz then I know where to look for particular stuff smile

Offline

#9 2011-02-23 17:44:24

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: Disk management

I also have /video, /music, /pictures etc. and then link them to ~.

As for "standards" - paramount are security and accessibility. I don't care about the rest unless I write a programme or work in an IT environment.

Perhaps this is what you need: http://tldp.org/LDP/Linux-Filesystem-Hi … index.html


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

Board footer

Powered by FluxBB