[dm-devel] WARNING: at fs/block_dev.c:5 when removing LV on removed device

Andi Kleen andi at firstfloor.org
Thu Jun 18 18:08:04 UTC 2015


> Hmm, so you have a filesystem active on it too?

I unmounted it before.

>  
> > Also the VG removal did not work of course.
> 
> Once you resolve the filesystem piece, from vgremove man page:
> 
> "vgremove allows you to remove one or more volume groups.  If one or
> more physical volumes in the volume group are lost, consider vgreduce
> --removemissing to make the volume group metadata consistent again."

Well in any case there should not be WARN()s.

-Andi

-- 
ak at linux.intel.com -- Speaking for myself only.




More information about the dm-devel mailing list