[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] vgchange -an question with disconnected disks



On Thu, Feb 02, 2006 at 10:06:47AM -0800, John DeFranco wrote:
> My question is that is there a 
> way to force the deactivation to occur in this case?
 
Not from lvm2 unless you restore the metadata from a backup
first.

To remove the logical volumes from the kernel, use 'dmsetup'.
List what's there: dmsetup info -c
*After* ensuring the open count is 0, remove individually
with 'dmsetup remove' or all at once with 'dmsetup remove_all'.

Alasdair
-- 
agk redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]