linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: "Michael T. Babcock" <mike@mikebabcock.ca>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Xraids and lvm
Date: Thu, 25 May 2006 10:13:41 -0400	[thread overview]
Message-ID: <4475BB95.3070509@mikebabcock.ca> (raw)
In-Reply-To: <20060525133420.GD3674@percy.comedia.it>

Luca Berra wrote:
> On Thu, May 25, 2006 at 08:45:13AM -0400, Dustin Schuemann wrote:
>> I have two xraid's that are on /dev/sda1 and /dev/sdb1. The device on
>> /dev/sda1 is formatted ext3. What I would like to do is format 
>> /dev/sdb1 as
>> ext3 and then create a volume out of the two that doesn't lose the 
>> data on
>> /dev/sda1. Is this possible without reformatting and then creating the
>> volume and copying back.
>
> NO
>
However, you could make a VG with just sdb1 instead of formatting it 
ext3, create the LV on it, format /that/ as ext3 and copy the sda1 data 
to the new LV (on sdb1).  Once copied off, you can make a PV over top of 
sda1 (erasing it) and add it to the same VG, making your VG span both 
devices without losing data.

This only works if you're not booting off sda1 and if sdb1 is at least 
as big as the data set on sda1.
-- 
Michael T. Babcock
http://mikebabcock.ca

      reply	other threads:[~2006-05-25 14:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-25 12:45 [linux-lvm] Xraids and lvm Dustin Schuemann
2006-05-25 13:34 ` Luca Berra
2006-05-25 14:13   ` Michael T. Babcock [this message]

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=4475BB95.3070509@mikebabcock.ca \
    --to=mike@mikebabcock.ca \
    --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).