Re: system down - can't find luns (correction)

From: Rigler, Stephen C. (srigler_at_marathonoil.com)
Date: 05/23/05

  • Next message: Ed Wilts: "Re: Updating samba passwords"
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    Date: Mon, 23 May 2005 11:02:36 -0500
    
    

    On Mon, 2005-05-23 at 10:53 -0500, Dana Holland wrote:
    > Rigler, Stephen C. wrote:
    > > First, try doing "mount /dev/sdb1 /usr/local/bbls".
    > > If that works, then unmount and try doing "mount /usr/local/bbls".
    > >
    > > If the second try doesn't work, then make sure your filesystem has the
    > > label specified in the fstab ("e2label /dev/sdb1"). If it doesn't have
    > > the label, then you can relabel it by doing
    > > "e2label /dev/sdb1 /dev/sdb1". Repeat for /dev/sdc1.
    >
    > mount /dev/sdb1 /usr/local/bbls works - mount /usr/local/bbls doesn't work
    >
    > I guess I'm being dense, but I'm not following what you and Ed are
    > telling me about the label in /etc/fstab - here is what I have:
    >
    > LABEL=/dev/sdb1 /usr/local/bbls ext2 defaults 1 2
    > LABEL=/dev/sdc1 /usr/local/bbcm ext2 defaults 1 2
    >
    > What is it that's incorrect?

    The entries in your fstab are causing the system to mount filesystems by
    label rather than by the device file. The label makes things convenient
    because, if things devices change their mappings, you can still mount
    the filesystem because you know what it's label is. The labels can be a
    pain for the same reason (like if you want to change system disks).

    Make sure your /dev/sdb1 and /dev/sdc1 have the labels mentioned in the
    fstab with the "e2label" command. Look at the man page for the usage.
    It should be pretty straight forward. I'm betting that whomever set up
    the mounts probably forgot to add the labels.

    -Steve

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ed Wilts: "Re: Updating samba passwords"

    Relevant Pages

    • Re: Disk label and /etc/fstab entry?
      ... LABEL inside the disk. ... fstab and mount /u01 I get mount: wrong fs type, bad option, bad ... instead of an ext3 filesystem. ... change the fstab entry to ext2. ...
      (comp.os.linux.misc)
    • Re: [kde] automounting IPOD
      ... changes the disk device name but not the filesystem volume label. ... Archives: http://lists.kde.org/. ...
      (KDE)
    • Re: Alias for pen drives
      ... It depends on the label on the filesystem of the pen. ... but the device node for the drive and ... there is support for automounting inserted filesystems like ...
      (Fedora)
    • Re: Daves Tinkering Again!
      ... This should work exactly the way you want it to, assuming that the LABEL was ... remote filesystem to be mounted. ... For ordinary mounts it will hold a block special device ... I've never seen the syntax for "assigning" the label in a separate line - ...
      (comp.os.linux.misc)
    • Re: Arrgh! Compaq kernel panic after install
      ... > could it be as simple as, you shouldn't try to mount the root ... > filesystem by label, but by device name? ...
      (Fedora)