Goswin von Brederlow writes: : Dean S. Messing writes: : > Michael Tokarev writes: : > : Dean S. Messing wrote: : > : [] : > : > [] That's what : > : > attracted me to RAID 0 --- which seems to have no downside EXCEPT : > : > safety :-). : > : > : > : > So I'm not sure I'll ever figure out "the right" tuning. I'm at the : > : > point of abandoning RAID entirely and just putting the three disks : > : > together as a big LV and being done with it. (I don't have quite the : > : > moxy to define a RAID 0 array underneath it. :-) : > : : > : "Putting three disks together as a big LV" - that's exactly what : > : "linear" md module. : > : It's almost as unsafe as raid0, but with : > : linear read/write speed equal to speed of single drive... : > : > I understand I only get the speed of a single drive but I was not : > aware of the safety factor. I had intended to use snapshotting off : > to a cheap USB drive each evening. Will that not keep me safe within a : > day's worth of data change? I only learned about "snapshots" yesterday. : > I'm utterly new to the disk array/LVM game. : > : > For that matter why not run a RAID-0 + LVM across two of the three drives : > and snapshot to the third? : : LVM is not the same as LVM. What I mean is that you still have choices : left. Sorry, Goswin. Even though you gave your meaning, I still don't understand you here. (I must be dense this morning.) What does "LVM is not the same as LVM" mean? : : One thing you have to think about though. An lvm volume group will not : start cleanly with a disk missing but you can force it to start : anyway. So a lost disk does not mean all data is lost. But it does : mean that any logical volume with data on the missing disk will have : serious data corruption. If I am taking daily LVM snapshots will I not be able to reconstruct the file system as of the last snapshot? That's all I require. I have also discovered "smartctl" and have read that if the short smartctl tests are run daily and the long test weekly that the chances of being caught "with my pants down" are quite low, even in a two disk RAID-0 config. What is your opinion? : Also lvm can do raid0 itself. For each logical volume you create you : can specify the number of stripes to use. So I would abandon all : thoughts of raid0 and replace them with using lvm. : : Run one LV with 2 stripes on the first two disks and snapshot on the : third. Good idea. I waw aware of striped LV but did not think it would run nearly as fast as RAID-0. Do you think two LV stripes will equal RAID-0 for all kinds of read/write disk use? There would seem to be lots more than two RAID=0 stripes in the default case. (I do know enough to not run Striped LV with RAID-0 :-) <snip> : : I tested Raid10 and with far copies I got the full speed of all disks : combined just like a raid0 would for reading and half speed for : writing (as it has to write everything twice). I got pretty damn : close to the theoretical limit it could get, which was surprising. Very interesting! On three drives? When you said "half speed for writes", did you mean "half the RAID-0 read speed" or "half the physical device read speed"? I hate the thought of half speed writes. Some of what I do requires more writing than reading---up-conversion of Full HD video to 4Kx2K video, for example. Given your test, I'll run some tests with a three device RAID-10 with "far" copies. But I would really like to know if I'm playing with fire putting my whole system on a RAID-0/non-striped LVM device (or striped LVM device w/o RAID) with daily snapshots, and good smartctl monitoring. Dean - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html