Saltar al contenido principal
Soporte
0
Contacta con nosotros
English
Nederlands
Deutsch
Servidores dedicadosFlexible VPSTecnología de nubeUbicación compartidaDesafíos en TISectoresCareers
Cloud Compute

Con Cloud Compute, tendrás acceso a un portal desde el que podrás configurar todo tu entorno informático en cualquier momento y desde cualquier lugar del mundo.

Almacenamiento en la nube

Acceso fiable a tus archivos, infraestructura y aplicaciones en todo momento, sin interrupciones ni retrasos. En Worldstream, ofrecemos una gran variedad de soluciones de almacenamiento.

Flexible cloud icon
Nube flexible
Private cloud icon
Nube privada
Bare metal icon
Bare Metal Compute
Hollow cube icon
Almacenamiento de objetos
Hollow cube icon
Almacenamiento de archivos
Block storage icon
Almacenamiento en bloque
Backup storage icon
Almacenamiento de copias de seguridad
¿Necesitas soporte?

Con ingenieros experimentados y un tiempo medio de respuesta de 7 minutos, puedes esperar una solución de soporte técnico sólida muy rápida.

Soporte
Todos los servidores

Elige tu servidor dedicado ahora. Configuración personalizada o entrega inmediata. Servidores potentes diseñados para tu caso de uso.

Casos de uso

Sea cual sea tu caso de uso, te ayudamos a encontrar la solución adecuada.

Deal servers icon
Ofertas
AMD servers icon
Servidores AMD
AI servers icon
Servidores Intel
Hollow cube icon
Virtualización, Contenerización y Orquestación
Hollow cube icon
Sitios web y aplicaciones
Hollow cube icon
Infraestructura para gaming y streaming

Soporte 24/7/365 con un tiempo medio de respuesta de solo 7 minutos. Gracias a nuestros propios centros de datos, nuestros ingenieros pueden acceder directamente a tu servidor para ofrecer soporte rápido y directo. Contáctanos por correo o teléfono en cualquier momento.

Soporte
Externalización inteligente

Algunos aspectos de la TI crean valor añadido, mientras que otros sirven de apoyo. Aprovéchalo como punto de partida para la externalización.

Rentabilidad

Los paquetes informáticos completos pueden parecer la opción segura, pero al considerar los costes, otras opciones suelen tener más sentido.

Flexibilidad y control informáticos

Externalizar no implica perder el control; en realidad proporciona más flexibilidad y control.

Repatriación desde la nube

La nube no es el destino final: debes evaluar y ajustar tu entorno de nube continuamente a medida que cambian las necesidades.

Servicios financieros
Logística y transporte
Venta minorista y comercio electrónico
Medios de comunicación y entretenimiento
Tecnología y desarrollo de software
Seguridad
Proveedores de servicios gestionados
¿Necesitas soporte?

Con ingenieros experimentados y un tiempo medio de respuesta de 7 minutos, puedes esperar una solución de soporte técnico sólida muy rápida.

Habla con nosotrosContacta con nosotros
Acerca de WorldstreamAcerca de la tecnologíaCasosBase de conocimientos
Quiénes somosConoce al equipoTrabaja con nosotrosHazte distribuidorcertificacionesNuestros centros de datosNuestra redProtección DDoSServidores AMD EPYCPartners tecnológicosAcerca de los servidores dedicadosTodos los casosEasyTerraDutch Drone CompanyPerfGridArtículosPreguntas frecuentesNoticias y blogsProductos y servicios
Contacta con nosotros

Llama al +31 (0) 174 – 712 117 Industriestraat 53, Naaldwijk

Contacta con nosotros
Worldstream Portal
English
Nederlands
Deutsch
0
Servidores dedicadosFlexible VPSTecnología de nubeUbicación compartidaDesafíos en TISectoresCareersAcerca de WorldstreamAcerca de la tecnologíaCasosBase de conocimientosMy Worldstream
Contact
Soporte
EnglishNederlandsDeutsch
  1. InicioInicio
  2. Base de conocimientos
  3. Dedicated Servers
  4. How to recognise a bad drive in Linux

How to recognise a bad drive in Linux

Se aplica a Dedicated servers (Linux)Audiencia Server administratorsÚltima revisión September 2026

Respuesta rápida

Check a drive's health with two tools: hdparm to benchmark read speed against the expected range for that drive type, and smartmontools (smartctl) to read its SMART attributes. Consistently low speeds or failing SMART values point to a drive that needs a closer look. NVMe drives use their own commands, covered at the end.

En esta página
  • Identify your drives
  • Test disk speed
  • Check disk status (SMART)
  • Check for ATA errors
  • NVMe drives

The commands in the first four sections cover SATA drives, both spinning disks and SSDs. You compare read speed against the typical range for that drive type, then inspect the drive's SMART attributes. NVMe drives report health differently and need their own commands, covered in the last section. Use the results to decide whether a disk needs assessing.

Identify your drives

Use the lsblk command to list the drives in your system:

lsblk

