Re: WARNING: at fs/block_dev.c:5 when removing LV on removed device

From: Andi Kleen
Date: Thu Jun 18 2015 - 14:08:16 EST


> 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@xxxxxxxxxxxxxxx -- Speaking for myself only.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/