linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Ragnar Kjørstad" <lvm@ragnark.vestdata.no>
To: linux-lvm@msede.com
Subject: [linux-lvm] Re: converting a filesystem to a logic volume
Date: Wed, 12 Apr 2000 21:14:53 +0200	[thread overview]
Message-ID: <20000412211453.C21004@vestdata.no> (raw)


Is it needed to move the filesystem in question to do this?

Whould not the following work:
* Create the VG that should contain the filesystem
  This must be created on some other device. If the disk in question is
  full, it's possible to
   * shrink the filesystem
   * shrink the partition
   * create a new partition after the one with the filesystem
  and use the new partition for the VG.
* Add the device with the filesystem as a new PV in the existing VG.
  The LV can cover the PV completely, and the filesystem does not have
  to be shrinked or moved

This will only work assuming that LVM does not have to store any
metadata on every PV. Does it?

Moving filesystems should be avoided if possible.


-- 
Ragnar Kj�rstad

             reply	other threads:[~2000-04-12 19:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-12 19:14 Ragnar Kjørstad [this message]
2000-04-12 22:35 ` [linux-lvm] Re: converting a filesystem to a logic volume bert hubert

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=20000412211453.C21004@vestdata.no \
    --to=lvm@ragnark.vestdata.no \
    --cc=linux-lvm@msede.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).