[linux-lvm] LVM blocks discard for remove commands

Stuart D. Gathman stuart at bmsi.com
Wed Oct 19 14:37:51 UTC 2011

On Wed, 19 Oct 2011, Mike Snitzer wrote:

>> Does it apply for the blocks holding meta data,
>> e.g. will pvremove issue discard requests for the PV meta data ?
> The discards are only issued for the physical extents that were used in
> a volume's data area.  PV metadata isn't discarded, and really there
> would be little benefit to doing so.

The metadata is written over so that the PV is no longer recognized. 
I think that issuing a discard for the metadata would actually be

 	      Stuart D. Gathman <stuart at bmsi.com>
     Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.

More information about the linux-lvm mailing list