Depending on your disk layout, this shows the available drives, for example sda, sdb, sdc and sdd.

Test disk speed

Benchmark disk speed with hdparm. Install it first:

# Ubuntu / Debian
apt-get install -y hdparm

# AlmaLinux / Rocky Linux
yum install -y hdparm

hdparm is Linux-only, it relies on Linux-specific ATA/SCSI ioctls and isn't packaged for FreeBSD. On FreeBSD, use camcontrol or diskinfo instead for the equivalent checks.

Then run hdparm against the drive you want to test, for example:

hdparm -t /dev/sda

For more reliable results:

  • Run the test on an inactive system, ideally after a reboot, so a minimal amount of system resources are in use.
  • Run the command two or three times and take the average of the results.
TypeTypical minimumTypical maximum
HDD150 MB/sec250 MB/sec
SATA SSD400 MB/sec500 MB/sec
Enterprise SSD500 MB/sec550 MB/sec

These are generic, industry-typical ranges for the drive class, not Worldstream-specific benchmarks. They apply to SATA drives only, see NVMe drives for why hdparm figures mean nothing on NVMe.

Actual speeds vary with your specific configuration. Contact support to check whether the speed you're seeing is normal for your setup, and include the test output when you do.

Check disk status (SMART)

Use smartmontools to read a drive's S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology) data. Install it first:

# Ubuntu / Debian
apt-get install -y smartmontools

# AlmaLinux / Rocky Linux
yum install -y smartmontools

# FreeBSD
pkg install -y smartmontools

The examples below use /dev/sdb; replace this with the drive you're checking.

1

Check basic drive information

smartctl -i /dev/sdb
2

Enable SMART support if it's disabled

smartctl -s on /dev/sdb
3

Run a short self-test

smartctl -t short /dev/sdb

This takes about one to two minutes to complete.

4

Read the self-test result

smartctl -l selftest /dev/sdb
5

Check the SMART attributes

smartctl -A /dev/sdb

Focus on the values below:

AttributeDescriptionExpected value
SMART overall-healthThe drive's general health according to the manufacturer's own standard.PASSED
Reallocated_Sector_CtNumber of sectors already reallocated on the disk.0
Current_Pending_SectorNumber of sectors awaiting reallocation.0
Reported_UncorrectNumber of uncorrectable errors reported to the disk's SMART controller.0

Any value above 0 on the three counters warrants investigation, even a single one: it means the drive returned or nearly returned data it could not correct. If any of these values is outside the expected range, open a support ticket with the smartctl output so the disk can be assessed.

Check for ATA errors

SMART attributes don't cover ATA-level errors. Check the kernel log for those instead:

dmesg | grep -i ata

NVMe drives

NVMe drives need different commands throughout. They are not ATA devices, so lsblk lists them as nvme0n1 rather than sda, and the SMART attributes above (Reallocated_Sector_Ct, Current_Pending_Sector, Reported_Uncorrect) do not exist on them.

hdparm -t also understates NVMe badly. It measures buffered sequential reads one request at a time, which is nowhere near what an NVMe drive delivers in parallel, so a healthy drive will look like it fails. Treat any hdparm figure on NVMe as a comparison against that same drive's earlier results, never as a pass or fail. For a real throughput measurement, use fio with several jobs and a queue depth above 1.

Read NVMe health from the controller device:

smartctl -a /dev/nvme0
FieldDescriptionExpected value
Critical WarningController-level warning flags, for example read-only mode or overheating.0x00
Available SpareRemaining spare capacity, as a percentage.Well above the drive's own Available Spare Threshold
Percentage UsedVendor estimate of write endurance consumed. It can exceed 100 without immediate failure, but the drive is past its rated life.Well below 100
Media and Data Integrity ErrorsUnrecovered data integrity errors.0

Kernel-level NVMe errors show up under a different tag than ATA ones:

dmesg | grep -i nvme

As with SATA drives, open a support ticket with the smartctl output if anything looks wrong.

Related articles

  • Monitoring
  • How to start a reinstallation
¿Te ha resultado útil este artículo?

Informática sólida. Sin sorpresas

Tu socio para la madurez informática
Eliminamos barreras para que puedas correr
Costes previsibles y transparentes

Contacto

  • Industriestraat 53, Naaldwijk
Contacta con nosotros
Worldstream Portal (opens in a new tab)
  • Métodos de pago
  • Abuso
  • Recursos para desarrolladores
  • Centro de operaciones de red
  • Quiénes somos
  • Conoce al equipo
  • Trabaja con nosotros
  • Hazte distribuidor
  • certificaciones
  • Nuestros centros de datos
  • Nuestra red
  • Protección DDoS
  • Servidores AMD EPYC
  • Partners tecnológicos
  • Sistemas operativos
  • Vista general
  • Preguntas frecuentes
  • Casos
  • Noticias y blogs
  • Use Cases
English
Nederlands
Deutsch
English
Nederlands
Deutsch
  • Legal
  • Notificación de vulnerabilidades