* [linux-lvm] Raid 0+1
@ 2004-07-21 12:22 Wayne Pascoe
0 siblings, 0 replies; 5+ messages in thread
From: Wayne Pascoe @ 2004-07-21 12:22 UTC (permalink / raw)
To: linux-lvm
Hi all,
I am working on a project to evaluate LVM2 against Veritas Volume
Manager for a new Linux deployment. I am trying to get a Raid 0+1
solution working and I'm struggling.
So far, this is where I am:
1. I created 8GB partitions on 4 disks, sdb, sdc, sdd and sde, and set
their partition types to 8e with fdisk
2. I then ran vgscan, follwed by pvcreate /dev/sdb1, /dev/sdc1,
/dev/sdd1, /dev/sde1
3. Next, I created 2 volume groups as follows:
vgcreate StripedData1 /dev/sdb1 /dev/sdc1
vgcreate StripedData2 /dev/sdd1 /dev/sde1
4. Next, I created 2 volumes, one in each group as follows:
lvcreate -i 2 -I 64 -n Data1 -L 6G StripedData1
lvcreate -i 2 -I 64 -n Data2 -L 6G StripedData2
Now I have 2 striped volumes, but no redundancy. This is where I think
things start to go wrong.
5. I now create a raid device, /dev/md0 consisting of these two
volumes. I run mkraid on this, create a file system, and mount it on
/Data1. This all works fine, and I have a 6GB filesystem on /Data1
Now I need to be able to resize this whole solution, and I'm not sure
if the way I've built it caters for what I need to do...
I unmount /Data1 and use lvextend to extend the 2 volumes from 6GB to
7.5GB. This succeeds. Now even though both of the volumes that make up
/dev/md0 are extended, I cannot resize /dev/md0 using resize2fs
/dev/md0
Can anyone advise me how I can achieve what I'm looking for here ? I'm
guessing maybe I did things the wrong way around, but I can't find a
solution that will give me both striping and mirroring :(
Thanks in advance,
--
Wayne Pascoe
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [linux-lvm] Raid 0+1
@ 2004-07-21 14:41 Vinesh Christopher
2004-07-21 15:12 ` Wayne Pascoe
0 siblings, 1 reply; 5+ messages in thread
From: Vinesh Christopher @ 2004-07-21 14:41 UTC (permalink / raw)
To: 'LVM general discussion and development'
The softraid comes with linux does not support resize.
Try DM + EVMS. This is much simpler and powerful. You can create Raid over
Raid (Any raid level not limited to 0 and 1)
The next EVMS release 2.4 scheduled for Aug 2004, has features to resize
RAID 1 and 4/5.
-----Original Message-----
From: Wayne Pascoe [mailto:lists-june2004@penguinpowered.org]
Sent: Wednesday, July 21, 2004 8:23 AM
To: linux-lvm@redhat.com
Subject: [linux-lvm] Raid 0+1
Hi all,
I am working on a project to evaluate LVM2 against Veritas Volume
Manager for a new Linux deployment. I am trying to get a Raid 0+1
solution working and I'm struggling.
So far, this is where I am:
1. I created 8GB partitions on 4 disks, sdb, sdc, sdd and sde, and set
their partition types to 8e with fdisk
2. I then ran vgscan, follwed by pvcreate /dev/sdb1, /dev/sdc1,
/dev/sdd1, /dev/sde1
3. Next, I created 2 volume groups as follows:
vgcreate StripedData1 /dev/sdb1 /dev/sdc1
vgcreate StripedData2 /dev/sdd1 /dev/sde1
4. Next, I created 2 volumes, one in each group as follows:
lvcreate -i 2 -I 64 -n Data1 -L 6G StripedData1
lvcreate -i 2 -I 64 -n Data2 -L 6G StripedData2
Now I have 2 striped volumes, but no redundancy. This is where I think
things start to go wrong.
5. I now create a raid device, /dev/md0 consisting of these two
volumes. I run mkraid on this, create a file system, and mount it on
/Data1. This all works fine, and I have a 6GB filesystem on /Data1
Now I need to be able to resize this whole solution, and I'm not sure
if the way I've built it caters for what I need to do...
I unmount /Data1 and use lvextend to extend the 2 volumes from 6GB to
7.5GB. This succeeds. Now even though both of the volumes that make up
/dev/md0 are extended, I cannot resize /dev/md0 using resize2fs
/dev/md0
Can anyone advise me how I can achieve what I'm looking for here ? I'm
guessing maybe I did things the wrong way around, but I can't find a
solution that will give me both striping and mirroring :(
Thanks in advance,
--
Wayne Pascoe
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [linux-lvm] Raid 0+1
2004-07-21 14:41 [linux-lvm] Raid 0+1 Vinesh Christopher
@ 2004-07-21 15:12 ` Wayne Pascoe
2004-07-21 18:22 ` Barnz
0 siblings, 1 reply; 5+ messages in thread
From: Wayne Pascoe @ 2004-07-21 15:12 UTC (permalink / raw)
To: LVM general discussion and development
> The softraid comes with linux does not support resize.
>
> Try DM + EVMS. This is much simpler and powerful. You can create Raid
> over
> Raid (Any raid level not limited to 0 and 1)
> The next EVMS release 2.4 scheduled for Aug 2004, has features to
> resize
> RAID 1 and 4/5.
Thanks. I'm replying privately, as I'm not sure if this is relevant to
the lvm-list :)
Is there any beta stuff that I can play with now ? If so, where can I
get hold of it ?
I'm very keen to win this comparison and remove VxVM and possibly VxFS
from the Linux environment.
Regards,
--
Wayne Pascoe
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [linux-lvm] Raid 0+1
@ 2004-07-21 18:19 Vinesh Christopher
0 siblings, 0 replies; 5+ messages in thread
From: Vinesh Christopher @ 2004-07-21 18:19 UTC (permalink / raw)
To: 'LVM general discussion and development'
http://evms.sourceforge.net/
-----Original Message-----
From: Wayne Pascoe [mailto:lists-june2004@penguinpowered.org]
Sent: Wednesday, July 21, 2004 11:12 AM
To: LVM general discussion and development
Subject: RE: [linux-lvm] Raid 0+1
> The softraid comes with linux does not support resize.
>
> Try DM + EVMS. This is much simpler and powerful. You can create Raid
> over
> Raid (Any raid level not limited to 0 and 1)
> The next EVMS release 2.4 scheduled for Aug 2004, has features to
> resize
> RAID 1 and 4/5.
Thanks. I'm replying privately, as I'm not sure if this is relevant to
the lvm-list :)
Is there any beta stuff that I can play with now ? If so, where can I
get hold of it ?
I'm very keen to win this comparison and remove VxVM and possibly VxFS
from the Linux environment.
Regards,
--
Wayne Pascoe
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Raid 0+1
2004-07-21 15:12 ` Wayne Pascoe
@ 2004-07-21 18:22 ` Barnz
0 siblings, 0 replies; 5+ messages in thread
From: Barnz @ 2004-07-21 18:22 UTC (permalink / raw)
To: LVM general discussion and development
> > The softraid comes with linux does not support resize.
> >
> > Try DM + EVMS. This is much simpler and powerful. You can create Raid
> > over
> > Raid (Any raid level not limited to 0 and 1)
> > The next EVMS release 2.4 scheduled for Aug 2004, has features to
> > resize
> > RAID 1 and 4/5.
>
> Thanks. I'm replying privately, as I'm not sure if this is relevant to
> the lvm-list :)
>
> Is there any beta stuff that I can play with now ? If so, where can I
> get hold of it ?
>
The main EVMS page is: http://evms.sourceforge.net/
and the Device-Mapper Resource page is: http://sources.redhat.com/dm/
Currently there are no v2.4 packages/sources floating around though... :-/
I am very keen to experiment with them too.
-VolVE
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-07-21 18:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-21 14:41 [linux-lvm] Raid 0+1 Vinesh Christopher
2004-07-21 15:12 ` Wayne Pascoe
2004-07-21 18:22 ` Barnz
-- strict thread matches above, loose matches on Subject: below --
2004-07-21 18:19 Vinesh Christopher
2004-07-21 12:22 Wayne Pascoe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox