Comment 4 for bug 1219963

Revision history for this message
Eric Harney (eharney) wrote :

Another option is to use "vgs --units B" instead of LC_NUMERIC=C, which may make things more clear.

$ sudo vgs
  VG #PV #LV #SN Attr VSize VFree
  vg_eharney 1 6 1 wz--n- 465.25g 12.97g
(en_US)

$ LC_NUMERIC='C' sudo vgs
  VG #PV #LV #SN Attr VSize VFree
  vg_eharney 1 6 1 wz--n- 465.25g 12.97g

$ LC_NUMERIC='es_ES.UTF-8' sudo vgs
  VG #PV #LV #SN Attr VSize VFree
  vg_eharney 1 6 1 wz--n- 465,25g 12,97g

$ sudo vgs --units B
  VG #PV #LV #SN Attr VSize VFree
  vg_eharney 1 6 1 wz--n- 499558383616B 13925089280B