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,548 questions
2 votes
1 answer
87 views
Spin down HDD on Server
I'm running Debian 13 (fresh install) and want to use specifically Nextcloud and Immich on docker on an SSD and 2 HDDs with 10TB for data (and the second for raid/snapraid or backups or similar). For ...
3 votes
1 answer
476 views
How do you get PCI-1 NVMe expansion cards to allow SSD to act as boot device?
I came across these nifty SATA 1 to NVMe adapters on Amazon - Reference - while trying to convert a Dell Optiplex into a NAS solution. The Optiplex only has 3 SATA ports on the motherboard, but does ...
0 votes
0 answers
189 views
Slow Write Speed on Internal/External HDD/SSD on Debian 13 With GNOME
I've recently migrated from Ubuntu 24.04 to Debian 13 with GNOME (thought it doesn't have that much issues but alas). I've read tons of information trying to find a solution or an answer (some say it'...
3 votes
1 answer
461 views
A way to disable udisks "housekeeping" short of disabling udisks?
I have a USB hard drive connected to Raspberry Pi OS that seemingly never spins down. It turns out that udisks2.service is performing regular "housekeeping" and failing: Sep 05 02:32:13 rpi ...
0 votes
1 answer
73 views
HDD gets unmounted sometimes
Since a week I began to notice a strange behaviour of my hard drive which is an hdd. It gets unmounted during runtime randomly. The drive is 9 or 10 years old. As such a problem doesn't occur on daily ...
0 votes
2 answers
126 views
Change the ownership of files in an external harddrive ntfs
ls -al /media/victor/Backup/ Output: insgesamt 25 drwxrwxrwx 1 root root 12288 19. Aug 13:49 . drwxr-x---+ 3 root root 4096 19. Aug 12:27 .. drwxrwxrwx 1 root root 0 19. Aug 10:43 DATA -...
-1 votes
1 answer
336 views
How do I thoroughly wipe a corrupted drive and reformat on Debian?
I bought a brand new 4TB Western Digital Blue HDD, which is connected to my NAS running Debian via usb with an external HDD enclosure. I used the following commands to setup the drive: (parted) ...
-1 votes
1 answer
105 views
Is the following way of encrypting hard drive using file encryption safe?
Assuming that I want to encrypt/decrypt a hard drive corresponding to /dev/sdX, the following is the procedure I have for doing so: Encryption: Write the hard drive's data into a file (e.g. ./tmp), ...
0 votes
0 answers
77 views
Cannot access files to delete
I currently use freefilesync on ubuntu 24.04 to back up my data. A couple of months ago I started to get errors on the external backup disk that a quick (and ineffective) look didn't resolve so I just ...
0 votes
1 answer
104 views
Why do the sync mount option kill the performance of NTFS partitions?
I have noticed that when I mount my external HDD NTFS partition with the sync option, the write performance is terrible (1MB/s max). But when I use async the system finishes the operation very quickly ...
0 votes
0 answers
231 views
How to install POP OS dual boot with windows on separate drive without erasing data of other drive?
I have windows 11 on 250gb ssd and a 500gb empty hard drive. I want to install POP!os on one of the partition of this Hard drive and let the windows be on the ssd. So while partitioning space to ...
6 votes
2 answers
662 views
SMART test and suspend or reboot
What is the behaviour if I start a long test with smartctl (i.e., sudo smartctl -t long /dev/...), and then I suspend the machine or shut it down and restart it later? Will the test "suspend"...
7 votes
1 answer
529 views
Recovering data from incomplete ddrescue iso
I've got a 2.5 inch 5200RPM 320G HDD to recover data from. As I've been told, a child has stepped on the laptop and broke it. They gave me the laptop and motherboard seems to be completely fine. There'...
0 votes
1 answer
80 views
dd cannot write to an ext4 HDD using oflag=direct
I attempted to write a file to an ext4 voulume on an external USB hard disk drive: $ dd if=/dev/zero of=file bs=1M count=10 iflag=fullblock oflag=direct dd: failed to open 'file': Invalid argument ...
0 votes
1 answer
99 views
Neither can partition my harddisk nor can install debian
I have an old laptop. The battery is dead and when the power goes, I see filesystem corruption. So I decided to install debian with btrfs to see if I get any use out of it. When I installed it, it was ...