vgreduce --removemissing does not remove missing

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

 



We have had a disk failure and are trying to recover
what we can.  Having seen that there were major disk
problems we were running pvmove but, alas, it never
finished.  I don't care that much about the data on
the disk but I am puzzled as to why 'vgreduce
--removemissing' reports that it is removing logical
volumes but does not actually seem to do anything. 
When I run vgscan this is what I get:

Reading all physical volumes.  This may take a
while...
/dev/cdrom: open failed: No medium found
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Couldn't find all physical volumes for volume group
VolGroup00.
Volume group "VolGroup00" not found
Found volume group "VolGroup01" using metadata type
lvm2

Then I run:
vgreduce --verbose --removemissing VolGroup00
Finding volume group "VolGroup00"
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Couldn't find all physical volumes for volume group
VolGroup00.
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Archiving volume group "VolGroup00" metadata.
VolGroup00/pvmove0 has missing extents: removing
(including dependencies)
Deactivating (if active) logical volume pvmove0
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Found volume group "VolGroup00"
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Found volume group "VolGroup00"
Removing LV pvmove0 from VG VolGroup00
VolGroup00/pvmove0 has missing extents: removing
(including dependencies)
Deactivating (if active) logical volume pvmove0
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Found volume group "VolGroup00"
Couldn't find device with uuid
'Ay85t2-628y-fE0f-js0t-8RO4-WAy4-9qbaZy'.
Found volume group "VolGroup00"
Removing LV pvmove0 from VG VolGroup00

It looks to me that it is removing the pvmove0 LV but
when I run vgscan again it says the same thing about
not finding device with uuid ...  Am I not
understanding what vgreduce is trying to do or should
that pv have been removed?




		
__________________________________ 
Discover Yahoo! 
Find restaurants, movies, travel and more fun for the weekend. Check it out! 
http://discover.yahoo.com/weekend.html 

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux