All Questions
Tagged with linux hard-drive
1,894
questions
0
votes
1
answer
23
views
Combine partition with free space
I want to use the remaining free space on my hard drive, however there's a problem:
Running cfdisk outputs:
Label: gpt, identifier: CEE38D42-DBB8-4F74-ADA6-1BC2A5E46AE1
Device ...
1
vote
0
answers
31
views
Linux cannot see other hard drive after dual boot, also want to remove windows if possible
I wanted to switch to Linux and I did this by installing Kali onto my usb and and then booting from my usb. It then went through the process of installing on one of my two SSDs, it then installs fine ...
1
vote
0
answers
62
views
How to confirm ready state for an external USB disk before attempting other actions
[start of edit 1]
Before I plug in my external USB backup drive, my computer is fully booted-up, and I am in my session as root. Because of its location, my USB cord is already plugged in, but I ...
0
votes
1
answer
26
views
Unable to mount SSD after computer froze - Zorin OS
While I was watching a popout Youtube video in Firefox while moving about 81GB of files from my secondary SSD, which was a backup from when I had Windows 11, to my main drive into the documents folder,...
1
vote
0
answers
41
views
When I use four drives, one operates very slowly
I’m experiencing unusual behavior with my system. When I attempt to write to four disks concurrently. In fact, the last disk (/dev/sdd) consistently operates at a speed ranging from 40MB/s to 5MB/s.
...
0
votes
0
answers
37
views
Files and folders on shared drive created on Linux are not visible in Windows (dual-boot)
I have a dual-boot with Linux (Manjaro) and Windows installed on two separate SSDs, plus I have a shared ex-fat HDD which contains documents and the like.
Problem is, very often, when I'm on Linux and ...
0
votes
1
answer
19
views
Disk usage wrong after incorrect fstab mount and rsync to the mount
tl,dr;
Something is using disk space after failed mount and rsync but I can't find out what it is and how to cleanup/free the space.
Context: I was trying to add second disk to my RPi and given that ...
0
votes
0
answers
19
views
Mounting drive with mount command and fstab do not work as intended
I have two external USB drives which I would like to be mounted to specific directories which are owned by my user. A script runs on startup which mounts all my drives in their specific locations ...
1
vote
0
answers
34
views
How to mount Luks disk with specific user?
Have a external disk with Lucks and EXT4 partition, the OS mount the disk using the first user by default but can not mount as secondary user:
The first user is uid=1000 and gid=1000, but the ...
0
votes
0
answers
55
views
Windows installer can't recognise my drive with Linux Mint installed on it
After making a Windows 10 bootable drive, I soon realised that the Windows installer could not find identify the main drive within my laptop to install Windows on. I assume this is due to the nature ...
0
votes
2
answers
245
views
Cannot repair a disk with corrupted GPT using gdisk
I have a disk that was forcefully closed when it was working in a disk operation (when downloading files to it). Now, the GPT is corrupted and I cannot mount it correctly. I am trying to mount it ...
0
votes
1
answer
48
views
How does RAID 5 handle unrecoverable sectors on a HDD
I'm going to set up a RAID 5 on 4 hard drives on my ubuntu system. I plan to use ext4 on a logic volume.
Suppose one disk reports an unrecoverable sector. How would RAID 5 handle this? My ...
0
votes
0
answers
39
views
Seagate HDD spins up - Not understanding why (WD does not)
I have built a NAS with TrueNAS at my home. I access the data around once every week (twice, as I will run a ZFS scrub once per week), hence I prefer to spin-down the disks when I do not access the ...
0
votes
3
answers
114
views
Reassemble RAID0 array despite error
My ancient Synology CS407 was setup (deliberately) with RAID0 and I didn't have a backup system set up yet. There are four 1TB drives making a 4TB volume. One drive had a failure which led to the on-...
0
votes
1
answer
209
views
Why am I getting "Partition 3 does not start on physical sector boundary" warning with this setup?
On a fresh install of Proxmox 8.1, fdisk -l is warning "Partition 3 does not start on physical sector boundary". This is unexpected to me, because the start of the partition is 2099200, ...
0
votes
1
answer
317
views
Old Sata / Sas Controller on Ubuntu 22.04.2
I have recently bought a new motherboard (ASUS ROG Strix B650E-F GAMING WIFI + AMD Ryzen 9 7900 CPU) and moved over an old SATA controller from an old rig (Iocrest si-pex40097). It will work no ...
0
votes
0
answers
89
views
How to recover RAID 1 array from a single device during reshape?
I have one disk that is in raid 4 reshaping from a previous raid 1. According to examine mode by mdadm, the disk is marked as a spare in a raid 4 array of 3 disks. I was hoping to recover data on it ...
0
votes
1
answer
148
views
How can I split from /dev/nvme0n1p3 to /dev/nvme0n1p2
I only have one disk, an SSD on my laptop.
My disk status is as shown above. The /dev/nvme0n1p2 disk part (mounted at /) is too small. I plan to move 42GB from /dev/nvme0n1p3 to /dev/nvme0n1p2, but /...
0
votes
0
answers
52
views
Unable to access data on Intel "fake RAID" after failed Ubuntu update
Recently I did an update of my Ubuntu, it seems to work at first but after restart it shows:
kernell ofset relocation range kernel panic not syncing: VFS
I try to use different older kernel from Grub ...
0
votes
0
answers
82
views
Set standby timeout for Seagate drive
I recently built a NAS running Debian 12 with 3 3To Seagate Iron Wolf.
To save power, I would like the drives to enter standby mode after a 30 minutes.
For this, I used hdparm -S 241 <drive> to ...
0
votes
0
answers
107
views
Problems with usb3 attached drive ERROR: Transfer event for disabled endpoint or incorrect stream ring
I have a HP Microserver gen8 that I'm using for testing and some minor backup.
This machine has a debian 9 installation, I'm planning to upgrade it to debian 12 when I will have some time, the machine ...
0
votes
1
answer
88
views
HDD makes a noise occasionally, and I get this error
I've tried changing the SATA Cables, and SATA Power Cables from the working HDD's to this HDD but I still get this error, and the other drives work fine. I've tried adding the libata.force=noncq ...
1
vote
0
answers
87
views
Recover Linux Mint HDD
I have an HDD that doesn't work anymore. It was working fine, but the OS was lagged and the user turned off the computer using the power button, after that the bios doesn't recognize the HD anymore.
...
0
votes
1
answer
52
views
How to identify and delete Linux Bootloader/GRUB from my HDD?
Im using win 10 in my principal HDD.
I needed a dual boot with linux mint, which should be in my SSD, so I installed it. The problem is that it installed the BOOTLOADER in the EFI of my HDD and not in ...
1
vote
0
answers
123
views
Extremely slow read speed on hard disk
I have a 4TB hard disk on a NAS which I only use to store media files and play them from there using my local network. Its about 50% filled. It worked fine for for years but I recently noticed that ...
1
vote
0
answers
84
views
Aborting repartitioning
Around 5 days ago I decided to change the partitions on my external HDD. The partitions were full, but there was some space not used by them, so I wanted to move the partitions to the left and expand ...
-1
votes
1
answer
220
views
Linux no boot after cloning partitions
I had and old HP Compaq laptop I wanted to upgrade because the IDE HDD was dying inside. Previously I had set up a Windows XP / Lubuntu 14 dual boot on it. After cloning the drive with Rescuezilla to ...
0
votes
1
answer
143
views
I am unable to write data to the hard drive and cannot backup it
Known:
A hard drive is a solid-state drive with a 512GB SATA interface.
There are multiple partitions in hard drive A, each in sector order, used for [recovery/ESP (EFI partition)/MSR/Windows/Btrfs/...
0
votes
0
answers
69
views
vmstat + on RHEL machine high values of swpd
The swpd field indicates how much swap space has been used; this value increases when your systems physical memory is full and the Linux kernel starts to use the swap partition/file. When the systems ...
0
votes
0
answers
130
views
MacBook Air (2012) Toshiba SSD enclosure / connector
Recently, my A1466 MacBook Air (2012) suffered some water damage. Since then, it can’t boot up anymore. I pulled the hard drive with the hope of transferring the files to either an external hard drive ...
2
votes
2
answers
97
views
Is it possible to download a Linux bootable operating system direct to a wiped HDD?
I am in the hospital and have no money so don't need advise me to get a USB drive please.
I purchased a laptop which ended up having BitLocker enabled when I disabled secure boot.
I have a 3.5GB USB ...
0
votes
0
answers
66
views
Windows 10/11, Manjaro Dual Boot: WIndows lagging, freezing not booting and suddeny windows partitions missing
My PC has quite a view issues, and already a view Problem fixes couldn't resolve the issue.
Also symptoms varied a bit over time from OS-lags, to OS-freezes, to getting this crapmachine to boot.
So It'...
34
votes
3
answers
4k
views
Why does the Linux SCSI subsystem drive hardware not obviously related to SCSI?
Without knowledge, I would normally expect SATA, SCSI and USB Mass Storage to be driven by different drivers. In Linux however, the SCSI subsystem drives all of them.
Why does Linux use the SCSI ...
0
votes
1
answer
71
views
From disk end, how to count MB (Megabytes) to the first non-zero location?
I am using Kubuntu 22.04.3 LTS x86_64.
While re-purposing a disk using:
neofetch --stdout |grep 'OS:'
Instead of long process of dd zero the whole disk just dd zero some first bytes of disk and then ...
0
votes
1
answer
42
views
Trying to understand SmartCRTL results: Normed value less than the worst value?
Please see the below output of smartctl for external hard drive. For attribute: Offline_Uncorrectable, the current normed-value is less that the worst value.
How is it possible? It should be always ...
1
vote
1
answer
974
views
How to keep two local hard drives in sync on Linux?
I have an old hard drive and basically clone it to a new hard drive using Grsync or Timeshift. Because the older hard drive is likelier to fail, I'd like to use the newer one as my in-use hard drive ...
4
votes
1
answer
462
views
What can cause a HDD to unmount itself?
I have an i7-8700K PC that I want to turn into a PLEX media server (with more plans down the line).
It has a 512 GB SSD for OS stuff, an 8 TB HDD for game stuff, and in April of 2023 I installed a 14 ...
4
votes
2
answers
1k
views
The best approach to creating EXT4 partitions copy (without need of restoring them later)
Currently, I have 2 * 2TB SSDs in my PC:
First one has only one NTFS partition with Windows.
Second one has several partitions: 1 TB NTFS used by Windows and 4 partitions with Linux: two big EXT4 ...
0
votes
1
answer
124
views
ext4 cannot delete files after resizing partitions using gparted offline
Recently I tried to install a package and got a message saying I didn't have enough space. I guess 25 Gb isn't enough. I downloaded a GParted iso, tossed onto a thumb drive, etc, etc. Everything went ...
2
votes
0
answers
354
views
How can I debug IO latency on NVMe drives?
Have been debugging some latency related issues on various servers, and eventually tracked it down to what I thought was NVMe power states (APST). However, I'm still seeing some things I can't figure ...
0
votes
0
answers
81
views
windows freezing after reinstallation from parrot OS
so for a good year or so, I have been using a Debian-based distribution (parrot OS) rather than the preinstalled windows, no problems there. but then I decided to switch back to Windows as I felt it ...
-2
votes
1
answer
209
views
How to restore data from a Formatted HDD [duplicate]
I was installing Kali linux without knowing that I was using my personal HDD to do so. Now I have formatted the data that was present on HDD.
I want to know, Is there a way to restore the data that ...
0
votes
2
answers
321
views
How to test for ext4 Partition? Not ext4 Filesystem
using:
neofetch --stdout |grep 'OS:'
OS: Kubuntu 22.04.3 LTS x86_64
Start Update Question due to someone deleted information:
No interest in testing for ext4 Filesystem.
lsblk -n -o FSTYPE /dev/sdb1 ...
2
votes
1
answer
434
views
How can I zero out only the USED space on a storage drive?
I have a large drive (4TB) that I've only written a few gigabytes to. I'm giving it to a friend, so I'd like to zero it out. I know I can zero out the whole drive with dd, but I'd like to know if:
...
1
vote
1
answer
317
views
SSD cannot be recognised on Windows and LInux
I recently bought a new SSD to replace the one in my laptop. I took the old SSD out and stuck it in an external enclosure, planning to use it as an external drive. When I first plugged it in to ...
0
votes
1
answer
227
views
Optimize file system for parallel read for HDD
I have slave 16TB drive, that need to run 6 spacemesh node which need each to read 512G folder (so total ~3TB data) at same time as fast as it can (atm its 230MB/s as read is sequential with 1 node)
...
0
votes
0
answers
152
views
Why is rsync slower within my SSD than to an external HDD?
I have partitioned my primary SSD, and mounted two partitions in my /media directory. rsync between these two partitions are slower than rsync-ing the same files to an external HDD, and I don't ...
8
votes
3
answers
3k
views
No space left in device error despite being empty
Why am I getting No space left on device when I try to create more than 32767 files in my vFat USB Flash Drive?
Info
Flash drive is empty (freshly formatted)
$ df -H
> Filesystem Size Used ...
1
vote
0
answers
293
views
How to debug my server hard drive I/O issue
I have a small headless server on my LAN running Ubuntu 20.04. Recently I had an issue where one of my external drives was intermittently going into read-only mode and sometimes failing to mount at ...
3
votes
2
answers
2k
views
Noticable performance drop after upgrade to Fedora 39
I have an older machine. I've had the impression for a while that despite this fact, it is in fact slower than it used to be, and not just slower than a modern machine.
Yesterday I upgraded to Fedora ...