Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

How to repair or at least analyse non booting debian?

I have an Acer Swift 3 with a Kingston NVMe SSD that worked under Debian 1x until last week. At that time I ran Tails, rebooted and ... was not able to get into grub anymore. Acer: "No drive ...
user avatar
0 votes
3 answers
52 views

Manually telling EXT4 about bad sectors?

The drive is currently in NTFS. After running chkdsk for hours, I have found the locations of bad sectors (below). I want to reformat the disk in EXT4. I have heard that EXT4 has some sort of metadata ...
user avatar
0 votes
1 answer
25 views

Write a bootable image of system into an internal disk, without removing a data partition

I have an internal HDD like partitioned like this: [---- 100 GB unused ----|----------- 800 GB data ------------] 100 GB of unused or "to be deleted" old partitions /dev/sdb1, /dev/sdb2, /...
user avatar
  • 2,113
1 vote
1 answer
28 views

Change OS disk location

I have a lenovo laptop with a 1TB HDD disk, I've installed another 240GB SDD drive, I want to translate my currently installed OS (POP_OS) from the HDD to the SDD to keep the OS on the fastest drive ...
user avatar
1 vote
0 answers
20 views

Best filesystem for accidental external disk disconnects? [closed]

I have an external disk that is connected to the monitor that acts as a hub and then to my laptop. I rarely copy data to/from disk, but it's really convenient to just have it there when I am at my ...
user avatar
  • 111
0 votes
0 answers
13 views

Linux Centos 7 An error occurred while accessing the system responded: The device is already mounted

I am working with Linux Centos 7. I have 3 hard disks in my computer. Each time, when I click on my 3rd hard disk drive, I am facing this error:An error occurred while accessing the system responded: ...
user avatar
0 votes
1 answer
33 views

Will dd copy half blocks?

I am using this command to overwrite the data of a hdd: sudo dd if=/dev/zero of=/dev/sdc bs=10M status=progress conv=fsync If the size of my hdd is not divisible by 10M, will dd abort or will it ...
user avatar
  • 321
0 votes
0 answers
14 views

Monitor accumulated disk writes over period of time

Incremental backups of a Ubuntu Server 20.04 VM are unexpectedly large, and I want to find out why. Is there a tool that can monitor disk write activity, and show a summary of accumulated writes to ...
user avatar
  • 141
0 votes
0 answers
34 views

Badblocks -b 4096 finds errors, but badblocks -b 512 and smartctl don't

I got a new external HDD (WD Elements Portable 1TB) and wanted to test it with badblocks. I always used badblocks -wsv -b XXX /dev/sdc First thing I did was trying to find out the blocksize, so I ...
user avatar
  • 1
0 votes
1 answer
33 views

Why must I provide authentication to mount SATA HDDs? Why are they in read-only mode?

I am running Fedora 35 dual booted on a Dell G5-5000, and have two or three HDDs connected via SATA (including the drive that Fedora on). When I attempt to access the drives in Nautilus for the first ...
user avatar
  • 103
0 votes
1 answer
24 views

Installed UBUNTU Server and wont recognize full HDD Capacity

Hello i dont quite understand why when i installed the server i made sure to clean wipe the disk and use all the disk of 250gb to make 1 partition but only now there is only 97gb that i can use so i ...
user avatar
0 votes
0 answers
72 views

hdparm disk spin-down not working anymore

My setup: Raspberry 4 / Raspberry OS; additional 3TB WD HDD attached via USB3 I was using hdparm to spin down this harddisk after 3o min. This was working perfectly fine until few days ago. Now, there ...
user avatar
1 vote
0 answers
83 views

HDD write speed on gpt vs lvm, baremetal vs kvm

I'm comparing write speed of HDD storage from two sources - baremetal, kvm and on two formats - gpt partition, lvm partition. Commands have been run thrice and I checked the average value. I used one ...
user avatar
0 votes
2 answers
87 views

What kind of content/data does "fallocate" command generate?

When is executed the sudo fallocate -l 2G /swapfile command, then 2 GB is created, but with that kind of content or data? Can be it customized? If yes How?. I did do some research but there are no ...
user avatar
0 votes
0 answers
20 views

swap file: dd or fallocate? [duplicate]

About swap file in many tutorials within their procedures user either dd or fallocate dd as: sudo dd if=/dev/zero of=/swapfile bs=1024 count=N # N represents a high number to get X giga fallocate as:...
user avatar
0 votes
1 answer
48 views

dd: when is mandatory use bs and count together?

I am reading many tutorials about the dd command. There are some examples including the bs and count parameters. Some of them where each one is isolated over the other and other where both are used ...
user avatar
0 votes
1 answer
51 views

kernel reports lots of "scsi parity error" / DID_BAD_TARGET errors

This is for an aging mechanical SATA drive. Sample of the log: kernel: sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_OK cmd_age=0s kernel: sd 0:0:0:0: [sda] tag#0 Sense Key :...
user avatar
0 votes
1 answer
16 views

