Re: question(s) about LVM snapshots

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



----- "Tony Schreiner" <schreian@xxxxxx> escreveu:
> >
> > When the snap shot volume is mounted, yes you can do df on it. But 
> > that shows you the state of the volume you take the snapshot of at 
> > the time of the snapshot. That's not what I want to know.
> 
> Sorry to answer my own question, but I just learned, lvdisplay shows 
> the amount currently used by the snapshot
> 
> #lvdisplay /dev/vg_data/lv_backup

Hi Tony,

  You can use "lvs" too:

#lvs
  LV        VG   Attr   LSize   Origin Snap%  Move Log Copy%
  home      sys  -wi-ao   2.00G
  opt       sys  owi-ao 250.00G
  root      sys  -wi-ao   1.50G
  usr       sys  -wi-ao   1.50G
  var       sys  -wi-ao   2.00G
  zcssnap   sys  swi-ao 150.00G opt      0.24
  zimbrabkp sys  -wi-ao 150.00G

  "zcssnap" is a snapshot of "opt", and during the time spent to sync it with 
"zimbrabkp" the "difference" between "opt" and it's snapshot was 0.24%, I 
think this is what you are looking for.

  Antonio.


-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analist | "Only The Shadow Knows     |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |       Heart of Men!"       |
| E-Mail: asmartins@xxxxxx / shadow@xxxxxx | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


-- 
Esta mensagem foi verificada pelo sistema de antiv�s e
 acredita-se estar livre de perigo.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux