linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] FS labels and LVM2
@ 2006-05-31 12:04 Oliver Tennert
  2006-06-01 17:19 ` Dieter Stüken
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Tennert @ 2006-05-31 12:04 UTC (permalink / raw)
  To: linux-lvm; +Cc: agk

Hi together,

am I wrong or does mount per FS label not work when the filesystem in 
question is located on a logical volume? We're using a 2.6.11 kernel and a 
SUSE 9.3 distro, so it might be just a question of using the most current 
kernel.

At least, a "mount -a" when a "LABEL=test" entry is in fstab, leads to the 
error:

mount: special device LABEL=test does not exist

But it exists:

localhost:/var/log # xfs_admin -l /dev/mapper/vucf0002vg-fs2
label = "test"

Any idea?

Best regards

Oliver Tennert

__
________________________________________creating IT solutions

Dr. Oliver Tennert
Senior Solutions Engineer
CAx Professional Services
                                        science + computing ag
phone   +49(0)7071 9457-598             Hagellocher Weg 71-75	
fax     +49(0)7071 9457-411             D-72070 Tuebingen, Germany
O.Tennert@science-computing.de          www.science-computing.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] FS labels and LVM2
  2006-05-31 12:04 [linux-lvm] FS labels and LVM2 Oliver Tennert
@ 2006-06-01 17:19 ` Dieter Stüken
  0 siblings, 0 replies; 2+ messages in thread
From: Dieter Stüken @ 2006-06-01 17:19 UTC (permalink / raw)
  To: LVM general discussion and development

Oliver Tennert wrote:
> am I wrong or does mount per FS label not work when the filesystem in 
> question is located on a logical volume? We're using a 2.6.11 kernel and a 
> SUSE 9.3 distro, so it might be just a question of using the most current 
> kernel.
> 
> At least, a "mount -a" when a "LABEL=test" entry is in fstab, leads to the 
> error:
> 
> mount: special device LABEL=test does not exist
> 
> But it exists:
> 
> localhost:/var/log # xfs_admin -l /dev/mapper/vucf0002vg-fs2
> label = "test"
> 
> Any idea?

It does not work any more :-(

mount looks into /dev/partition to find the names of the
devices to scan. Unfortunately the LV names listed here can't
be found under /dev, as they are simply enumerated like "dm-12".

On the other hand: once you have LVM, you don't need no disk
labels any more, as your LVs have expressive names already!

Dieter.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-01 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-31 12:04 [linux-lvm] FS labels and LVM2 Oliver Tennert
2006-06-01 17:19 ` Dieter Stüken

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).