NetBSD-Users archive

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

Re: Access GPT partitions on LVM volumes (map entry doesn't fit media)



Matthias Petermann <mp%petermann-it.de@localhost> writes:

> Hello everybody,
>
> I have a Xen host on which various NetBSD VMs are installed. The VMs
> are in LVM volumes and are partitioned on the guest side with GPT. I
> would like to back up these LVM volumes as efficiently as possible
> when shut down. I would like to dump the ffs partitions in the LVM
> volumes from the host. However, I don't succeed so far.

Guessing somewhat wildly, so don't take this too seriously:

  it seems tools like gpt sometimes try to find the real device for the
  partition you give.  that might be happening

  you might use vnconfig to put that lvm partition onto vnd0 and then
  back up vnd0.  This basically makes the guest's logical disk be the
  same in the host.  I have done this when I had file-backed disks.
  (I am not claiming there isn't a bug - just that this might solve your
  problem for now.)
  


Home | Main Index | Thread Index | Old Index