linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Using pvcreate with file...
@ 2006-07-31 17:59 Arsen Hayrapetyan
  0 siblings, 0 replies; only message in thread
From: Arsen Hayrapetyan @ 2006-07-31 17:59 UTC (permalink / raw)
  To: linux-lvm

Hello,

I am newbe to the lvm and I have the following issue:
My system is partitioned in the following way:

===============================================================
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          16      128488+  83  Linux
/dev/hda2              17        4767    38162407+  83  Linux
/dev/hda3            4768        4865      787185   82  Linux swap
===============================================================
There is no free space left on the disk.

I created the separate files, which I want to be lvm-enabled; I 
used the following commands:

==============================================================
#> cd /
#> dd if=/dev/zero  of=vm1disk bs=1k seek=16384k count=1
#> mkfs -t ext3 vm1disk

#> dd if=/dev/zero of=vm1swap bs=1024k count=1 
#> mkswap vm1swap
==============================================================

Now I want to initialize that "disk" for lvm-use.
So what I need to do?

pvcrete ..........................?

I had a look at the documentation, but they deal with real partitions
and disks (as far as I understood), not with files...

Thanks in advance to everyone who responds,
Arsen. 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-31 17:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-31 17:59 [linux-lvm] Using pvcreate with file Arsen Hayrapetyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).