disk
Mount
Mach.
Hab ich schon.
Machs rückgängig!
Geht nicht, ist nichts gemacht.
Mach.
Hab ich schon.
root@nas:~# mount -a mount: /dev/md127 is already mounted or /data busy root@nas:~# umount /data umount: /data: not mounted root@nas:~# mount /data mount: /dev/md127 is already mounted or /data busy
Wird ja nichts damit zu tun haben?
[ 44.106137] sd 2:0:0:0: [sdc] Media Changed [ 44.110342] sd 2:0:0:0: [sdc] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [ 44.117621] sd 2:0:0:0: [sdc] Sense Key : Unit Attention [current] [ 44.124023] Info fld=0x0 [ 44.126570] sd 2:0:0:0: [sdc] Add. Sense: Not ready to ready change, medium may have changed [ 44.135167] sd 2:0:0:0: [sdc] CDB: Read(10): 28 00 00 30 00 20 00 00 08 00 [ 44.142197] end_request: I/O error, dev sdc, sector 3145760 [ 44.147806] Buffer I/O error on device sdc1, logical block 393216 [ 44.551986] EXT2-fs (sdc1): warning: mounting unchecked fs, running e2fsck is recommended
Haltbarkeit von Festplatten
Ich sag es ja schon länger, bei ein paar Hundert Festplatten ist damit zu rechnen, dass im Schnitt eine pro Monat ausfällt. Jetzt bin ich über eine alte Notiz von mir gestoßen:
Carnegie Mellon University published a study in 2007 on hard drive failure rates. They found that hard drives fail at about 3 percent per year. Further more, they found that drive type and interface contributed little to disk longevity, and that hard drives do not reflect a tendency to fail early as was commonly accepted. These findings were largel corroborated by a parallel study released the same year by Google.
Das würde heißen, bei 400 Platten wären wir schon bei einer pro Monat. Wenn man Glück hat und die so Gleichmäßig verteilt sind.
Wer hat andere Erfahrungen damit gemacht?
Wait I/O
Wait I/O wird immer dann angezeigt, wenn ein Prozess auf die Festplatte warten muss. …
Was kann man gegen Wait I/O tun?
Neben den offensichtlchen sachen, wie z.B. schnellere Festplatten, performantere RAID Levels oder gleich einer SSD gibt es noch eine, zugegeben nutzlose Möglichkeit, den Wait I/O zu reduzieren.
Mit einer leeren Schleife pro CPU Kern, wird die Nutzung so gewandelt, dass sie statt I/O-lastig plötzlich CPU-lastig ist:
while true; do true; done
Abra Ka Kosmetik – die Wait I/O ist verschwunden 😉
PS: Macht das nicht zu Hause (auf einem Produktiv-System) nach…