Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [hard-disk]

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

1
vote
0answers
54 views

ls command is too slow for some directories

When I run ls command for some directories, it may take about 1.5 seconds to complete even if directory has just a few files, but for most of directories it's very fast. It seems that it's slow for ...
0
votes
0answers
16 views

Latency of SSDs versus HDDs [migrated]

We are currently using an HDD for our NetApp storage for our VMs. We're considering replacing them with SSDs, but many disk manufacturers have different performance. What range of latencies can we ...
1
vote
0answers
30 views

How to get disk information on Linux?

The purpose is to obtain information about the physical hard disk under the Linux platform. The required information includes the physical hard drive name (caption), device path (such as /dev/sda), ...
0
votes
0answers
14 views

USB disk disconnects when exchange quite high data

I have an embedded PC (based on Atom Z3735F with a 32 GB eMMC for o.s.) that I use as NAS with OpenMediaVault 4.1.2-1. On an USB port I connected a 1 TB Hard-disk for storage. Whenever I do something ...
0
votes
0answers
19 views

badblocks fails to spot corrupting disk controller

I have file corruption problem on a HDD (the SDD in the same computer works fine): for i in {1..10}; do dd if=/dev/zero of=zeroes_$i.dat bs=512 count=4M done md5sum zeroes_* yields the correct ...
3
votes
0answers
36 views

Buffer I/O error on loop device

Lately, I have been getting Buffer I/O errors during boot time. Seemingly, it appears randomly and I could not be able to reproduce it. However, it happens in every 5-8 boot on average. Here is the ...
-1
votes
1answer
24 views

Formated drive is not fully empty

I used Gparted to delete the partitions on a HDD as for some reason had used data on it however, after restarting my system it says my unallocated 4TB drive is only 3.64TB.
0
votes
0answers
31 views

Disk space disappeared [duplicate]

cd / && du -sh . told me that the filesystem used 2.1G spaces of disk: root@ubuntu:/# cd / && du -sh . du: cannot access './proc/3874/task/3874/fd/3': No such file or directory du: ...
0
votes
1answer
28 views

“hdparm -S” does not work on external HDD's. How to avoid it from spinning down?

Apparently, hdparm only works with internal HDD's.How do I avoid an external HDD from spinning down after half a minute? One way is to read one sector using badblocks or dd each 29 seconds in an ...
0
votes
2answers
29 views

S.M.A.R.T show's high Load_Cycle_Count | Why and how to prevent the number from increaseing?

i just realized that some of my HDD's have a huge Load_Cycle_Count when reading out their S.M.A.R.T data. Some are short before failing and i am asking myself why this is the case and if there is ...
0
votes
0answers
25 views

Kali Doesn't show HDD in automated install [duplicate]

I am trying to install Kali Linux from a USB drive to my hard drive alongside Windows 10. My issue is that when the "Partition Disk" step comes along in the Kali installation, /dev/sda does not appear....
0
votes
0answers
46 views

In LINUX: Using dd to transfer shrunk partitions on a 2TB HDD to a 500GB SSD

A source HDA (2TB mechanical HDD) has 5 partitions on it (GPT) that used to occupy the entire capacity of the 2TB HDA. The Operating System resident on the source drive is Windows 10. Since the ...
-1
votes
1answer
33 views

How to access external hard drive from Ubuntu Shell and Python code [duplicate]

I am running out of space in my local device. I have external hard disk. I want to point my python code to write to directory there. How can I know the full path for the hard disk? I tried to go to ...
1
vote
0answers
36 views

Nginx disk io problem

I run a small video streaming website and i've been noticing some problems with videos on my site. TOP top - 15:43:48 up 34 days, 1:22, 1 user, load average: 37.80, 38.08, 38.38 Tasks: 184 total, ...
-3
votes
1answer
52 views

What are the limitations on where we can move a partition in gparted? [duplicate]

Please leave the two posts open, until you can write a good answer to cover both. The layout of my current disk is: In gparted, when I select a partition, and click "Partition->resize/move", is it ...
0
votes
0answers
50 views

Will I be able to move my root partition without failing to boot?

The layout of my current disk is: I am following the advice from https://unix.stackexchange.com/a/501410/674 to rearrange the partitions on the disk. Are the following steps ok? shrink sda3 (/) to ...
0
votes
1answer
22 views

Do the (relative) positions of the partitions matter?

The layout of my current disk (ST1000LM014) is: Do the (relative) positions of the partitions matter? what are the pros and cons of the following orderings: swap, home, root swap, root, home root, ...
0
votes
1answer
32 views

