* raid 0 on different size devices?
@ 2003-11-19 18:57 Dan Egli
2003-11-19 19:00 ` seth vidal
2003-11-19 19:24 ` Mike Dresser
0 siblings, 2 replies; 9+ messages in thread
From: Dan Egli @ 2003-11-19 18:57 UTC (permalink / raw)
To: linux-raid
Can the linux Software Raid handle devices of differing size? Basically my
issue is this: I've got two drives, a 27GB and a 40GB. I really want to
get them accessed as a single device. Is it possible to stack these drives
using like a raid 0?
Thanks!
--- Dan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: raid 0 on different size devices?
2003-11-19 18:57 raid 0 on different size devices? Dan Egli
@ 2003-11-19 19:00 ` seth vidal
2003-11-19 19:18 ` Hermann Himmelbauer
2003-11-19 19:24 ` Mike Dresser
1 sibling, 1 reply; 9+ messages in thread
From: seth vidal @ 2003-11-19 19:00 UTC (permalink / raw)
To: Dan Egli; +Cc: linux-raid
On Wed, 2003-11-19 at 13:57, Dan Egli wrote:
> Can the linux Software Raid handle devices of differing size? Basically my
> issue is this: I've got two drives, a 27GB and a 40GB. I really want to
> get them accessed as a single device. Is it possible to stack these drives
> using like a raid 0?
yes - but having the both be the same speed would be a good thing.
-sv
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: raid 0 on different size devices?
2003-11-19 19:00 ` seth vidal
@ 2003-11-19 19:18 ` Hermann Himmelbauer
2003-11-19 19:22 ` seth vidal
0 siblings, 1 reply; 9+ messages in thread
From: Hermann Himmelbauer @ 2003-11-19 19:18 UTC (permalink / raw)
To: seth vidal, Dan Egli; +Cc: linux-raid
On Wednesday 19 November 2003 20:00, seth vidal wrote:
> On Wed, 2003-11-19 at 13:57, Dan Egli wrote:
> > Can the linux Software Raid handle devices of differing size? Basically
> > my issue is this: I've got two drives, a 27GB and a 40GB. I really want
> > to get them accessed as a single device. Is it possible to stack these
> > drives using like a raid 0?
>
> yes - but having the both be the same speed would be a good thing.
AFAIK they have to be of equal size but as you can create a 27GB partition on
the 40GB drive, you could at least get 54GB out of this configuration.
I have never used it but I think that LVM can also do just that: Concatenate
multiple physical disks to one big logical.
If one disk is a lot slower than the other it could happen that the RAID0 is
slower than the single disk.
Best Regards,
Hermann
--
x1@aon.at
GPG key ID: 299893C7 (on keyservers)
FP: 0124 2584 8809 EF2A DBF9 4902 64B4 D16B 2998 93C7
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: raid 0 on different size devices?
2003-11-19 19:18 ` Hermann Himmelbauer
@ 2003-11-19 19:22 ` seth vidal
2003-11-19 20:01 ` Dan Egli
2003-11-19 23:51 ` Neil Brown
0 siblings, 2 replies; 9+ messages in thread
From: seth vidal @ 2003-11-19 19:22 UTC (permalink / raw)
To: Hermann Himmelbauer; +Cc: Dan Egli, linux-raid
> AFAIK they have to be of equal size but as you can create a 27GB partition on
> the 40GB drive, you could at least get 54GB out of this configuration.
No. I have a 120GB and a 60GB disk in a linear array working just fine.
it's not technically raid0, but it lets the person do what they're
wanting to do.
-sv
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: raid 0 on different size devices?
2003-11-19 19:22 ` seth vidal
@ 2003-11-19 20:01 ` Dan Egli
2003-11-19 20:05 ` seth vidal
2003-11-19 20:21 ` Jose Luis Domingo Lopez
2003-11-19 23:51 ` Neil Brown
1 sibling, 2 replies; 9+ messages in thread
From: Dan Egli @ 2003-11-19 20:01 UTC (permalink / raw)
To: seth vidal; +Cc: Hermann Himmelbauer, linux-raid
On 19 Nov 2003, seth vidal wrote:
>
> > AFAIK they have to be of equal size but as you can create a 27GB partition on
> > the 40GB drive, you could at least get 54GB out of this configuration.
>
> No. I have a 120GB and a 60GB disk in a linear array working just fine.
>
> it's not technically raid0, but it lets the person do what they're
> wanting to do.
How do I setup a linear array?
--- dan
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: raid 0 on different size devices?
2003-11-19 20:01 ` Dan Egli
@ 2003-11-19 20:05 ` seth vidal
2003-11-19 20:21 ` Jose Luis Domingo Lopez
1 sibling, 0 replies; 9+ messages in thread
From: seth vidal @ 2003-11-19 20:05 UTC (permalink / raw)
To: Dan Egli; +Cc: linux-raid
> How do I setup a linear array?
a raidtab for use with mkraid might look something like this:
raiddev /dev/md0
raid-level linear
nr-raid-disks 2
chunk-size 32
persistent-superblock 1
device /dev/hda1
raid-disk 0
device /dev/hdc1
raid-disk 1
or you can use mdadm -C -llinear etc etc etc - man mdadm for complete
options.
-sv
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: raid 0 on different size devices?
2003-11-19 20:01 ` Dan Egli
2003-11-19 20:05 ` seth vidal
@ 2003-11-19 20:21 ` Jose Luis Domingo Lopez
1 sibling, 0 replies; 9+ messages in thread
From: Jose Luis Domingo Lopez @ 2003-11-19 20:21 UTC (permalink / raw)
To: linux-raid
On Wednesday, 19 November 2003, at 13:01:10 -0700,
Dan Egli wrote:
> How do I setup a linear array?
>
Maybe you should give LVM a try if you just want to set up a linear
array, to aggregate disk space into one (large) block device. With LVM
you have all the features of a linear RAID array and more, for example
it is possible to add more drives at a later time and give the added
space to the LV (equivalent to a partition).
Better than trying to explain in two lines what LVM is, have a look at
LVM-HOWTO at http://tldp.org/HOWTO/LVM-HOWTO/
Greetings.
--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.6.0-test9-mm3)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: raid 0 on different size devices?
2003-11-19 19:22 ` seth vidal
2003-11-19 20:01 ` Dan Egli
@ 2003-11-19 23:51 ` Neil Brown
1 sibling, 0 replies; 9+ messages in thread
From: Neil Brown @ 2003-11-19 23:51 UTC (permalink / raw)
To: seth vidal; +Cc: Hermann Himmelbauer, Dan Egli, linux-raid
On November 19, skvidal@phy.duke.edu wrote:
>
> > AFAIK they have to be of equal size but as you can create a 27GB partition on
> > the 40GB drive, you could at least get 54GB out of this configuration.
>
> No. I have a 120GB and a 60GB disk in a linear array working just fine.
>
> it's not technically raid0, but it lets the person do what they're
> wanting to do.
>
The 'md' driver will let you set up an 'raid0' array using these two
drives. This will result in a 180GB array.
The first 120 Gb will be striped over the two drives. The remaining
60Gb will simply be the end of the larger drive.
You can, ofcourse, also set up a linear array.
man md
(with mdadm installed).
NeilBrown
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: raid 0 on different size devices?
2003-11-19 18:57 raid 0 on different size devices? Dan Egli
2003-11-19 19:00 ` seth vidal
@ 2003-11-19 19:24 ` Mike Dresser
1 sibling, 0 replies; 9+ messages in thread
From: Mike Dresser @ 2003-11-19 19:24 UTC (permalink / raw)
To: linux-raid
On Wed, 19 Nov 2003, Dan Egli wrote:
> Can the linux Software Raid handle devices of differing size? Basically my
> issue is this: I've got two drives, a 27GB and a 40GB. I really want to
> get them accessed as a single device. Is it possible to stack these drives
> using like a raid 0?
Yes. Years and years ago I did this with 10 drives (6 scsi, and 4 ide).
Remember that a drive failure on any disk is going to trash the entire
array.
There's also a linear raid mode that works the same basic idea as raid0,
in Linux.
Mike
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2003-11-19 23:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-19 18:57 raid 0 on different size devices? Dan Egli
2003-11-19 19:00 ` seth vidal
2003-11-19 19:18 ` Hermann Himmelbauer
2003-11-19 19:22 ` seth vidal
2003-11-19 20:01 ` Dan Egli
2003-11-19 20:05 ` seth vidal
2003-11-19 20:21 ` Jose Luis Domingo Lopez
2003-11-19 23:51 ` Neil Brown
2003-11-19 19:24 ` Mike Dresser
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).