All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] lvremove does not remove /dev/mapper/...-cow... and ...-real...
@ 2016-04-24 21:36 Tomas Dalebjork
  2016-04-26 16:38 ` Linda A. Walsh
  0 siblings, 1 reply; 2+ messages in thread
From: Tomas Dalebjork @ 2016-04-24 21:36 UTC (permalink / raw)
  To: LVM general discussion and development

[-- Attachment #1: Type: text/plain, Size: 528 bytes --]

Hi.

I have noticed that if a thick snapshot device is created
# /sbin/lvcreate --size size --snapshot --name snap /dev/system/lvname
And later removed
# /sbin/lvremove system/lvname 

Than the symbolic link files under /dev/mapper/ is not removed

This is applicable on RHEL7 and sometimes on RHEL6.

Is this a known bug?
Or why is the links still there?

Regards Tomas 
Tomas Dalebjörk | CIO
+46 (0)31 322 4359
REPOSTOR AB
Första Långgatan 19, 41327 Göteborg, Sweden

Follow us at
Twitter | http://twitter.com/#repostor-ab

[-- Attachment #2: Type: text/html, Size: 658 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] lvremove does not remove /dev/mapper/...-cow... and ...-real...
  2016-04-24 21:36 [linux-lvm] lvremove does not remove /dev/mapper/...-cow... and ...-real Tomas Dalebjork
@ 2016-04-26 16:38 ` Linda A. Walsh
  0 siblings, 0 replies; 2+ messages in thread
From: Linda A. Walsh @ 2016-04-26 16:38 UTC (permalink / raw)
  To: LVM general discussion and development





Tomas Dalebjork wrote:
> Hi.
>
> I have noticed that if a thick snapshot device is created
> # /sbin/lvcreate --size size --snapshot --name snap /dev/system/lvname
> And later removed
> # /sbin/lvremove system/lvname
----
It's been known to me, and I mentioned it a few-several years
back.

I use dmsetup to remove those extra partitions after ensuring they
are no longer active.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-26 16:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-24 21:36 [linux-lvm] lvremove does not remove /dev/mapper/...-cow... and ...-real Tomas Dalebjork
2016-04-26 16:38 ` Linda A. Walsh

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.