Status: New
Owner: ----

New issue 711 by [email protected]: hcheck reports missing disk space for reserved-lvs
http://code.google.com/p/ganeti/issues/detail?id=711

[ganeti 2.9.2]

You can use "gnt-cluster modify --reserved-lvs=...." to mark certain logical volumes to be ignored by ganeti. This allows you to allocate LVs from ganeti's VG for other purposes on the host, and stops them being reported as erroneous by gnt-cluster verify.

However, hcheck still reports these logical volumes as "missing" disk space.

# hcheck -m cloud.example.net
Warning: cluster has inconsistent data:
  - node master.example.net is missing -7 MB ram and 35 GB disk
  - node node1.example.net is missing -920 MB ram and 31 GB disk

(Aside: the RAM calculation issue is already noted in ticket 127)

lvscan on the two nodes shows:

# lvscan
  ACTIVE            '/dev/xenvg/root' [9.31 GiB] inherit
  ACTIVE            '/dev/xenvg/swap' [7.45 GiB] inherit
  ACTIVE            '/dev/xenvg/var' [18.62 GiB] inherit
ACTIVE '/dev/xenvg/8564e7de-dc38-43b2-ac1f-be857f3fcce3.disk0_data' [50.00 GiB] inherit ACTIVE '/dev/xenvg/8564e7de-dc38-43b2-ac1f-be857f3fcce3.disk0_meta' [128.00 MiB] inherit

(Total host LVs: 35.38GB)

# lvscan
  ACTIVE            '/dev/xenvg/root' [5.59 GiB] inherit
  ACTIVE            '/dev/xenvg/swap' [7.45 GiB] inherit
  ACTIVE            '/dev/xenvg/var' [18.62 GiB] inherit
ACTIVE '/dev/xenvg/8564e7de-dc38-43b2-ac1f-be857f3fcce3.disk0_data' [50.00 GiB] inherit ACTIVE '/dev/xenvg/8564e7de-dc38-43b2-ac1f-be857f3fcce3.disk0_meta' [128.00 MiB] inherit

(Total host LVs: 31.66GB)

So the "missing" disk space is exactly that allocated to the --reserved-lvs


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to