Stack Exchange Network

Stack Exchange network consists of 174 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).

0
votes
1answer
18 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 ...
-1
votes
0answers
13 views

HDD randomic read-only

I have a notebook, which I frequently forced a sutdown when it was necessary (either by holding the OFF button or with the CTRL ALT PRINT REISUB). This caused problems where the system started or ...
-1
votes
0answers
20 views

badblocks stuck when performing test on huge disk

we run the badblocks on disk with 10T , in order to verify bad block on the disk as the following badblocks -b 4096 -vv /dev/sdb but badblock stuck on 19% , any suggestion why this happens ? note ...
0
votes
0answers
16 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
35 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
18 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
35 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
59 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
26 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
55 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
16 views

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

My Gigabyte motherboard has a stupid 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<...
0
votes
3answers
37 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
28 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....
2
votes
0answers
34 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
45 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
22 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
24 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 ├─...
0
votes
1answer
39 views

What's the unit of partitions of hard disks?

I know the unit in the partition table is sector. But is it the size of physical sector size or logical sector size? When the logical sector size is different with physical sector size, how does ...
1
vote
3answers
27 views

Disk setup on laptop with regular HDD plus SDD [closed]

This is going to be a question about your opinions on setting up a new laptop with both a regular 1TB HDD and a 250G SSD. Let's suppose that... /dev/sda = 1,000 GB HDD (931 TiB) /dev/sdb = 250 GB ...
-1
votes
0answers
17 views

BUG_ON in btrfs

I have a btrfs partition that won't mount, and most of the errors I get seem to point to a bad superblock. Most of the documentation for fixing this seemed to indicate that I should use btrfs rescue ...
0
votes
0answers
23 views

dmesg exceptions on connecting 8TB WD SATA drive

On init of the system under systemd the following output is observed from dmesg. I've included a bit before the exception too for context. fdisk -l does not list the new disk. I connected the drive ...
0
votes
1answer
17 views

How to measure the usage of disk cache?

Load Average itself is not very informative about the reasons of overload, so I want an additional characteristic: the percent of disk read operations that are done from cache. To measure it, I ...
0
votes
1answer
22 views

Merge unallocated hard disk space

I just got a hard disk from my friend. Since it's only 160GB, I assume it's a pretty old one. Now I'm going to format it and make it a fresh hard disk through raspberry pi. But I notice the primary ...
0
votes
0answers
10 views

ICH10: Large disk support?

I have a Fujitsu RX200 S5 server with an Intel ICH10 82801JI SATA controller that I'd like to use. However, I'm unable to find conclusive information about support for disks with 2 TByte and more. Are ...
3
votes
1answer
64 views

How to copy partitions from one device to another, including boot partitions?

Basic Explanation How could I copy partitions sdh1 though shd4 from my 600gb HDD (sdh) to my 1 TB SSD (sdg)? Which are my Windows partitions and still keep it bootable? I used GPT. Below is a ...
0
votes
1answer
26 views

4TB hard disk on a Raspberry Pi

I never had problems with USB drives before, but this new 4TB by WD I'm unable to make it recognized. I created a single ext4 partition (GPT). I tried both connecting it directly, and also via a ...
0
votes
1answer
51 views

Why does hdparm -y not spin down a HDD while the file managed does? (using Ejection option)

A HDD, which is older than 10 years, is getting read using a SATA-to-USB adapter. When using sudo hdparm -y /dev/sdj, the HDD does not shut down. But when using the Eject option in the File Manager, ...
0
votes
0answers
40 views

External HDD failure due to bad blocks

My external HDD failed, I searched on the internet and found that it may have been caused by bad blocks. I therefore ran sudo badblocks -vs -b 4096 -c 64 /dev/sdb1 > ~/Downloads/badsectors.txt in ...
0
votes
1answer
33 views

Add a backing device to an existing bcache device

I currently have a bcache device with one SSD as cache and one HDD as a backing device. Is it possible to add another backing device without loosing the files already on the bcache device?
0
votes
0answers
30 views

Do deleted HFS+ partitions appear as 'Linux filesys. data' when running TestDisk on Linux?

I'm trying to restore HFS+ partitions that someone accidentally deleted when connecting their Mac formatted external HDD to a Windows PC. Here's the TestDisk (7.1-WIP) [Analyse] output: TestDisk 7.1-...
0
votes
2answers
51 views

How to Know What Filesystem External Harddrive is Using

How can I tell what file system an external hard drive has using Debian? I have opened it via the GUI, but there is nothing listed for 'filesystem type'
1
vote
1answer
97 views

Using udisksctl to power off external hard drive causes hard lock

I possess an external USB 3.0 hard drive which is connected to my notebook. Of course, I do not want to just tug the connector off when I'm done; rather, I want it to safely spin down as per good ...
1
vote
0answers
39 views

sedutils vs hpdarm for SED hard disks

