From: csanyipal@gmail.com
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] lvcreate - device not cleared Aborting. Failed to wipe start of new LV.
Date: Sun, 21 Jun 2015 07:49:09 +0200 [thread overview]
Message-ID: <877fqxehm2.fsf@gmail.com> (raw)
In-Reply-To: CAE8gLhmgtXCy4gdG_HyNRg3NugFzUS_awcN-NFNqFvtOG_R7=A@mail.gmail.com
MegaBrutal <megabrutal@gmail.com> writes:
> 2015-06-19 17:02 GMT+02:00 <csanyipal@gmail.com>:
>> I'm not sure whether was on this system created the VG 'bubba' with lvm
>> version 1, so maybe this issue is related to that fact that it was
>> really created with lvm version 1?
>
> That your LVM library version is 1.02.90 (which is afaik the latest on
> the Debian line), doesn't mean that you use LVM1 metadata. It is very
> likely that you use LVM2. To check, you can see the output of "pvs"
> ("Fmt" = "lvm2"), or you can check "file -Lks /dev/sda2" where the
> output should start with "/dev/sda2: LVM2 PV (Linux Logical Volume
> Manager)".
# pvs
PV VG Fmt Attr PSize PFree
/dev/sda2 bubba lvm2 a-- 455.42g 425.22g
# file -Lks /dev/sda2
/dev/sda2: LVM2 PV (Linux Logical Volume Manager), UUID: \
SMvR2K-6Z3c-xCgd-jSR2-kb1A-15a2-3RiS6V, size: 489009346560
Indeed, my LVM library version is lvm2.
>> What is the solution for my problem?
>
> Please also try to run lvcreate with "--verbose" and post the output.
# lvcreate --verbose --size 10.10G -n var bubba
DEGRADED MODE. Incomplete RAID LVs will be processed.
Setting logging type to disk
Finding volume group "bubba"
Rounding up size to full physical extent 10.10 GiB
Archiving volume group "bubba" metadata (seqno 48).
Creating logical volume var
Creating volume group backup \
"/etc/lvm/backup/bubba" (seqno 49).
Activating logical volume "var".
activation/volume_list configuration setting not defined:
Checking only host tags for bubba/var
Creating bubba-var
Loading bubba-var table (253:2)
Resuming bubba-var (253:2)
/dev/bubba/var: not found: device not cleared
Aborting. Failed to wipe start of new LV.
Removing bubba-var (253:2)
Creating volume group backup \
"/etc/lvm/backup/bubba" (seqno 50).
semid 327688: semop failed for cookie 0xd4d12bb: \
incorrect semaphore state
Failed to set a proper state for notification semaphore \
identified by cookie value 223154875 (0xd4d12bb) to \
initialize waiting for incoming notifications.
--
Regards from Pal
next prev parent reply other threads:[~2015-06-21 5:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-19 15:02 [linux-lvm] lvcreate - device not cleared Aborting. Failed to wipe start of new LV csanyipal
2015-06-19 22:55 ` MegaBrutal
2015-06-21 5:49 ` csanyipal [this message]
2015-06-21 16:43 ` Zdenek Kabelac
2015-06-21 17:10 ` csanyipal
2015-06-23 3:48 ` MegaBrutal
2015-06-23 6:22 ` csanyipal
2015-06-23 8:44 ` Zdenek Kabelac
2015-06-19 23:09 ` Alasdair G Kergon
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=877fqxehm2.fsf@gmail.com \
--to=csanyipal@gmail.com \
--cc=linux-lvm@redhat.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 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).