Score:0

Remove missing sub-LVs from LVM2 raid1 array

ar flag

I have a two drive LVM2 RAID1 array where I've handled two HDD failures. It still works now, but when I examine my logical volume I can see it contains sub LVs for the physical volumes that are no longer there.

root@desktop ~ # lvs -a -o name,devices
LV                   Devices
hdd_raid1            hdd_raid1_rimage_0(0),hdd_raid1_rimage_1(0),hdd_raid1_rimage_2(0),hdd_raid1_rimage_3(0
[hdd_raid1_rimage_0] /dev/sdb1(1)                                      
[hdd_raid1_rimage_1]                                                   
[hdd_raid1_rimage_2]                                                   
[hdd_raid1_rimage_3] /dev/sda1(1)                                      
[hdd_raid1_rmeta_0]  /dev/sdb1(0)                                      
[hdd_raid1_rmeta_1]                                                    
[hdd_raid1_rmeta_2]  [hdd_raid1_rmeta_3]  /dev/sda1(0)

How do I remove hdd_raid1_r{image,meta}_{1,2}?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.