Is lshw correct that this hard drive is SCSI not IDE?

I have a hard drive (model: ST9100822A), which I think is IDE, because of the look of its interface pins, and accordingly the instruction of my SATA/IDE-USB adapter. But lshw shows it as a SCSI disk ...
-1
votes
0answers
16 views

How to use a CentOS HDD on another CentOS PC

My CentOS 5 server crashed (for unknown reasons).  I have the hard drive connected with USB to my laptop, which runs CentOS 7.  How do I mount this drive so that I can extract some of my important ...
0
votes
1answer
45 views

What is the purpose of `.Trash-1000` in my external hard drive and how can I clean it up?

I have a Western Digital external hard drive with one partition and a NTFS filesystem. In Lubuntu, under its top directory: $ sudo du -d 0 -h * | sort -h 0 temp 7.5K $RECYCLE.BIN 25K System ...
2
votes
2answers
138 views

smartctl reports overall health test as passed but the tests failed?

Why is SMART overall-health self-assessment test result: PASSED being displayed when the two tests done failed? sudo smartctl -a /dev/sdc smartctl 6.6 2018-12-05 r4851 [x86_64-linux-4.14.98] (local ...
-1
votes
1answer
28 views

Hard drive - not seen by fdisk, not mounted but detected

I had hard drive which was target location for CCTV, connected to linux mini pc running rsync in background to collect footage from few locations. Well, I noticed that sometimes rsync failed due ...
1
vote
1answer
38 views

What makes my disk spin? [duplicate]

TL;DR Is there a way under Linux to know which file access caused an hard disk to spin up? Full story My laptop has a NVME disk, which contains the operating system and my home dir, and a spinning ...
2
votes
2answers
53 views

Fedora 29 — 500gb Hard Drive only storing 52.6gb

I have two hard drives on my laptop. One has 1tb with windows 10 and the other is 500gb (which I took from an old laptop) with fedora 29. When I went into the disk usage analyzer (DUA) on Fedora 29 I ...
1
vote
1answer
71 views

What is taking up my disk space? [duplicate]

root@ubuntu:/home/user8# df -h Filesystem Size Used Avail Use% Mounted on udev 16G 0 16G 0% /dev tmpfs 3.2G 218M 3.0G 7% ...
-1
votes
1answer
19 views

How much does my volume group use of my hard drive?

I want to know how much space of my hard drive is being used in the hard drive , let me explain: My first hard drive is /dev/sda and the second one is /dev/sdb each one of them has a logical voume ...
0
votes
1answer
141 views

Adjust fan speed via Fancontrol according to hard disk temperature (Hddtemp)

How can I adjust fan speed according to hard drive temperature via Fancontrol?
0
votes
1answer
46 views

Shared Hard Drive?

I'd like to set up one external hard drive that would serve as the backup drive for two different laptops, both running Linux. I understand this is problematic b/c each machine will have its own set ...
0
votes
0answers
14 views

ix2-dl soho software won't mount disks

TL;DR the web gui and event viewer as well as soho.log don't actually print when mounting disks. It mounted itself eventually after a few days of uptime. No log message, no warnings or errors. No idea ...
3
votes
1answer
33 views

Stop spinning down internal disk

My laptop has a WDC WD10JPCX-24UE4T0. It spins down after 5 seconds of idle. That is pretty annoying. How can I change the spindown time? I have tried: /usr/bin/gnome-disks hdparm -S 200 /dev/sda ...
3
votes
1answer
45 views

Partitioning and formatting a 4k-emulated (512e) HDD

I just plugged into USB A 3.0 / C 3.1 my new external HDD to Debian Buster system. The disk was sold as LaCie 2.5" Porsche Design P'9227 2TB USB-C. Here is the output of fdisk -l /dev/sdc: Disk /...
0
votes
1answer
41 views

What does dd write, when it encounters a input/output error?

I have a drive that's on the verge of failing (C5 a C6 are triggered) so I decided to make another backup while I still can. For that, I'm using dd to another drive of the exact same model. As ...
-2
votes
1answer
53 views

How is filesystem information stored on the hard disk [closed]

When we format a partition in a hard disk with a file system using mkfs -t ext4 /dev/sdb1, what's the data that is written on to /dev/sdb1.? Some data identifying the filesystem type has to be ...
1
vote
1answer
35 views

Is a block_device mapping a physical disk or a partition of the disk? [closed]

In the ULK(Understanding Linux Kernel) book, the author says each block device has its own driver. The question is, does the block device here represent a physical disk or just a partition of the disk?...
1
vote
3answers
75 views

Can't boot from a cloned hard drive

My laptop's hard drive will fail soon (according to SMART), so I decided to clone the entire drive to another one: sudo sh -c 'cat /dev/sda >/dev/sdc' With the new hard drive the laptop shows ...
1
vote
1answer
64 views

Is there a Linux Equivalent of Macrium Reflect?

I am using dell precision 3520 running ubuntu 18.04 lts. I am trying to replace my HDD with SSD. I would like to have all my data transferred to the new disk. On Windows there is Macrium Reflect to do ...
0
votes
0answers
262 views

Ext4 Error and disk remounted read-only

Sometimes I have an error ext4 and my disk becomes read-only. I can fix it with a reboot and fcsk /dev/sda2 but it keeps coming back... Here are some dmesg : [ 3160.692730] perf: interrupt took too ...
0
votes
1answer
45 views

how to understand the dmesg

we have redhat machine version 7.2 and each machine have disks as sdb sdc sdd sde sdf in the dmesg report we get the following [873080.996700] Buffer I/O error on device sdf, logical block ...
0
votes
1answer
19 views

mv command for many nonexistent files, does it wear off the destination disk at all?

I am trying to continuously move many files (~ 10 000 each minute) from /ramdisk to normal /ssd , but not all files are there. When the mv /ramdisk/file55 /ssd/file55 fails because source is not ...
1
vote
2answers
49 views

Root reserved blocks

While I did Ubuntu netinst, the question came into my head. The question is: is reserved 5% kind of run-time? I mean, when doing something like sudo apt install - this 5% is beign used by root at this ...
1
vote
1answer
67 views

Is it worth to keep using a hard disk with these errors?

I was trying to re-use a hard disk that shows errors, I don't remember if the device was hit or it starts making misreads on his own. The fs is ext3. There are files recovered using the testdisk ...
1
vote
1answer
29 views

Reboot with faulty drive, devices names change, server does not boot

I have had this problem on 2 servers and I want to know how should I handle the problem. My server has an SSD (/dev/sda) and two SATA drives (/dev/sdb and /dev/sdc). The second drive (/dev/sdb) has ...
0
votes
1answer
64 views

Linux Formatted my SSD without telling me. Any Hard Recovery Specialists? [closed]

So I set up a partition on my HDD /dev/sdb of 100 GB for the operating system. I set up root, home, and swap area all within that partitioning of my 2Tb HDD. I restart my system and find Linux Ubuntu ...
0
votes
0answers
38 views

How to disable HPA capability using DCO on a SATA HDD?

My Gigabyte motherboard has a BIOS that forces a HPA on the HDD. This can not be disabled in the BIOS. What I would like to do is reset the HPA (easy enough using hdparm -N p<native_capacity> /...
0
votes
3answers
41 views

Does deleting the root partition affect the home partition?

But then I remembered home is !mounted! in /home and / is root Here's what I want to do.. I have an hdd with 4 partitions. boot swap root home I delete the first one, then the second, then ...
1
vote
0answers
30 views

Can not Mount “/dev/hdb on /cdrom” on Carrier i-Vu CCN

I had to replace a hard drive in a Carrier I-VU HVAC Control server for a nursing home with no heat. I am not a HVAC guy but am trying to get heat back on because repairman could not get it for a week....
3
votes
0answers
64 views

Backup: How to mirror/clone LVM LVs (or VGs) on demand?

So far, I have a semi-automated backup approach for the whole system installed in different LVs, using LVM (CoW) snapshots (which can be created upon boot to avoid data corruption). That is, if I ...
1
vote
1answer
46 views

Why does a copy operation to a directory that serves as a mountpoint not copy the data to the mounted drive?

Why does a copy operation to a directory that serves as a mountpoint not copy the data to the mounted drive? I bought a 2 terabyte drive and mounted it in a subdirectory within my home directory. ...
1
vote
0answers
35 views

Why does hdparm return 2 differing results when AHCI is enabled and disabled?

When invoking the hdparm command to securely erase devices e.g. ATA SECURE ERASE, the output hdparm -I /dev/sda and hdparm -I /dev/sdb differ with AHCI enabled and disabled. Both devices are SATA ...
-1
votes
2answers
33 views

how to mount linuxmint hard drive on linuxmint laptop

I want to mount linuxmint hard drive using other linuxmint laptop, this is display of lsblk command on my linuxmint : NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465,8G 0 disk ├─...