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

Re: How to use LVM on a file? (as opposed to on a block device)



On Thu, Mar 4, 2010 at 6:29 AM, Clive McBarton <clivemcbarton@web.de> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have a file which is a dump of a disk partition. It has LVM on it and
> a couple of LVs in the LVM, each containing a filesystem. How do I
> access them? The lvm tools like lvdisplay, vgdisplay, lvs, lvscan,
> lvdiskscan expect block devices and do not have the option of using a
> file instead of /dev/something. I'd like to use the LVM on the file
> without writing it out as a real disk partion. How do I do that?

I would guess you could look in /etc/lvm/lvm.conf  - it defines where
it looks for pv

>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkuOuH0ACgkQ+VSRxYk4408yOACg6Pu2Md50e0BH77aB04oiGyuC
> PEwAoOzQZs/4x9Z2rRlUVrDSifGLn0fP
> =fzWE
> -----END PGP SIGNATURE-----
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 4B8EB87D.1050200@web.de">http://lists.debian.org/[🔎] 4B8EB87D.1050200@web.de
>


Reply to: