Re: [opensuse] Volume Mount Sequence



-----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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: USB storage devices and /etc/fstab
    ... The easiest way is to label the filesystems and edit your /etc/fstab to ... That device should always mount at /bugaboo. ... I did what's suggested with two partitions in my slave drive. ... When I boot the system an error occurs halting the boot ...
    (Fedora)
  • [opensuse] Volume Mount Sequence
    ... I am running OpenSuSE 10.3 with the 2.6 default kernel. ... I have four partitions on three external disk drives. ... reboot, not often but it happens, the partitions mount in what appears ...
    (SuSE)
  • Re: Mounting USB devices with stable names
    ... Ive been following this thread since I have the same problem,- I want to mount ... I see mlabel which claims to be able to label vfat drives. ... "I wanted to rename the fat32 partitions that get automounted when they ...
    (Fedora)
  • Re: Labels and things
    ... What can the LABEL software do to find the moved hard drive that I ... new drives are via USB. ... If I want to manually mount my home partition somewhere, ... Likewise for any other partitions. ...
    (Fedora)
  • Re: System partition icons do not show up
    ... Other partitions on the drive do have their icons ... Disk utility also seems to unmount and mount them although ... "SetFile" tool which is part of the developer tools, ...
    (comp.sys.mac.system)