linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Arsen Hayrapetyan <ahairape@mail.cern.ch>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Using pvcreate with file...
Date: Mon, 31 Jul 2006 19:59:27 +0200 (CEST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0607311951040.16463@lxplus020.cern.ch> (raw)

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. 

                 reply	other threads:[~2006-07-31 17:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0607311951040.16463@lxplus020.cern.ch \
    --to=ahairape@mail.cern.ch \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).