According to my reading there are 2 known methods for using Self-Encrypting Drives (SED): hdparm https://www.pugetsystems.com/labs/articles/Introduction-to-Self-Encrypting-Drives-SED-557/ sedutils ...
-1
votes
2answers
364 views

Ubuntu recovery says “fsck from util-linux” and exits

I booted Ubuntu in recovery mode to try and fix a disk error. However, when I run: fsck I just get: fsck from util-linux 2.31.1 And nothing else happens. Any fsck command is simply printing '...
5
votes
2answers
292 views

How do commands like fdisk -l find the sector size?

Does the MBR of the disk contain this information and therefore when i call a command like fdisk, a kernel level code eventually runs and reads it from a specific part in MBR? If so, which part of it? ...
0
votes
1answer
25 views

Why are there two home folders in my Ubuntu 18.04 installation?

I have successfully installed Ubuntu 18.04 along with Windows 10 on my computer (SSD 96GB + HDD 1TB). The SSD drive has two major partitions (excluding recovery and efi): Windows partition (...
0
votes
0answers
18 views

Set minimal amount of disk read cache

I have slow HDD and 5.5 GB of RAM, and thus I'm using zram and no any disk swap. According to my observations, the lack of disk cache has much worse impact on performance than active swapping. While ...
0
votes
1answer
32 views

Delete volume group of HDD of which the name is the same as my main SSD's

I just bought a new computer with an HDD + SSD. I must've accidentally encrypted the HDD it during installation, although I am sure I did undo it, but here it is, encrypted and even if I put the ...
0
votes
1answer
27 views

idle3-tools for my external HDD

I am using a WD external HDD (WDC WD10JMVW-11AJGS4) as my system-drive for Linux/Lubuntu 16.04.5 LTS, 64 bit. On http://idle3-tools.sourceforge.net/ it says under "compatibility": Compatibility ...
0
votes
0answers
41 views

Disk Verification - Why is tr command faster than custom bash script

I am trying to verify a wiped disk if it's zero filled... For an 80GB disk, when I run following command pv -etbp /dev/sdx | tr --squeeze-repeats "\000" "T" if completes the process in like 40 ...
0
votes
1answer
14 views

List changed files and folders compared to disk image

Let's call the image Disk.img, taken from /dev/sda. How do I list every file and folder with differences? (Let's assume the time stamps of the files are incorrect.)
1
vote
2answers
39 views

Swapping a mounted drive between machines - is it possible?

Let's say I have a storage device called A. I install A into my machine M1 (which contains a drive called B which is a unix boot drive containing the operating system). I then boot up M1 and mount ...
0
votes
1answer
24 views

How do I format a hard drive EXT4 with lowest possible inode disk usage (for 1 Dir and 1 Massive File)?

I am trying to prepare a hard drive for burst mining on linux and want to maximize the hard drive space available for the plot file. So for this I need to set the inodes to the minimum possible that ...
0
votes
3answers
55 views

Clone a hard disk using DD from a smaller hard disk to a larger disk

I have a hard disk of 320GB attached to a debian machine and a new 2TB drive which will be an upgrade for the smaller drive. I've just tried to clone the smaller drive to the larger drive using the ...
4
votes
1answer
489 views

Am I hammering my SSD by keeping a symlink on it?

Instead of configuring my Nextcloud (Linux/Nginx/PGsql/PHP) server to look for a folder on my spinning hard drive mounted at /mnt/HDDfs/, I Sym-Linked /var/Nextcloud_Data so it points to /mnt/HDDfs/...
0
votes
1answer
30 views

Differentiate bad logical and physical blocks? (list seperately)

The tool badblocks can give a list of unreadable LBA's, including logical errors I guess. How can I differentiate between logical (soft) bad blocks and physical (hard) bad blocks? List logical and ...
1
vote
1answer
51 views

Prevent Linux from writing to HDD

I have 3 HDD's, I want to install Linux Mint on HDD 3 which is currently empty and I don't want Linux to be able to write any data on the other 2 which is where all my Windows files are, is there a ...
0
votes
0answers
16 views

Back up and sync to mirror disk or image file

Let's assume a computer with 1 TB SSD and 2 TB HDD and an empty external 4 TB HDD for backup purposes. Now, to prevent data loss if one of the drives fails, a disk image or a copy of each file can be ...
0
votes
0answers
47 views

Disk disconnects after exchanging large files

I have an embedded PC with a Debian os and OpenMediaVault to share resources across the LAN. I have an external USB/SATA enclosure with a 1 TB HD. Both the USB enclosure and the HD works fine ...
1
vote
0answers
62 views

Accessing disk features in a QEMU/KVM VM

I recently setup a QEMU virtual machine with KVM running on Debian. The guest OS is FreeNAS (based on FreeBSD). I have given the guest access to a physical hard-disk on the host (not just a partition)....