All of lore.kernel.org
 help / color / mirror / Atom feed
* RAID-10 with mixed block size HDDs
@ 2013-03-25 18:04 Piergiorgio Sartor
  2013-03-25 23:09 ` Chris Murphy
  2013-03-29  0:31 ` Roy Sigurd Karlsbakk
  0 siblings, 2 replies; 7+ messages in thread
From: Piergiorgio Sartor @ 2013-03-25 18:04 UTC (permalink / raw)
  To: linux-raid

Hi all,

I've a two disk RAID-10 (far 2, I guess).
One HDD seems to be going to the HDD heaven,
so I'm planning to change it.

The most convenient HDD I found has 4K sectors,
while the actual ones have 512 byte sectors.

All partitions and headers seem to be multiple
of 4K, but I was wondering if there could be
performance problems having a mixed setup.

Any experience with that?
Suggestions?

Thanks,

bye,

-- 

piergiorgio

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

* Re: RAID-10 with mixed block size HDDs
  2013-03-25 18:04 RAID-10 with mixed block size HDDs Piergiorgio Sartor
@ 2013-03-25 23:09 ` Chris Murphy
  2013-03-26 19:05   ` Piergiorgio Sartor
  2013-03-29  0:31 ` Roy Sigurd Karlsbakk
  1 sibling, 1 reply; 7+ messages in thread
From: Chris Murphy @ 2013-03-25 23:09 UTC (permalink / raw)
  To: Piergiorgio Sartor; +Cc: linux-raid


On Mar 25, 2013, at 12:04 PM, Piergiorgio Sartor <piergiorgio.sartor@nexgo.de> wrote:

> Hi all,
> 
> I've a two disk RAID-10 (far 2, I guess).
> One HDD seems to be going to the HDD heaven,
> so I'm planning to change it.
> 
> The most convenient HDD I found has 4K sectors,
> while the actual ones have 512 byte sectors.

It is a 4Kn drive, or a 512e drive? If it's 512e, as long as you add the whole disk or ensure alignment, it's OK. For 4Kn drives, that may be a problem. But so far I've only seen 4Kn drives as large 3+TB external USB.


Chris Murphy

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

* Re: RAID-10 with mixed block size HDDs
  2013-03-25 23:09 ` Chris Murphy
@ 2013-03-26 19:05   ` Piergiorgio Sartor
  0 siblings, 0 replies; 7+ messages in thread
From: Piergiorgio Sartor @ 2013-03-26 19:05 UTC (permalink / raw)
  To: Chris Murphy; +Cc: Piergiorgio Sartor, linux-raid

On Mon, Mar 25, 2013 at 05:09:00PM -0600, Chris Murphy wrote:
> 
> On Mar 25, 2013, at 12:04 PM, Piergiorgio Sartor <piergiorgio.sartor@nexgo.de> wrote:
> 
> > Hi all,
> > 
> > I've a two disk RAID-10 (far 2, I guess).
> > One HDD seems to be going to the HDD heaven,
> > so I'm planning to change it.
> > 
> > The most convenient HDD I found has 4K sectors,
> > while the actual ones have 512 byte sectors.
> 
> It is a 4Kn drive, or a 512e drive? If it's 512e, as long as you add the whole disk or ensure alignment, it's OK. For 4Kn drives, that may be a problem. But so far I've only seen 4Kn drives as large 3+TB external USB.

Hi Chris,

thanks for the answer.

Reading the specs it seems it can emulate the 512,
so it should be a 512e.

Thanks again,

bye,

pg

> 
> 
> Chris Murphy

-- 

piergiorgio

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

* Re: RAID-10 with mixed block size HDDs
  2013-03-25 18:04 RAID-10 with mixed block size HDDs Piergiorgio Sartor
  2013-03-25 23:09 ` Chris Murphy
@ 2013-03-29  0:31 ` Roy Sigurd Karlsbakk
  2013-03-29  9:04   ` Piergiorgio Sartor
  1 sibling, 1 reply; 7+ messages in thread
From: Roy Sigurd Karlsbakk @ 2013-03-29  0:31 UTC (permalink / raw)
  To: Piergiorgio Sartor; +Cc: linux-raid