Whats the status of my HDD ? it freezes time to time

Just a random day my win 7 froze and crashed with blue screen , i thought it was power problem as the battery was almost dead so i changed it and installed Linux dual boot ,was fine for few weeks but ...
user avatar
  • 1
0 votes
3 answers
65 views

Define partitions to install Linux but considering Security and Administration aspects/concerns

Scenario: for simplicity - consider that exists a hard disk of 500GB to only install Linux (for example Ubuntu, Debian or Fedora) - and if exists a hard disk of 750GB or 1TB then 500GB are dedicated ...
user avatar
1 vote
0 answers
41 views

laptop second hdd in caddy does not show in bios but shows up after ubuntu boots

I have installed a second HDD in my notebook via a DVD-HDD caddy. My laptop is a Lenovo Ideapad 110 15ISK I want to dual boot Ubuntu (primary SSD) with Fedora (caddy HDD). My observations: caddy with ...
user avatar
0 votes
1 answer
108 views

Disk showing in windows but not in Ubuntu

New to linux but have been researching this for a few evenings without success. I have two disks in my machine. I wiped windows and installed Ubuntu on one of the disks. I can't seem to access the ...
user avatar
  • 1
1 vote
0 answers
42 views

SmartMonTools: tests get cancelled without any traces

I am testing hard disks with SmartMonTools under Ubuntu 20.04. Tests for some hard disks are not working - they disappear without leaving any warnings or errors. Hard drive status before the test (...
user avatar
  • 111
1 vote
1 answer
49 views

Negative disk used space after shrinking RAID1 in Debian 11

I resized an ext4 software RAID1 consisting of two disks sda3 and sdb3 (in rescue mode, i.e. disks are not mounted): e2fsck -f /dev/md126 resize2fs /dev/md126 39G mdadm --grow /dev/md126 --size 40G ...
user avatar
1 vote
1 answer
36 views

rsync from external vfat disk to local ext4 yields VASTLY different sizes [duplicate]

I found an older external hd I want to reuse for something else. I was doing an rsync of it to a NAS I run over the network but it was taking ages. So I decided to rsync to my local drive first (SSD) ...
user avatar
0 votes
1 answer
39 views

Increase root disc space and gain access to existing hard drives

I have an issue on my CentOS machine with hard drive space on root. df -h returns Filesystem Size Used Avail Use% Mounted on devtmpfs 126G 0 126G 0% /dev tmpfs ...
user avatar
  • 161
1 vote
1 answer
30 views

How to check harddisk maximum temperature throughout lifespan?

How to check harddisk maximum temperature throughout its lifespan in Linux? In the Windows software Hard Disk Sentinel, we can check the Maximum Temperature (during entire lifespan): The software ...
user avatar
  • 233
0 votes
0 answers
22 views

Are iodepth and iodepth_batch the same in fio?

Wanted to know the difference between iodepth parameter and iodepth_batch parameter in fio. Here is what is mentioned in fio read the docs : iodepth=int Number of I/O units to keep in flight against ...
user avatar
0 votes
1 answer
65 views

dd faster than it should be

When I run the command dd if=/dev/zero of=tmp.dat bs=1M count=1024 status=progress on a 500G HDD I get 833617920 bytes (834 MB, 795 MiB) copied, 1 s, 829 MB/s 1024+0 records in 1024+0 records out ...
user avatar
0 votes
2 answers
83 views

how to verify number of disks in RAID but from OS

we have Linux RHEL server - 7.6 version in server disks are : lsblk -S NAME HCTL TYPE VENDOR MODEL REV TRAN sda 0:2:0:0 disk DELL PERC FD33xD 4.27 sdb 1:0:0:0 disk ...
user avatar
  • 11k
0 votes
1 answer
26 views

What happen to the disk when an application saving big file

I'm curious about, when we work with files those need frequently saving (eg. doc, pptx), what happen to the disk when we press the save button? I was thinking about, the original file content should ...
user avatar
  • 196
0 votes
1 answer
82 views

read raw data from disk and convert

please help to find a way to convert the data as follows: I read from disk using dd utility dd if=/dev/sdb skip=8388608 count=560 iflag=skip_bytes,count_bytes |hexdump -C and I am getting ...
user avatar
  • 1
4 votes
4 answers
244 views

I have copied a whole partitioned disk into a partition of another disk. How can I access the data?

A hard drive with multiple partitions gets dd'ed onto a partition of a second hard drive (partition big enough to fully contain the first hard drive). Is it possible to access the data on the second ...
user avatar
  • 1,895
0 votes
1 answer
115 views

Udev rule refuses to trigger when harddrive is added

I'm on Ubuntu 20.04. I'm trying to execute an action when a specific harddrive is connected using an udev rule identifying the drive using UUID. The script will eventually do a routine where it will ...
user avatar
  • 1
0 votes
1 answer
40 views

Buster lists external hard drive twice, same name

I have a pi running Raspbian GNU/Linux 10 (buster) armv7l with an external hd attached via usb. For some reason I have that hd listed twice in /media/pi. One of them has a "1" appended to ...
user avatar
  • 101
0 votes
0 answers
25 views

Failure while connecting external harddrive

I am trying to connect a seagate external drive to my PC that runs Manjaro 5.15.16-1. However, it is not detected by the system. It is not listed in /dev, I can't view it with fdisk -l. But, I can see ...
user avatar
  • 1
0 votes
1 answer
36 views

How to browse an img from a broken drive (restore lost data)

Currently I believe I'm experiencing drive (HDD) failure. It is a single partition drive for extra storage. When I attempt to mount it I get the following error: # mount /dev/sdc1 /mnt mount: wrong fs ...
user avatar
2 votes
0 answers
37 views

Anomalous USB I/O errors when copying from one large external drive to another

Running Linux 5.4.0 under Ubuntu 20.04.3 LTS. I've got an issue that's driving me crazy. I recently picked up a few 12 TB external USB drives (WD MyBook 12 TB, repartitioned ext4 via gparted), with ...
user avatar
-1 votes
1 answer
689 views

rhel + kernel messages about FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK

we have couple DELL physical servers with the same problem about - FAILED Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK from dmesg we can see the following [2982241.758445] [<ffffffff81697709>...
user avatar
  • 11k
0 votes
0 answers
22 views

Failed to mount external hardisk volume

I need to transfer data from my old kali-linux machine to the current one. I copued directory to hard drive without issue, then connected it to my current pc, I get this error: My external hard disk ...
user avatar
  • 207
9 votes
2 answers
1k views

Why am I getting HDD total space less than 931 GiB?

I've been trying for a few days already, but still cannot figure it out how to get the proper size of my HDD drive with a python script. My HDD is 1Tb. As I know in Gb it is 1000Gb, and in GiB it is ...
user avatar
0 votes
0 answers
16 views

Ubuntu install not recognzing windows 10 hard drive but gparted and fdisk recognizies

Im trying to dual boot ubuntu(zorin 16) and i hav don i before too but i ended up deleting it. It still shows up in the boot menu as ubuntu tho. When i launch it it just shows a very minimal bash ...
user avatar
0 votes
0 answers
66 views

Mounted hard drive is not showing any files

I've mounted the my hard-drive (first run lsblock to identify it). It mounts but does not show any files. I've mounted in someone else's windows machine and all files are showing right away. To mount ...
user avatar
  • 164
0 votes
0 answers
27 views

Recovering data from HDD after failed FS change attempt

I lost partition on my 5TB Seagate Backup Plus external HDD. I was trying to convert the file system from NTFS to HFS using Paragon HDD Manager 17. Windows is not recognizing the drive and MacOS is ...
user avatar
0 votes
2 answers
46 views

lsblk size not adding up

I am using Ubuntu 20.04. when I do lsblk size is not adding up. root@UbunutuTemplate-001:/home/tca# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 4K 1 loop /snap/bare/5 ...
user avatar
  • 157
1 vote
0 answers
99 views

CentOS / RHEL Installers Can't see my Computer's Hard Drives

I've tried installing Ubuntu and the installation went flawlessly. However, I'm interested in CentOS / RHEL This is an old Windows Vista era Dell Inspiron 531. I've seen the info regarding AHCI and ...
user avatar
1 vote
1 answer
226 views

resize mounted partition with gparted

I have the following partitions on my machine: I want to resize /dev/sda5 and stick it to sda4, but gparted doesn't allow me. How can I do it?
user avatar
  • 10.2k
0 votes
2 answers
65 views

Do I need to partition my external hard drive?

Just bought an external hard drive to back up my files. Do I need to make a partition on this drive? It seems not working for me by only set the file system to ext4. OS is Linux
user avatar
  • 279
0 votes
1 answer
126 views

How to use parted in script mode to create 3 partitions

Trying to create an installation script for a from-base linux distribution. The first partition I would like to create is a 1G /boot The second should be a variable sized swap partition (current RAM*...
user avatar
0 votes
0 answers
44 views

How to disable automatic startup of specific hard drives?

I'd like to have some internal hard drive/s to not spin up automatically when booting or waking from standby on Debian11/KDE. With the tool GNOME Disks I can configure the drives to go into standby ...
user avatar
  • 3,430
0 votes
0 answers
354 views

Writing data on external USB HDD is extremely slow - even for large files

I'm copying data to an external USB HDD. The data transfer is extremely slow. Sometimes only 15kB/s. System: Laptop: Lenovo Thinkpad L520 (serialno sticker: 7859 - 5BG S/N LR - 9WZ84 11/09) OS: ...
user avatar
  • 13

1
2 3 4 5
27