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
votes
0answers
5 views

Delete partition - Partition number

I want to delete the partition /dev/sdb5 from my hard disk and then distribute the resulting space to other partitions. Now what would be the consequences in doing so? Would the partition numbers ...
0
votes
0answers
34 views

Is it possible to reset attributes in smartctl?

I purchased a hard drive that was advertised as being "new", and running smartctl -a on it showed 0 power on hours and 1 power cycle count, as expected. However, a little bit below that, I see ...
0
votes
1answer
24 views

DDRESCUE - How to re-run first pass (don't do reverse yet)?

I ran ddrescue for a few days, and recovered about 60G. It had slowed to a crawl, and had an ipos of about 90M. I started again, adding -a100000, and it got another 35G in only 3 hours. It started the ...
0
votes
1answer
74 views

What is the maximum number of partitions in a hard drive [duplicate]

I want to know the maximum number of partitions in a hard drive. But I'm not sure whether that is affected by factors such as hard drive types or partition scheme or not. So, I'll just write down ...
1
vote
2answers
43 views

Resume DD on creating a disk ISO?

I'm trying to create a full disk ISO image of a 250GB HDD but I had to cancel the operation about 80% of the way through, it'd taken nearly 16 hours to get to this point and I'd rather not have to ...
0
votes
2answers
49 views

df command not showing free disk space

I'm trying to find the full disk space of my whole disk. I used the df command and typed df -h and I saw my disk which is called sda however df only shows me the first partition for my sda disk which ...
0
votes
0answers
34 views

How tdo you add an unallocated space partition to your kali linux partition? (Kali linux dual booted with windows 10)

I am currently using Kali linux as a dual boot with windows 10. I cannot figure out how to allocate my Kali linux OS unallocated space that I have on one of my drives without reinstalling. I have ...
0
votes
0answers
23 views

Installed new Linux on HDD having a second Linux on SSD - possible sharing of root/swap partitions?

I got a bit confused after installing Linux Mint again, this time on my HDD instead of the SSD. I have not deleted the old (on the SSD) yet because I am worrying that "root" and "swap" might be shared ...
6
votes
1answer
317 views

How to calculate partition Start End Sector?

I am wondering what Start and End value to choose when partitioning my ext. SSD using fdisk. fdisk suggests 2048-250069679, default 2048 but 250069679 cannot be divided by 512 nor by 2048. Wouldn't ...
1
vote
1answer
159 views

“kernel: Buffer I/O error on device” - Does my server have a hardware problem?

we have linux DB server redhat 7.2 we notice about many message as below about all disks that are mounted from /var/log/messages what we are need to understand if this behavior is relevant to HW ...
1
vote
0answers
76 views

disks are SSD, but /sys/block/vdb/queue/rotational says it's rotational - should i worry?

Is it a problem when the system believes a device to be rotational, but it is SSD really? The system is: Ubuntu 18.04 KVM virtualized I have /dev/vda as "local", /dev/vdb as "isilon"; I'm interested ...
1
vote
0answers
45 views

Disk utilization on mdadm raid 5 is 100% even though none of the member disks is at 100%

I am currently confused about the disk utilisation of one of my machines. The setup: I have a machine containing 4 2TB HDDs. For those HDDs I used mdadm to configure a RAID 5 (called md2) On MD2, I ...
0
votes
0answers
83 views

df - size doesn't equal used+available

I have such line when running df: /dev/sda4 47G 45G 0 / I have all those error messages that there is no space left on the device. I rebooted system and nothing changed. I ...
0
votes
0answers
30 views

How do I properly spin down my hard drives using the command line? (hdparm, apm, hd-idle, any other?)

I just realized that spinning down hard drives is more complicated than I thought. Regarding to HDD idle settings using hdparm (APM, Suspend) I have to write a script that needs to be started at ...
0
votes
1answer
18 views

can't find one of my hard drives on newly installed linux mint

I just installed linux mint alongside windows and I can't seem to find one of the 3 hard drives. Two of them (sda and sdc) are available under /media/<username>/<drivename> , but the third ...
1
vote
1answer
22 views

Issue with merging two HDD images into 1

I've got two HDD image files, which both of have 2 partitions each. On each image, the first partition is the grub boot partition, and the second partition contains the files and kernel. The second ...
1
vote
0answers
84 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 ...
1
vote
0answers
110 views

How to get various disk information on Linux?

The purpose is to obtain information about the physical hard disk under the Linux platform. The required information include: physical hard drive name (caption) device path (such as /dev/sda) read/...
0
votes
0answers
36 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
1answer
22 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 ...
4
votes
0answers
170 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
26 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
35 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
50 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
81 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
26 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
1answer
62 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
137 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 ...
2
votes
1answer
66 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
56 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
82 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
26 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
59 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 ...
0
votes
1answer
72 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
245 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
78 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 ...
2
votes
1answer
42 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
91 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
79 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 ...
1
vote
1answer
351 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
50 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
16 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 ...
4
votes
1answer
40 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
107 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
157 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
71 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
42 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
104 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
168 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 ...