All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] cant mount LV via partition/filesystem labels
Date: Thu Nov  7 11:24:01 2002	[thread overview]
Message-ID: <20021107181852.D8382@sistina.com> (raw)
In-Reply-To: <3DCA84BB.9050404@jumpline.com>; from ben@jumpline.com on Thu, Nov 07, 2002 at 10:20:27AM -0500

On Thu, Nov 07, 2002 at 10:20:27AM -0500, Ben Snyder wrote:
> Here's what I've got:
> 
> RH7.2, kernel  2.4.9-34enterprise
> 
> 1 physical volume each on /dev/sda9 and /dev/sdb1
> one logical volume over these two PV's
> 
> I've labeled the filesystem via 'tune2fs' and want to use the label for 
> mounting purposes, as is the default with the other (non-LVM) filesystems
> 
> 'vgscan' and 'vgchange -a y' have been performed
> 'vgdisplay' and 'lvdisplay' tell me all is well - everthing is 
> read/write and available
> 'fsck' on the physical path reports clean...
> 
> If I attempt to mount via the physical path to the LV, providing the 
> mount point, everything works fine
> 
> However, mount refuses to mount via filesystem/partition label, 
> regardless if I use '-L' and provide the label or use the mountpoint and 
> let mount figure it out on its own from /etc/fstab.  I get 'mount: no 
> such partition found' (it is in /etc/fstab correctly, already checked that).
> 
> Am I missing something about labels?  Maybe some other remedial 
> filesystem characteristics/operations that I've missed because of 
> cranius-up-rectus (head up a$$).
> 
> Thanks in advance for feedback/suggestions.

Ben,
say your logical volume path is /dev/vg00/lv01 and that LV
holds your ext2 filesystem.

tune2fs -L Whatever /dev/vg00/lv01 # labels it with volume name "Whatever"

If you have an entry in /etc/fstab like:
/dev/vg00/lv01	/mnt	ext2	defaults	1 1

running "mount -L Whatever" should do the trick.
Presumably /mnt exists and the volume group is active.

> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2002-11-07 11:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-07  9:21 [linux-lvm] cant mount LV via partition/filesystem labels Ben Snyder
2002-11-07 11:24 ` Heinz J . Mauelshagen [this message]
2002-11-07 11:57 ` Kirby C. Bohling
2002-11-09 13:30   ` Steven Dake
2002-11-09 17:00     ` Kirby C. Bohling
2002-11-12  0:54       ` Kirby C. Bohling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021107181852.D8382@sistina.com \
    --to=mauelshagen@sistina.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.