linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Xraids and lvm
@ 2006-05-25 12:45 Dustin Schuemann
  2006-05-25 13:34 ` Luca Berra
  0 siblings, 1 reply; 3+ messages in thread
From: Dustin Schuemann @ 2006-05-25 12:45 UTC (permalink / raw)
  To: linux-lvm

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.

Thanks

-------------------------------------
Dustin Schuemann
AMS The Support Department
549 Ottawa Ave NW #103
Grand Rapids, MI 49503
(616) 235-0725
schuemann@supportdept.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Xraids and lvm
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Luca Berra @ 2006-05-25 13:34 UTC (permalink / raw)
  To: linux-lvm

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

-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-lvm] Xraids and lvm
  2006-05-25 13:34 ` Luca Berra
@ 2006-05-25 14:13   ` Michael T. Babcock
  0 siblings, 0 replies; 3+ messages in thread
From: Michael T. Babcock @ 2006-05-25 14:13 UTC (permalink / raw)
  To: linux-lvm

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-05-25 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).