----- Opprinnelig melding -----
> Hi all,
> 
> I've a two disk RAID-10 (far 2, I guess).

You can't grow a RAID-10…

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
roy@karlsbakk.net
http://blogg.karlsbakk.net/
GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: RAID-10 with mixed block size HDDs
  2013-03-29  0:31 ` Roy Sigurd Karlsbakk
@ 2013-03-29  9:04   ` Piergiorgio Sartor
  2013-03-29 13:15     ` Roy Sigurd Karlsbakk
  0 siblings, 1 reply; 7+ messages in thread
From: Piergiorgio Sartor @ 2013-03-29  9:04 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: Piergiorgio Sartor, linux-raid

On Fri, Mar 29, 2013 at 01:31:28AM +0100, Roy Sigurd Karlsbakk wrote:
> ----- Opprinnelig melding -----
> > Hi all,
> > 
> > I've a two disk RAID-10 (far 2, I guess).
> 
> You can't grow a RAID-10…

I know, I've to replace a disk, non add.

bye,

pg
 
> Vennlige hilsener / Best regards
> 
> roy
> --
> Roy Sigurd Karlsbakk
> (+47) 98013356
> roy@karlsbakk.net
> http://blogg.karlsbakk.net/
> GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
> --
> I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 

piergiorgio
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: RAID-10 with mixed block size HDDs
  2013-03-29  9:04   ` Piergiorgio Sartor
@ 2013-03-29 13:15     ` Roy Sigurd Karlsbakk
  2013-03-29 13:22       ` David Brown
  0 siblings, 1 reply; 7+ messages in thread
From: Roy Sigurd Karlsbakk @ 2013-03-29 13:15 UTC (permalink / raw)
  To: Piergiorgio Sartor; +Cc: linux-raid

> > > Hi all,
> > >
> > > I've a two disk RAID-10 (far 2, I guess).
> >
> > You can't grow a RAID-10…
> 
> I know, I've to replace a disk, non add.

I just don't understand why anyone would create a two-drive RAID-10, losing the flexibility of a mirror, and gaining nothing (since it's only on two drives)

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
roy@karlsbakk.net
http://blogg.karlsbakk.net/
GPG Public key: http://karlsbakk.net/roysigurdkarlsbakk.pubkey.txt
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med xenotyp etymologi. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: RAID-10 with mixed block size HDDs
  2013-03-29 13:15     ` Roy Sigurd Karlsbakk
@ 2013-03-29 13:22       ` David Brown
  0 siblings, 0 replies; 7+ messages in thread
From: David Brown @ 2013-03-29 13:22 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: Piergiorgio Sartor, linux-raid

On 29/03/13 14:15, Roy Sigurd Karlsbakk wrote:
>>>> Hi all,
>>>>
>>>> I've a two disk RAID-10 (far 2, I guess).
>>>
>>> You can't grow a RAID-10…
>>
>> I know, I've to replace a disk, non add.
>
> I just don't understand why anyone would create a two-drive RAID-10,
> losing the flexibility of a mirror, and gaining nothing (since it's
> only on two drives)
>

With "far" layout, linux RAID-10 on two harddisks will give you the 
safety of RAID-1 mirroring with /faster/ than RAID-0 speeds on reads. 
(Writes are often a little slower than standard RAID-1 due to more head 
movement, but slow writes can be buffered, while fast reads mean a 
faster machine.)

Yes, you lose a bit of flexibility, and it would be very nice if RAID-10 
could be re-shaped, grown, etc.  But for a desktop system in particular, 
RAID-10,far2 is the best you can get for two disks.


--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2013-03-29 13:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-25 18:04 RAID-10 with mixed block size HDDs Piergiorgio Sartor
2013-03-25 23:09 ` Chris Murphy
2013-03-26 19:05   ` Piergiorgio Sartor
2013-03-29  0:31 ` Roy Sigurd Karlsbakk
2013-03-29  9:04   ` Piergiorgio Sartor
2013-03-29 13:15     ` Roy Sigurd Karlsbakk
2013-03-29 13:22       ` David Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.