What are SSD and HDD?
A disk is where your files live. An HDD (hard disk drive) has a spinning plate inside, like a tiny record player. An SSD (solid state drive) has no moving parts. It uses memory chips. An SSD is usually much faster, so websites on SSD often load quicker.
These steps need command line access. A VPS or dedicated server gives you that. On shared hosting, ask Hostvento support what disk type your plan uses.
Method 1: the rotational flag
- Log in to your server with SSH. SSH is a safe way to type commands on a server from far away.
- Type this command.
It lists your disks. Thelsblk -d -o name,rotarotacolumn means "rotational". - Read the number next to each disk.
1means the disk spins. It is an HDD.0means it does not spin. It is an SSD.
Method 2: read the file directly
- Type this command. Replace
sdawith your disk name from Method 1.
It printscat /sys/block/sda/queue/rotational1for HDD or0for SSD.
Method 3: see the model name
- Type this command.
lsblk -d -o name,model,size - Look up the model name in a search engine if you want more detail.
Important notes on virtual servers
On a VPS, the disk is often virtual. A virtual disk is a pretend disk made from space on a real one. The flag may then say 1 even when the real drive is an SSD. Do not trust it fully. NVMe drives, a very fast kind of SSD, show names like nvme0n1. If you see that name, it is an SSD.
For a sure answer about your Hostvento plan, open a ticket at the support link below.
lsblk with no options to see all disks and their partitions in a tree.Quick recap
- HDD spins. SSD does not.
- Run
lsblk -d -o name,rota. 0 is SSD, 1 is HDD. - Names starting with
nvmeare SSDs. - On a virtual server, ask Hostvento support to be sure.