Skip to contentSkip to conversation

RAID-10 with mixed block size HDDs

DISCUSSION Piergiorgio Sartor 4 participants 7 messages Mar 25, 2013 – Mar 29, 2013 MD RAID

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
piergiorgio
#1 lore raw
Quoted 8 lines · Piergiorgio Sartor

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

#2 lore raw
Quoted 5 lines · Chris Murphy
Quoted 2 lines · Piergiorgio Sartor

Hi all,

Quoted 8 lines
Quoted 6 lines

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

Quoted 3 lines

Chris Murphy

Signature · 1 line
piergiorgio
#3 lore raw
In reply to Piergiorgio Sartor

----- Opprinnelig melding -----

Quoted 3 lines

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
[email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
Quoted 6 lines · Roy Sigurd Karlsbakk

----- Opprinnelig melding -----

Quoted 3 lines

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

Quoted 15 lines

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 98013356
[email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 5 lines
piergiorgio
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

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
[email protected]
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 4 lines · Roy Sigurd Karlsbakk
Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

Hi all,

I've a two disk RAID-10 (far 2, I guess).

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html