software raid & intent bitmap on other device
Hi,
I'm going to setup a software raid-1 and would like to improve its performance by storing things like the write intent bitmap (and fs journals but that's not relevant here) on a seperate disk. In this case and SSD.
I was wondering: as SSDs frequently seem to die, what happens with the raid? Things will probably oops, panic and crash but after the reboot:
will it refuse to come up? Or will it come up and just to a complete resync?
Regards,
Folkert van Heusden
Signature · 5 lines
MultiTail ist eine flexible Applikation um Logfiles und Kommando Eingaben zu überprüfen. Inkl. Filter, Farben, Zusammenführen, Ansichten etc. http://www.vanheusden.com/multitail/ ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
Quoted 6 lines · folkert
Hi,
I'm going to setup a software raid-1 and would like to improve its performance by storing things like the write intent bitmap (and fs journals but that's not relevant here) on a seperate disk. In this case and SSD.
"mirror" segment type or "raid1" segment type?
You can do this via device-mapper (i.e. 'dmsetup') for both target types. However, if you are using LVM, you can only have separate placement of the log device with the "mirror" segment type.
Quoted 4 lines
I was wondering: as SSDs frequently seem to die, what happens with the raid? Things will probably oops, panic and crash but after the reboot:
will it refuse to come up? Or will it come up and just to a complete resync?
If you are using "mirror" segment type via LVM, it will simply convert to using an in-memory log. However, that means that the entire mirror will need to be sync'ed if you deactivate the LV or reboot the machine. (You could always replace the log on a different device though.)
So, there are a few options, but I'd be interested to see if there is any real benefit to putting the log on an SSD.
brassow