[linux-lvm] Maximum address used by a virtual disk on a thin pool.

Gionatan Danti g.danti at assyoma.it
Thu Jun 13 19:54:35 UTC 2019


Il 13-06-2019 18:05 Ilia Zykov ha scritto:
> Hello.
> Tell me please, how can I get the maximum address used by a virtual 
> disk
> (disk created with -V VirtualSize). I have several large virtual disks,
> but they use only a small part at the beginning of the disk. For 
> example:
> 
> # lvs
>   LV         VG  Attr       LSize   Pool     Origin Data%
>   mylvm      CVG Vwi-aot--- 100,00g fastheap        7,13
> 
> 
> Please advise me how to determine from which address the virtual disk
> did not allocate real disk space? And all the data read from addresses
> greater than this address will be exactly zeros. Or maybe, how can I 
> get
> map of the used chunks of disk?
> 
> Thanks.

Maybe thin_dump[1] can help you?
Regards.

[1] https://linux.die.net/man/8/thin_dump

-- 
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8




More information about the linux-lvm mailing list