From: mixalis cossenas <mixalis@evoip.gr>
To: linux-lvm@redhat.com
Subject: [linux-lvm] open count 1 blocking me from removing unused lv..
Date: Wed, 30 Jan 2013 10:43:46 +0200 (EET) [thread overview]
Message-ID: <395414939.172.1359535426366.JavaMail.root@mail.evoip.gr> (raw)
good day sirs,
i am using SLES sp1 on an IBM system z mainframe (s390 arch with DASD disks)
and i am facing the following problem...
i have one VG with 2 LVs ,the data from second lv was moved elsewere and i want
to remove the lv and free up the DASD disks BUT i have a problem...
when the data was moved ALL related daemons/programs writing/reading files on this lv
should be closed...but they werent.. :(
using lsof i found some apps accessing the old lv and they were killed,
also checking /proc/locks revealed programs that were closed...
tried to remove the lv by using lvremove but failed ,dmsetup -c info shows:
Name Maj Min Stat Open Targ Event UUID
system-home 253 0 L--w 1 1 0 LVM-QNFhmaviXPV05YkWno62o7zaEqaM3OMgcp1bhHr4HNLEaMskAgBUGkGAqeHwnXMV
open count is 1 and i cant find who/which keeps it open...
lsof shows nothing....
cat /proc/locks | grep fd:00 shows nothing...
tried to remove it by using
lvremove system-home
dmsetup remove system-home
dmsetup --force remove system-home
nothing....
any ideas (i am trying to avoid reboot) on how can i find what is keeping my lv open...?
regards
Michael Cossenas.
reply other threads:[~2013-01-30 8:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=395414939.172.1359535426366.JavaMail.root@mail.evoip.gr \
--to=mixalis@evoip.gr \
--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 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.