* [linux-lvm] strange logical volume issue
@ 2005-01-10 22:42 messmate
2005-01-11 14:24 ` Alasdair G Kergon
0 siblings, 1 reply; 6+ messages in thread
From: messmate @ 2005-01-10 22:42 UTC (permalink / raw)
To: linux-lvm
Hi list,
there is somewhat strange with a lv of mine: lv_usr-local.
Marked as /dev/mapper/vg1_hda1-lv_usr--local and
as /dev/vg1_hda/lv_usr-local !
See the (-) differences.
I've tryed to change this without success.
Manually, with lvremove and lvcreate.....
Is there a special way to do this changes ?
Thanks for your help in advance.
mess-mate
Forgot to say :
LVM version: 2.00.32 (2004-12-22)
Library version: 1.00.19-ioctl (2004-07-03)
Driver version: 4.1.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] strange logical volume issue
2005-01-10 22:42 [linux-lvm] strange logical volume issue messmate
@ 2005-01-11 14:24 ` Alasdair G Kergon
2005-01-11 16:25 ` Andrew Hilborne
2005-01-11 17:35 ` messmate
0 siblings, 2 replies; 6+ messages in thread
From: Alasdair G Kergon @ 2005-01-11 14:24 UTC (permalink / raw)
To: LVM general discussion and development
On Mon, Jan 10, 2005 at 11:42:40PM +0100, messmate wrote:
> there is somewhat strange with a lv of mine: lv_usr-local.
> Marked as /dev/mapper/vg1_hda1-lv_usr--local and
> as /dev/vg1_hda/lv_usr-local !
> See the (-) differences.
A hyphen in the name in /dev/mapper separates the volume
group name from the logical volume name.
If you put hyphens in either of those names they
get quoted by doubling them up.
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] strange logical volume issue
2005-01-11 14:24 ` Alasdair G Kergon
@ 2005-01-11 16:25 ` Andrew Hilborne
2005-01-12 18:54 ` messmate
2005-01-11 17:35 ` messmate
1 sibling, 1 reply; 6+ messages in thread
From: Andrew Hilborne @ 2005-01-11 16:25 UTC (permalink / raw)
To: linux-lvm
--On 11 January 2005 14:24 +0000 "Alasdair G Kergon agk@redhat.com" wrote:
>
> On Mon, Jan 10, 2005 at 11:42:40PM +0100, messmate wrote:
>> there is somewhat strange with a lv of mine: lv_usr-local.
>> Marked as /dev/mapper/vg1_hda1-lv_usr--local and
>> as /dev/vg1_hda/lv_usr-local !
>>
>> See the (-) differences.
>
> A hyphen in the name in /dev/mapper separates the volume
> group name from the logical volume name.
>
> If you put hyphens in either of those names they
> get quoted by doubling them up.
Yes indeed. Sadly (I now feel) I created my VG with the name "VG-1" and now
I see exactly this "problem."
So far as I can see, I have a VG with this naming issue, some LVs with
*names" which reflect the same problem, and some entries in /etc/fstab (I'm
running Debian on this machine, FWIW) which contain associated /dev/mapper
names.
Now that someone has brought this up, can someone possibly tell me a safe
way to go about renaming things? I was thinking of something like "VG1" :)
--
Andrew Hilborne
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] strange logical volume issue
2005-01-11 16:25 ` Andrew Hilborne
@ 2005-01-12 18:54 ` messmate
0 siblings, 0 replies; 6+ messages in thread
From: messmate @ 2005-01-12 18:54 UTC (permalink / raw)
To: LVM general discussion and development
On Tue, 11 Jan 2005 16:25:23 +0000
"Andrew Hilborne" <cseoqs002@sneakemail.com> wrote:
>--On 11 January 2005 14:24 +0000 "Alasdair G Kergon agk@redhat.com"
>wrote:>
>> On Mon, Jan 10, 2005 at 11:42:40PM +0100, messmate wrote:
>>> there is somewhat strange with a lv of mine: lv_usr-local.
>>> Marked as /dev/mapper/vg1_hda1-lv_usr--local and
>>> as /dev/vg1_hda/lv_usr-local !
>>>
>>> See the (-) differences.
>>
>> A hyphen in the name in /dev/mapper separates the volume
>> group name from the logical volume name.
>>
>> If you put hyphens in either of those names they
>> get quoted by doubling them up.
>
>Yes indeed. Sadly (I now feel) I created my VG with the name "VG-1" and
>now I see exactly this "problem."
>
>So far as I can see, I have a VG with this naming issue, some LVs with
>*names" which reflect the same problem, and some entries in /etc/fstab
>(I'm running Debian on this machine, FWIW) which contain associated
>/dev/mapper names.
>
>Now that someone has brought this up, can someone possibly tell me a
>safe way to go about renaming things? I was thinking of something like
>"VG1" :)
>
>--
>Andrew Hilborne
>
I've named my vg's as vg1_hda , stands for:
vg1 =first vg
_hda = first hd.
The underscore seem safe.
mess-mate
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] strange logical volume issue
2005-01-11 14:24 ` Alasdair G Kergon
2005-01-11 16:25 ` Andrew Hilborne
@ 2005-01-11 17:35 ` messmate
1 sibling, 0 replies; 6+ messages in thread
From: messmate @ 2005-01-11 17:35 UTC (permalink / raw)
To: LVM general discussion and development
On Tue, 11 Jan 2005 14:24:11 +0000
Alasdair G Kergon <agk@redhat.com> wrote:
>On Mon, Jan 10, 2005 at 11:42:40PM +0100, messmate wrote:
>> there is somewhat strange with a lv of mine: lv_usr-local.
>> Marked as /dev/mapper/vg1_hda1-lv_usr--local and
>> as /dev/vg1_hda/lv_usr-local !
>
>> See the (-) differences.
>
>A hyphen in the name in /dev/mapper separates the volume
>group name from the logical volume name.
>
That's right. Between the group-name and the logical volume-name,
do it ?
>If you put hyphens in either of those names they
>get quoted by doubling them up.
>
Also in the logical volume-name ??
The lv-name = lv_usr-local !
It becomes lv_usr--local ??
mess-mate
^ permalink raw reply [flat|nested] 6+ messages in thread
* [linux-lvm] strange logical volume issue
@ 2005-01-10 22:41 messmate
0 siblings, 0 replies; 6+ messages in thread
From: messmate @ 2005-01-10 22:41 UTC (permalink / raw)
To: linux-lvm
Hi list,
there is somewhat strange with a lv of mine: lv_usr-local.
Marked as /dev/mapper/vg1_hda1-lv_usr--local and
as /dev/vg1_hda/lv_usr-local !
See the (-) differences.
I've tryed to change this without success.
Manually, with lvremove and lvcreate.....
Is there a special way to do this changes ?
Thanks for your help in advance.
mess-mate
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-01-12 18:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-10 22:42 [linux-lvm] strange logical volume issue messmate
2005-01-11 14:24 ` Alasdair G Kergon
2005-01-11 16:25 ` Andrew Hilborne
2005-01-12 18:54 ` messmate
2005-01-11 17:35 ` messmate
-- strict thread matches above, loose matches on Subject: below --
2005-01-10 22:41 messmate
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox