Questions tagged [disk]
Questions about disk drives under the UNIX and Linux systems. See also the "filesystems" tag.
769
questions
0
votes
1
answer
31
views
Multipath - what is the differences between /dev/mapper/mpathxx and /dev/mapper/mpathxx1?
For every multipath disk label in /dev/mapper I have another with 1 in the end. Are they the same? is there some relationship?
For example:
/dev/mapper/mpathaj and /dev/mapper/mpathaj1
or
/dev/mapper/...
0
votes
2
answers
23
views
How can I confirm shared disks between two or more servers in linux?
I'd like to know a way to check if the disks in one server is the same in the second server (shared disks).
Is this way correct? (compare major:minor numbers).
Server 01:
[root@server01 ~]# ls -l /dev/...
0
votes
0
answers
27
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 ...
1
vote
0
answers
14
views
Change underlying device of mount or dm-crypt without unmounting
I have an external, encrypted USB-drive that was mounted through dm-crypt: The device was /dev/sdb, decrypted as /dev/mapper/external (which is a symbolic link to /dev/dm-5) and mounted as /mnt. After ...
0
votes
3
answers
33
views
SSD changes mount point during partitioning
I booted up my computer after a week without using it and I was greeted with a MS-DOS prompt saying that my disk had read errors instead of booting up Windows.
Fed up with the latter OS, I decided to ...
0
votes
1
answer
55
views
Unable to access disk with Arch Linux USB install
I was trying to install arch linux but I cannot partition my Drive in my computer while booting up with USB arch linux, It doesn't show the disk that I partitioned in windows partition thingy, it only ...
0
votes
1
answer
46
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 ...
1
vote
0
answers
29
views
Optical drive suffering from chronic premature ejection
My slot-loading optical drive (HP BDDVDRW CA21N) spins and up and then ejects every disc, a process that takes about 15 seconds. I've found lots of posts on enabling wanted ejects, but close to ...
1
vote
1
answer
31
views
Referencing disk image on OpenBSD rather than disk partition
I am unable to find any online help for the following problem. I am trying to make a disk image copy on OpenBSD from one disk to another.
On Linux, this is how I would do it:
dd if=/dev/sda of=/dev/...
0
votes
0
answers
10
views
Backup Current Debian OS to Be Reinstalled Onto a Smaller Partition
Currently I am using POP OS on my laptop but thinking of using a dual boot to also use Windows 11 as some programs and functionality I need are not available yet on Debian.
I currently have a 256GB ...
0
votes
0
answers
30
views
Mountpoint for secondary permanent disk with mixed content
I'm planning to move the majority of my stuff from my small main disk running ubuntu server to a secondary mirrored disk and I was wondering what would be the appropriate mountpoint for that disk, ...
0
votes
1
answer
52
views
Debian - add disk and resize main partition
I've added new disk to server and now I need to resize main / partition with this space.
I remember few years ago that I have done something like this but every tutorial on the net is about adding ...
1
vote
0
answers
33
views
How can /dev/sd* be mounted directly after rebooting?
I executed the command fdisk /dev/sd* and start partionning the disk. I set a new partition file system, then mounted the new partition to a directory that I created. For boot-up automatic running I ...
0
votes
1
answer
64
views
Extend Virtual Disk Space in VMWare (Ubuntu)
My host machine is a Macbook Pro 16-inch 2019. Initially, I gave 40GB to a Ubuntu virtual machine running on VMWare Fusion, and I used up the disk space, so I hope to enlarge the disk. I have done the ...
1
vote
1
answer
19
views
Fedora boot hangs when second disk is attached
I am running
# uname -a
Linux UlanBator 5.16.11-200.fc35.x86_64 #1 SMP PREEMPT Wed Feb 23 17:08:49 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
#
and I have these disks
# fdisk -l
Disk /dev/sda: 465.76 ...
0
votes
0
answers
40
views
disk not recogized after bad mount (fstab)
Problem:
Disk (partition) is not recognized in system. Neither on a Debian nor a Windows.
What i had:
I have the orange pi with debian distribution. I successfully added windows partition in it. It is ...
4
votes
1
answer
281
views
Speeding up `badblocks` by tweaking its `-c` switch
I have just tried upon tweaking the badblocks utility to use more RAM and possibly achieve a bit higher performance.
The exact command I am running is (without HDD's S/N):
badblocks -v -b 4096 -c ...
0
votes
0
answers
21
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 ...
0
votes
1
answer
47
views
Change boot partition to another disk
So I installed dual boot fedora and win10 weeks ago. Booting to win10 almost take no time but booting to fedora takes about 1.5 minute (I already checked with systemd-analyze and disabled some ...
0
votes
2
answers
97
views
How to replicate bios_grub partition?
I have a 60GB AWS volume which I want to shrink to 30GB. The plan is to manually recreate the same partition table (with the only difference being the main partition size), and then use partclone to ...
0
votes
0
answers
169
views
What caused nvme QID timeout?
Sometimes I see the nvme error logs:
nvme nvme1: I/O 332 QID 1 timeout, aborting
nvme nvme1: Abort status: 0x0
nvme nvme1: I/O 332 QID 1 timeout, reset controller
nvme nvme1: I/O 0 QID 0 timeout, ...
0
votes
2
answers
81
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 ...
1
vote
1
answer
29
views
Is there a way to protect a disk from being formatted by parted?
It happens that here in my company we have our mail servers and everytime we need to upgrade disk space, we add a new disk in our VM and add it to the LVM, format it with parted and add the partition ...
0
votes
1
answer
59
views
gnome-disks write caching
in RHEL/CentOS 7.9 anyway, when running gnome-disks which is under the Applications-Utilities-Disks menu, for a recognized SSD it offers the enabling of write-cache.
I would like to know what ...
0
votes
1
answer
19
views
ubuntu 20 volume group disk space extend problem
I cannot expand the disk of a server with an ubuntu 20 operating system on xen virtualization.
I have already updated the 250gb disk space to 265gb, but whatever I do on the command screen, the free ...
0
votes
1
answer
49
views
SSD doesn't respond to anything after trying to reformat broken NTFS on it
A week ago or so my windows 10 completely died and took my windows apps partition with it. I was however able to access all data from within my linux, so I did what any person would do and copied any ...
1
vote
1
answer
70
views
Why /usr and /home size is very small even tough I gave /home and / (root) enaugh size?
My concern is about /usr and home size as you see.
Home:
Root:
My concern is about /usr and home size as you see.
It seems that they have really small space, but when I was installing ubuntu I gave ...
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 ...
0
votes
1
answer
106
views
How do I get the total read and write IOPS for each process or thread in Linux?
I want to find the process with the highest IOPS in the system. What should I do ?
1
vote
1
answer
42
views
Print disk space with df, with headers, but only one particular row
I have the following df -h output:
Filesystem Size Used Avail Use% Mounted on
dev 7,8G 0 7,8G 0% /dev
run 7,8G 1,8M 7,8G 1% /run
/dev/nvme0n1p5 93G 40G ...
0
votes
0
answers
18
views
eMMC Partitions cleared after restart of Mint dual-boot with Win10
I have an Acer Spin 1 32n, which has a sautered in 115GB eMMC drive (also sometimes shows up as 116GB or 125GB on GParted, & Mint Installation). I set up dual-boot of Windows 10 and Linux Mint 20....
0
votes
1
answer
110
views
HDD IO errors from kernel messages + is this definitely a HDD failure
on our RHEL servers , RHEL version - 7.2 , we saw many dmesg lines as:
example about sdb disk ( hard drive )
[Thu Dec 30 13:07:48 2021] EXT4-fs (sdb): error count since last fsck: 1329
[Thu Dec 30 13:...
-1
votes
2
answers
185
views
/dev/sda2 unexpected inconsistency run fsck manually
I'm getting the following error:
/dev/sda2 unexpected inconsistency run fsck manually
The boot process stops here and there is no way to input any commands.
See this error message:
0
votes
1
answer
27
views
Is there a Linux Kernel Interface to Notify Userspace Application about Disk I/O?
I have an embedded x86 computer board which does not have any kind of I/O activity LED (e.g. HDD LED). I am not using SATA drives so the normal workaround of using SATA PIN 11 as an activity indicator ...
0
votes
1
answer
50
views
How to reclaim unmounted disk space
I've ended up in a situation where I cut my disk space in half, and would like to merge two partitions together. Here is a picture from Gnome Disks:
The blue partition on the left is unused, and ...
0
votes
2
answers
481
views
Files having Input/output error: how to completely ignore them as if they don't exist
Due to hardware problems, there are some Input/output errors. Some of my hard disk sectors are bad.
# find . -name 'cpp-service.zip'
find: ‘./.cache/chromium’: Input/output error
find: ‘./.config/...
0
votes
2
answers
69
views
Unable to mount internal hdd - An error occurred while accessing 'Basic data partition'
I have 2 disks in my PC, an SSD with my linux system on it and a HDD with windows and some other stuff. Now I keep getting the following error, which appeared overnight without changing the system, ...
0
votes
0
answers
20
views
How to restore (normalize) HDD spinoff timeout in LXLE?
After the last update on my system, the timeout setting for turning off the hard disk was broken.
This problem manifests itself as a constant shutdown and spinning of the HDD motor at intervals of ...
0
votes
1
answer
215
views
Is my hard drive failing? / Need help with smartctl -a output
I have an old Seagate 4TB internal drive from a crapped out pc that I was planning to repurpose as a spare drive for gaming.
Figured I'd run some smartctl scans on it first just to be safe so I did ...
0
votes
0
answers
83
views
fsck does not return anything
My DELL laptop on Ubuntu 20.04 is currently getting stuck on boot after it crashed. I tried to run fsdk on a ubuntu live USB, but when I run the command on my linux filesystem partition sudo fsck -y -...
0
votes
0
answers
47
views
Replacing a faulty disk in a RAID 5 btrfs filesystem?
I'm running Rockstor with one of my pools using RAID 5 btrfs - which I know is experimental, I don't think that's the issue here. One disk of the four in the pool is faulty, with 20000+ write I/O ...
0
votes
0
answers
110
views
"This disk is currently in use" - but nothing seems to be using it?
I am installing ArchLinux for the first time I made the corresponding partitions but for some reason when I want to do the swap or format them it tells me that it is busy. I deleted all the partitions ...
0
votes
1
answer
141
views
ZFS - only one single disk/by-id for two nvm devices
I am trying to use best practices to setup a mirrored zfs pool on a ubuntu 20.04 server.
My hardware is 2x 1TB nvme in an external USB-C enclosure GEN2 SSD enclosure.
My issue is both disks seem to ...
0
votes
1
answer
693
views
How to run fsck on boot with BTRFS?
Although this is very similar to many closed questions, I believe this is not a duplicate, as the only answers I can find seem to be specific to ext4.
Is this possible?
1
vote
1
answer
179
views
Clonezilla: cannot have overlapping partitions
I am trying to image my Ubuntu disk using Clonezilla and it fails because I get an error saying:
error cannot have overlapping partitions
Below is how my disk is set up and the lsblkoutput:
NAME ...
0
votes
1
answer
25
views
Discrepancy of disk size in fdisk command output
I have created CentOS 7 VM in oracle VM box with the disk size of 10 GB.
When I run fdisk -l /dev/sda command, it reports that the disk size is 10.7 GB. Can someone explain why fdisk shows higher disk ...
0
votes
3
answers
57
views
Is path to disk (/dev/mydisk) different from SATA, SSD, NVME or RAID?
I partially know the answer to this question; I "know" SATA-disks uses the path /dev/sdaX while the nvme uses /dev/nvmeX. Is the path to the disk different when RAID is enabled through BIOS?
...
-1
votes
1
answer
45
views
Reboot and Select proper Boot device error after trying to format an external hard drive (fedora)
I had an old laptop that had fedora 32 (or 33), but stopped working. Today I decided to open it and take the hard drive to use it as an external hard drive. I will call it hard drive A.
I connected ...
0
votes
0
answers
65
views
dd rdisk or disk, and all that silliness (mac)
Trying to copy a 1TB SDD to a file using dd (iMac recovery mode, to USB3 external HDD). I've read a hundred studies of what is the best bs to use, and the differences between using /dev/diskX and /dev/...
0
votes
1
answer
43
views
Free up mysql space on low-disk PC
I have a PC with a small disk:
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.5G 3.1G 249M 93% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 463M 0 463M 0% ...