This time my fault, I meant of course Raid1.
Code: Select all
╰─➤ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md128 : active raid1 sdb2[3] sdp2[2]
125000007 blocks super 1.2 [2/2] [UU]
There are other options:BasHeijermans wrote: ↑Mon 21. Nov 2022, 19:13
I have used RAID 5, 6, 0+10, 10+0 and all variants.
Never ever again.
Lost too many data over the years, when that happens and a backup failed, you never use raid other then RAID1.
Code: Select all
╰─➤ zpool status
pool: dozer
state: ONLINE
scan: scrub repaired 0B in 00:06:03 with 0 errors on Sun Nov 13 00:30:04 2022
config:
NAME STATE READ WRITE CKSUM
dozer ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
ata-Samsung_SSD_870_EVO_250GB_S6PENL0T907009A ONLINE 0 0 0
ata-Samsung_SSD_870_EVO_250GB_S6PENL0T907057K ONLINE 0 0 0
errors: No known data errors
pool: tank
state: ONLINE
scan: scrub repaired 0B in 03:23:42 with 0 errors on Sun Nov 13 03:47:44 2022
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_Z93MYEWAS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_Z9BNBA3AS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_Z9BNBBSAS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_Z9UP60PAS ONLINE 0 0 0
ata-TOSHIBA_DT01ACA300_Z9UPKYKAS ONLINE 0 0 0
cache
ata-INTENSO_SSD_128GB_F32564R03962 ONLINE 0 0 0
errors: No known data errors
I don't think so.
You can use both.BasHeijermans wrote: ↑Mon 21. Nov 2022, 19:13
I do not use it. It can kill mysql and then you loose KeyHelp.
Sorry, I rather have a bit of swapping then oomd.
The Toshiba devices above are HDD, as they are cheap, each holds 3 TB.BasHeijermans wrote: ↑Mon 21. Nov 2022, 19:13
You use your way, I use mine, but oomd is not something I want to use.
SSD's do not die after 10 years, they often last longer. I still have an Intel 40GB, one of the first, it's still fine, no problem at all.
I use 500GB SSD's for my servers and they have a lot of traffic, no issue what so ever, the eldest is about 6 years old.
3D-SSD's last even longer. I use a few harddisks as old-fashion backups, but never needed them, so far.