* [linux-lvm] Why the problem with LVcreate with a specific name?
@ 2009-04-06 22:45 Theophanis Kontogiannis
2009-04-06 22:52 ` Alasdair G Kergon
0 siblings, 1 reply; 2+ messages in thread
From: Theophanis Kontogiannis @ 2009-04-06 22:45 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 2061 bytes --]
Hello all,
I have CentOS 5.3 with:
lvm2-2.02.40-6.el5
system-config-lvm-1.1.5-1.0.el5
lvm2-cluster-2.02.40-7.el5
I try to create a new full disk clustered LV
When I do [root@tweety-1 /]# lvcreate -v -L 931.48G -n data2 vg1
Setting logging type to disk
Finding volume group "vg1"
Rounding up size to full physical extent 931.48 GB
Archiving volume group "vg1" metadata (seqno 21).
Creating logical volume data2
Creating volume group backup "/etc/lvm/backup/vg1" (seqno 22).
Clearing start of logical volume "data2"
Creating volume group backup "/etc/lvm/backup/vg1" (seqno 22).
Logical volume "data2" created
[root@tweety-1 /]# lvdisplay
--- Logical volume ---
LV Name /dev/vg1/data2
VG Name vg1
LV UUID xA0oky-7VaD-P8a3-8aAC-2jGy-R9Ij-1L3bvR
LV Write Access read/write
LV Status available
# open 0
LV Size 931.48 GB
Current LE 238459
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
It gets created succefully.
When I run the same command but with data1 instead of data2, I get the
following error:
[root@tweety-1 /]# lvcreate -v -L 931.48G -n data1 vg1
Setting logging type to disk
Finding volume group "vg1"
Rounding up size to full physical extent 931.48 GB
Archiving volume group "vg1" metadata (seqno 23).
Creating logical volume data1
Creating volume group backup "/etc/lvm/backup/vg1" (seqno 24).
Error locking on node tweety1: device-mapper: create ioctl failed: Device
or resource busy
Aborting. Failed to activate new LV to wipe the start of it.
Creating volume group backup "/etc/lvm/backup/vg1" (seqno 25).
Could you help me find out what is blocking data1 as a valid name?
I am lost and I do not know where to start from.
Thank you all for your time.
Theophanis Kontogiannis.
[-- Attachment #2: Type: text/html, Size: 9839 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] Why the problem with LVcreate with a specific name?
2009-04-06 22:45 [linux-lvm] Why the problem with LVcreate with a specific name? Theophanis Kontogiannis
@ 2009-04-06 22:52 ` Alasdair G Kergon
0 siblings, 0 replies; 2+ messages in thread
From: Alasdair G Kergon @ 2009-04-06 22:52 UTC (permalink / raw)
To: Theophanis Kontogiannis; +Cc: linux-lvm
Look at kernel messages.
A failed earlier command perhaps?
Output of
# dmsetup info -c
would tell you if it was that.
Alasdair
--
agk@redhat.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-06 22:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-06 22:45 [linux-lvm] Why the problem with LVcreate with a specific name? Theophanis Kontogiannis
2009-04-06 22:52 ` Alasdair G Kergon
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).