A permanent data storage device used for storing and retrieving digital information using rapidly rotating discs (platters) coated with magnetic material in a rigid form factor (as opposed to floppy disks).
Questions tagged [hard-disk]
1495 questions
15
votes
6 answers
Linux detects an external drive as absurdly large
A relative asked me to look at a Seagate 2TB external hard drive of theirs that they said used to work and no longer does. I popped it into my desktop and nothing happened for a while other than it showing up (with an appropriate name) in…

Brayden Freitas
- 183
15
votes
2 answers
How to determine whether hard drive uses SMR
So far I know that cat /sys/block//queue/rotational will tell me whether my drive is a SSD or HDD. Is there something similar to find out if it uses SMR (Shingled Magnetic Recording)?

elisae__
- 151
7
votes
2 answers
What command do I use to spin up a "power up in standby" drive?
I have 8 drives in my server connected via PATA. The drives are set for no-spin via jumpers on the drive. hdparm -I says
powers-up in standby; SET FEATURES subcmd spins-up
What command do I use to spin the drives up?

longneck
- 420
6
votes
4 answers
Why my 3TB disk shows an actual size of ~800 GB with several tools except smart tools?
System disk started to fail and hence I ran out to buy a new HDD 10 minutes before closing time :/ This is for a 32-bit system disk. From earlier, relatively long time ago, I had checked out Seagate Barracuda 2TB, but got convinced by the salesman…

user129107
- 241
3
votes
1 answer
My WD External HDD take more than 3 days to format?
I have WD elements 2TB. I have tried to erase or format it but without success. Took long time, more than 3 days but nothing happens. The progress is stuck on 1%.
Also with try check bad sectors won't continue after 30 minutes
:~$ sudo badblocks…

rrr171
- 33
3
votes
0 answers
Strategy to detect SMR disks
I've got a WD 14TB arriving this week and I've like to determine if it's proper spinning rust or SMR.
There's a very good answer at How to determine whether hard drive uses SMR which discusses this, but it's now over 4 years old, and I wondered if…

Ian
- 311
3
votes
4 answers
External hard drive fails to mount
I have an external 2.5" 1TB Samsung hard drive, and it fails mount. Here's what palimpsest says about it:
It's even able to do a benchmark on it:
When I try to mount it normally, it fails:
$ sudo mount /dev/sdb3 temp
mount: you must specify the…

tshepang
- 65,642
2
votes
1 answer
Server down and require manual fsck. I saw this error in dmesg
I saw this in dmesg. What does it mean?
EXT4-fs error (device sdb1): htree_dirblock_to_tree: bad entry in
directory #763 3575: rec_len is smaller than
minimal - block=30429885offset=0(671744), inode=0,
rec_len=0,…

user4951
- 10,519
2
votes
1 answer
Hard drive shows up for `lsblk` but not `fdisk`
I have a hard drive (/dev/sda) that is visible when I run sudo lsblk -f, but not when I run sudo fdisk -l.
What could be causing this?
All the google results I could find were about drives that were not listed with either lsblk nor fdisk.
edit to…

PortMan
- 121
- 4
2
votes
1 answer
Don't turn on HDD until I manually do it
I have PC with 1000 Gb SSD drive and 1000 Gb HDD drive. I use SSD drive always and mount HDD drive very rarely, once a week.
Recently I looked to its Smart and see that it has 520 Start/Stop count and 1800 Load/Unload cycles.
I believe that this is…

anber
- 143
2
votes
1 answer
How do I know if a portable HDD is in use and will hot-plug hurt it?
The concern started with whether a portable HDD will be physically damaged or degraded if unplugged when the disk is still spinning. I understand that I can force unmount the device on Linux. However, let us suppose I am using the smartctl command…

Kun
- 276
2
votes
2 answers
where is the second hard disk in my CentOS?
yesterday I installed CentOS on my machine.There are two hard disk(SCSI) in my machine,but after installing,I used "fdisk -l"command to check disks only find one disk has been mounted.I also have check out the /dev directory,only find…

seabiscuitxf
- 33
1
vote
0 answers
How to check if ssd/nvme/flashdrive/external-disks is fake
Since there's a lot of counterfeit disks lately (external disks that claim to be normal 500GB/1TB/2TB/4TB but inside it's only 16GB flashdisk and heavy iron, or nvme but it's just small microsd plugged inside and covered with heatsink so people wont…

Kokizzu
- 9,699
1
vote
0 answers
Prevent idle disk from spinning up during reboot/halt
I use hd-idle to ensure that the non-ssd disks in my computer don't annoy with their noise me during normal operations. I only need them from time to to time, so I spin them down directly after boot with
/usr/sbin/hd-idle -i 0 -a /dev/sdb -i 60…

user37765
- 11
1
vote
1 answer
SAS hardrive 600GB 10k is not detecting in my linux server
I have inserted one new 600 GB HDD to my Linux server. Green light is glowing but in my Oracle Enterprise Linux 5.5 OS it is not showing after executing the command below:
fdisk -l
grep -H . /sys/block/sd*/device/model

Sumith
- 21