Re: [Hampshire] Disk mounting locations

2009-06-05 Thread Anton Piatek
2009/6/5 Leo li...@fractal.me.uk:
 I've a general query about where to mount hard disks. I've read various
 bits on the web about the general linux structure of /, /usr, /etc...
 which I think I understand. However I now seem to have quite a few hard
 disks in my desktop and I don't immediately see how they fit with this
 structure.

 Anyway after that somewhat rambling start what I was trying to get to is
 the following: I started with a disk mounted on /, and one on /home.
 I've since acquired some more hard disks that I use to store data
 (mainly music) and I'm trying to work out how to mount them. The
 options, as I see it, are:
 1. Mount the disk directly in /home/me/Music.
 2. Mount the disk in /mnt/Music and link /home/me/Music to it.
 3. Mount the disk in /mnt/Music and bind /home/me/Music to it.

 Is there a standard/prefered way of doing this? (As an aside, I am the
 only user of the computer so I don't have to worry about other users
 needing to access the drives.) I also have some samba shares on the
 server that I want to use. What is the recommended way of mounting those
 on my desktop?

This is the point I use LVM - it will merge all those disks into one
visible disk.
Warning: LVM means that if all your disks are in one LVM group, then a
single disk failing can mean ALL your data is corrupted - backup data
if using LVM

Anton

-- 
Anton Piatek
email: an...@piatek.co.uk   
blog/photos:http://www.strangeparty.com
pgp: [0xB307BAEF]   (http://www.strangeparty.com/anton.asc)
fingerprint: 116A 5F01 1E5F 1ADE 78C6 EDB3 B9B6 E622 B307 BAEF

No trees were destroyed in the sending of this message, however, a
significant number of electrons were terribly inconvenienced.

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


Re: [Hampshire] Disk mounting locations

2009-06-05 Thread Steve Kemp
On Fri Jun 05, 2009 at 12:09:23 +0100, Leo wrote:

 options, as I see it, are:
 1. Mount the disk directly in /home/me/Music.
 2. Mount the disk in /mnt/Music and link /home/me/Music to it.
 3. Mount the disk in /mnt/Music and bind /home/me/Music to it.

 Is there a standard/prefered way of doing this?

  Conventionally you'd probably mount it to /mnt, or /media
 then symlink that to your preferred location.

  I have a similar disk with music, and it is mounted at
 /mnt/music.  Then I have ~/mp3/ symlinked to /mnt/music/mp3
 and similarly I have ~/ogg/ symlinked to the disk.

  The disk itself is mounted read-only, as I rarely add new
 music to it.  (I've ripped all the albums I own and I rarely
 buy new ones these days.  Sometimes I download new tunes
 but very very rarely.)

  If you plan to share the disk(s) via samba it makes sense
 to mount them somewhere global so using /mnt, or
 /home/music makes sense, but using ~me/music doesn't.

  Still at the end of the day you can choose your location
 yourself..

Steve
-- 
Managed Anti-Spam Service
http://mail-scanning.com/


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