Re: confusing /etc/fstab

From: Pedro Fernandes Macedo (webmaster_at_margo.bijoux.nom.br)
Date: 01/31/05

  • Next message: Paul Howarth: "Re: Linux Source Code? Where?"
    Date: Mon, 31 Jan 2005 17:33:46 -0200
    To: For users of Fedora Core releases <fedora-list@redhat.com>
    
    

    Paul F. Almquist wrote:

    >Labeling does introduce a problem: What happens if 2 partitions have the same
    >label? Which one does mount choose? I do not know the algorithm but I do
    >know that mount does not know which one you want to use. In the technical
    >college where I taught Unix/Linux system administration we had removable IDE
    >drives in our lab machines. (standard IDE drives in a tray that slides into a
    >bay the in cabinet. works good. I use them at home too) I had a removable
    >drive bay on my office machine. A couple of times I had to make some repairs
    >to corrupted student drives. Since the drives are not hot-swappable I
    >would power down my machine, insert the student's drive, power up and boot.
    >Their partition labels were the same as on my internal IDE drive and as a
    >result would bet mounted instead of my partitions. After a couple time of
    >messing with that I changed the /etc/fstab file on my system to use device
    >names instead of labels.
    >
    >fsck also recognizes the labels, probably other disk related commands too.
    >
    >paul
    >
    >
    In such cases , I strongly suggest changing the labels. Here I used to
    have FC2 and FC3 test releases (during FC3 test) installed.
    The root for FC2 was labeled / , the one for FC3 was labeled fc3/ . And
    the same way for other partitions.
    Now , if you need to insert another disk with the same labels , you can
    always change the root=LABEL=/ part on grub to point to the right device.
    This change can be done at boot time (just press "a" on grub screen) and
    it probably will fix the issue, since the kernel will know exactly which
    partition to use on boot time.

    --
    Pedro Macedo
    -- 
    fedora-list mailing list
    fedora-list@redhat.com
    To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
    

  • Next message: Paul Howarth: "Re: Linux Source Code? Where?"

    Relevant Pages

    • Re: confusing /etc/fstab
      ... The conflict cannot be resolved, ... >> That would take care of getting the right root partition but what about the ... > It is for that reason, that I seldom use labels. ... > A machine that has drives already labeled at boot time will give new ...
      (Fedora)
    • Re: Adding 2nd Internal Harddrive
      ... Also I would create unique 'Label' names for each drive partition so there ... have labels like: NEW_D, NEW_E. ... As long as the second drive partition letters end up as D: and E: your ... E drives to it, and reassign all the space on the original HD to just ...
      (microsoft.public.windowsxp.hardware)
    • Re: f9 grub kernel arguments and kickstart questions
      ... It's a unique ID for each partition. ... partition by it's UUID, and get the right one, no matter where it's ... drives using the same volume labels (e.g. having fights with two drives ... use labels, or change the UUID from the old to the new. ...
      (Fedora)
    • Re: confusing /etc/fstab
      ... > Paul F. Almquist wrote: ... >> I had to make some repairs to corrupted student drives. ... Their partition labels were the same ...
      (Fedora)
    • Re: Whos copying who here?
      ... What I can see is not *limiting* partition ... XP and other NTFS based OS versions currently allow reassigning drive letters to partitions now, why not allow drive labels as well? ... I agree the 8.3 naming convention is rather limiting and needs to go, but getting rid of drive letters is just throwing the baby out with the bathwater. ... as I use multiple *physical* drives in a way that I *want* to keep ...
      (comp.sys.mac.advocacy)