Re: [CentOS] LVM not removing LV

2008-08-25 Thread Mag Gam
Its impossible trying to find that deamon. lsof or fuser are no use :-( I just rebooted and was able to remove the LV without any problems. On Mon, Aug 25, 2008 at 8:40 AM, Toby Bluhm <[EMAIL PROTECTED]> wrote: > Mag Gam wrote: >> >> There are too many mount points. Close to 120. I am fairly cert

Re: [CentOS] LVM not removing LV

2008-08-25 Thread Toby Bluhm
Mag Gam wrote: There are too many mount points. Close to 120. I am fairly certain this volume is not mouted. I did a grep -i lvname /proc/mounts Maybe a daemon is still holding your lv device open? Somewhere, maybe this list, I remember a similar discussion where the culprit was a backup ag

Re: [CentOS] LVM not removing LV

2008-08-23 Thread William L. Maltby
On Sat, 2008-08-23 at 06:46 -0700, Mag Gam wrote: > There are too many mount points. Close to 120. I am fairly certain > this volume is not mouted. I did a grep -i lvname /proc/mounts May be your problem? $ cat /proc/mounts rootfs / rootfs rw 0 0 /dev/root / ext3 rw,data=ordered 0 0 /dev /dev tm

Re: [CentOS] LVM not removing LV

2008-08-23 Thread Mag Gam
There are too many mount points. Close to 120. I am fairly certain this volume is not mouted. I did a grep -i lvname /proc/mounts Here is the LV info. --- Logical volume --- LV Name/dev/deptd1_dat_vg01/dat004 VG Namedeptd1_dat_vg01 LV UUID

Re: [CentOS] LVM not removing LV

2008-08-22 Thread nate
Mag Gam wrote: > I can't even deactivate it. Can you post output of lvdisplay -v vgdisplay -v mount Not sure what to suggest at this point I've never had lvremove not work for me, though my lvms have always been setup in a real basic configuration. nate _

Re: [CentOS] LVM not removing LV

2008-08-22 Thread Mag Gam
I can't even deactivate it. On Fri, Aug 22, 2008 at 10:33 AM, Toby Bluhm <[EMAIL PROTECTED]> wrote: > Toby Bluhm wrote: >> >> nate wrote: > > . > . > . >>> >>> Verify that it's deactivated with the lvdisplay command >>> >> >> Current versions of lvm/lvremove will do that automatically. >> > > > .

Re: [CentOS] LVM not removing LV

2008-08-22 Thread Toby Bluhm
Toby Bluhm wrote: nate wrote: . . . Verify that it's deactivated with the lvdisplay command Current versions of lvm/lvremove will do that automatically. . . . but verifying is still a good idea. -- Toby Bluhm Alltech Medical Systems America, Inc. _

Re: [CentOS] LVM not removing LV

2008-08-22 Thread Toby Bluhm
nate wrote: Mag Gam wrote: I am using RHEL 5.1 with custom kernel. Might be something about your custom kernel that affects lvm operations. It could be you have a version mis-match in lvm components in your system. I have a LV I am trying to remove and its keep complaining its open. I hav

Re: [CentOS] LVM not removing LV

2008-08-22 Thread nate
Mag Gam wrote: > I am using RHEL 5.1 with custom kernel. > > > I have a LV I am trying to remove and its keep complaining its open. I > have unmounted the filesystem, lsof shows nothing, fuser shows > nothing. I am certain a reboot will fix it, but I don't know why this > occurs. Can anyone shed so