Skip to contentSkip to conversation

How important is SCTERC?

DISCUSSION Ram Ramesh 3 participants 5 messages Apr 28, 2017 – Apr 29, 2017 MD RAID

lore
Share & tools
lore

Ram Ramesh

author
#0 lore raw

Experts,

I ordered a couple of 6TB drives from goHarddrive that claimed to be NAS suitable, but SMART shows that they do not support
scterc. I want to replace two of my 3TB drives with these in mdadm raid6. I can get a replacement or return, but want to avoid the hassle, if I am not seious danger.

I do run tler.sh that sets 180s timeout for drives that do not have scterc from /etc/rc.local. Am I putting my data in serious danger? I only have videos and tv recordings in this md which can be replaced with significant effort (about 12TB of movies and tv shows will take some time to copy from my DVDs/BDs)

Ramesh

#1 lore raw
Quoted 7 lines · Ram Ramesh

Experts,

I ordered a couple of 6TB drives from goHarddrive that claimed to be NAS suitable, but SMART shows that they do not support
scterc. I want to replace two of my 3TB drives with these in mdadm raid6. I can get a replacement or return, but want to avoid the hassle, if I am not seious danger.

Depends on "serious". I would return for exchange with proper NAS drives. And report the vendor for false advertising.

Quoted 5 lines

I do run tler.sh that sets 180s timeout for drives that do not have scterc from /etc/rc.local. Am I putting my data in serious danger? I only have videos and tv recordings in this md which can be replaced with significant effort (about 12TB of movies and tv shows will take some time to copy from my DVDs/BDs)

The 180-second timeout is a band-aid, not a solution. Keep in mind that your array will appear to be frozen for up to three minutes any time you have a URE. That will have application side-effects and especially consequences from impatient users.

Phil

author
#2 lore raw
Quoted 16 lines · Phil Turmel
Quoted 7 lines · Ram Ramesh

Experts,

I ordered a couple of 6TB drives from goHarddrive that claimed to be NAS suitable, but SMART shows that they do not support
scterc. I want to replace two of my 3TB drives with these in mdadm raid6. I can get a replacement or return, but want to avoid the hassle, if I am not seious danger.

Depends on "serious". I would return for exchange with proper NAS drives. And report the vendor for false advertising.

Quoted 5 lines

I do run tler.sh that sets 180s timeout for drives that do not have scterc from /etc/rc.local. Am I putting my data in serious danger? I only have videos and tv recordings in this md which can be replaced with significant effort (about 12TB of movies and tv shows will take some time to copy from my DVDs/BDs)

Quoted 6 lines

The 180-second timeout is a band-aid, not a solution. Keep in mind that your array will appear to be frozen for up to three minutes any time you have a URE. That will have application side-effects and especially consequences from impatient users.

Phil

I am quite unhappy with the vendor and wanted to make sure that I am not overreacting. Thanks. I have started the return process. Hopefully, that is all there is to it.

Ramesh

#3 lore raw
In reply to Ram Ramesh
Quoted 3 lines

[ ... ] I do run tler.sh that sets 180s timeout for drives that do not have scterc from /etc/rc.local. Am I putting my data in serious danger?

No.

Quoted 1 line

I only have videos and tv recordings in this md

The problem with SCT/ERC absence is that the 2-3 minutes of retries suspend IO for that long, and for people running interactive applications (usually LAMP-style web applications) that is a bad idea, but in your case you seem to have just a personal archive of entertainment files.

For interactive "enterprise" applications the common practice is to reduce the error timeout to 1-2 seconds, so the failing drive drops out of the MD set quickly and can be replaced, minimizing delays.

Quoted 3 lines

which can be replaced with significant effort (about 12TB of movies and tv shows will take some time to copy from my DVDs/BDs)

Backups are very important, and RAID is not an alternative to backups. You can buy and use SMR disk drives as if they were tapes (or with a filesystem like NILFS2) to do that backup, and they are quite cheap.

author
#4 lore raw
Quoted 12 lines · Peter Grandi
Quoted 3 lines

[ ... ] I do run tler.sh that sets 180s timeout for drives that do not have scterc from /etc/rc.local. Am I putting my data in serious danger?

No.

Quoted 1 line

I only have videos and tv recordings in this md

The problem with SCT/ERC absence is that the 2-3 minutes of retries suspend IO for that long, and for people running interactive applications (usually LAMP-style web applications) that is a bad idea, but in your case you seem to have just a personal archive of entertainment files.

Quoted 4 lines

For interactive "enterprise" applications the common practice is to reduce the error timeout to 1-2 seconds, so the failing drive drops out of the MD set quickly and can be replaced, minimizing delays.

Interestingly, the drives did not pass SMART test and mkfs.ext4 -c -c checks. So, I returned them. I plan to buy WD gold (the other extreme in price point :-)

Quoted 8 lines
Quoted 4 lines

which can be replaced with significant effort (about 12TB of movies and tv shows will take some time to copy from my DVDs/BDs)

Backups are very important, and RAID is not an alternative to backups. You can buy and use SMR disk drives as if they were tapes (or with a filesystem like NILFS2) to do that backup, and they are quite cheap.

I am using my actual DVDs as backup. For TV shows they are available in Netflix, if I really want to watch them again.
However, your point is well taken. I will think about backup as my collection has grown over the years and it will be really a pain to go back to DVDs to populate my media server.

Quoted 4 lines

--
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