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

Re: [Libguestfs] [PATCH 4/5] daemon: lvm: list PVs/VGs/LVs with --foreign

On Tue, Jul 26, 2016 at 05:41:28PM +0200, Pino Toscano wrote:
> The appliance has no LVM system ID set, which means that lvm commands
> will ignore VGs with a system ID set to anything.  Since we want to work
> with them, pass --foreign at least when listing them to see them.
> See also lvmsystemid(7).

This is sort of a hack, if I'm understanding correctly.  Can we not
instead give the appliance a "system ID"?

Also, lvm(8) says:

              Cause the command to access foreign VGs, that would otherwise be
              skipped.  It can be used to report or display a VG that is owned
              by  another  host.   This  option can cause a command to perform
              poorly because lvmetad caching is not used and metadata is  read
              from disks.

which sounds bad.


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.

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