[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse
Subject:    Re: [opensuse] Volume Mount Sequence
From:       "Carlos E. R." <robin.listas () telefonica ! net>
Date:       2007-11-30 3:27:48
Message-ID: alpine.LSU.0.9999.0711300423100.2626 () nimrodel ! valinor
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Thursday 2007-11-29 at 06:23 -0700, Donald D Henson wrote:

> I am running OpenSuSE 10.3 with the 2.6 default kernel.
>
> I have four partitions on three external disk drives. Every time I
> reboot, not often but it happens, the partitions mount in what appears
> to be random order. One time, a partition will be mounted as
> '/media/Disk-2' and the next time 'media/Disk'. Since each one contains
> NFS exported folders, I have to manually change the pathnames, etc.
>
> As I said in another post with a related problem, this seems like a
> problem with a simple solution but the articles I've found so far go
> into theoretical kernel jargon, about 99% of which I don't understand.
> Can anyone point me to an easily understandable procedure to make the
> external drives mount to the same mount point every time? Any assistance
> will be sincerely appreciated.


You have to mount them using their volume label name or id, not the device 
node.

Two samples, in fstab (manual mount, but automatic will also work):

by label:

LABEL=usb_sg60   /mnt/usb/usb_sg60  reiserfs   noatime,user,noauto,acl,user_xattr 0 0


by id:

/dev/disk/by-id/usb-Kingston_DataTravelerCR_ad053f40c9f050-part1
     /mnt/usb/Kingston       vfat
     noauto,user,users,uid=cer,gid=users,fmask=0117,dmask=0007,iocharset=iso8859-1,codepage=437
     0 0


To use a label you have of course to label them first. To use the id you 
have to determine which id it is - which is fairly simple.


- -- 
Cheers,
        Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFHT4M3tTMYHG2NR9URAlICAJ0V+qPtfKxcymaIqc6NTy1cT61XCgCdHEzG
KHxvpVbrp8nRZId9P+cfjtU=
=7CIF
-----END PGP SIGNATURE-----

-- 
To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic