Stack Exchange Network

Stack Exchange network consists of 175 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 [disk]

Questions about disk drives under the UNIX and Linux systems. See also the "filesystems" tag.

1
vote
0answers
19 views

why does these partition gaps occur? [duplicate]

I am doing an experimental project on NTFS and I just discovered every time I create a new partition there seems to be a (nearly 1MB) partition gap created just before the new partition. I searched ...
1
vote
2answers
41 views

Hard Disk with 8 bad blocks

This is the SMART information about a possibly damaged hard disk of mine: smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.18.0-15-generic] (local build) Copyright (C) 2002-16, Bruce Allen, Christian ...
0
votes
1answer
35 views

Hard disk Cylinder explaination

I am currently learning about how HDD's function and in particular i am having trouble understanding what a Cylinder in a HDD is. I have read online and my current understanding is that it is when a ...
0
votes
1answer
13 views

The new volume group's Format do not be checked

When I install CentOS 6 system on my physical server, there are two disks, you see the sda and sdb, I created the VolGroup00 vg, you can see my snapshot: there I have a question, you see the sda2's ...
0
votes
0answers
16 views

Partition Start and End Calculation

I was using the parted command and i was trying to create a new partition using the mkpart option. While i was doing this it asked for the partition start and end. Now i believe i know what the ...
0
votes
0answers
43 views

Hard disk Start and End Calculations (closed)

I am using the common Linux Parted command which is used to manipulate the partition table, but there is a problem. i was trying to create a new partition using the mkpart option. While i was doing ...
2
votes
2answers
46 views

parted command (start and end meaning)

I am using the Linux parted command; I was using the 'mkpart' option which allows new partitions to be made, but I was confused when it asked me for the start and end. What does 'start' and 'end' ...
0
votes
2answers
40 views

Can not mount the parted sdb1 to the directory

I added a sdb disk, and there is a sdb1 on it: [root@localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 111.8G 0 disk ├─sda1 8:1 ...
0
votes
2answers
38 views

linux partition/disk numbers (sda1,sda2,sda5)

at the moment i understand that linux has a partition numbering system which is: partitions 1-4 are primary partitions 5 and above and logical but what about extended partitions? my curret ...
0
votes
2answers
51 views

df command not showing free disk space

I'm trying to find the full disk space of my whole disk. I used the df command and typed df -h and I saw my disk which is called sda however df only shows me the first partition for my sda disk which ...
1
vote
1answer
34 views

Getting sector number from inode or address_space mapping

In am trying to understand how to calculate a sector number from an inode in the ext4 filesystem. Therefore, I am reading ext4_mpage_readpages function. About the function: During a read request, if ...
0
votes
0answers
21 views

How to find max queue length for device?

Recently I ran into some I/O overload problrms on some of our machines and I have been searching to find thresholds for some metrics like: avgqu-sz await svctm Then I saw this post on Stack ...
0
votes
0answers
35 views

How tdo you add an unallocated space partition to your kali linux partition? (Kali linux dual booted with windows 10)

I am currently using Kali linux as a dual boot with windows 10. I cannot figure out how to allocate my Kali linux OS unallocated space that I have on one of my drives without reinstalling. I have ...
1
vote
1answer
33 views

How to enlarge this partition?

Inside vmware ESXI I have a CentOS virtual machine, and I resized the virtual disk from around 30 GB to 120 GB using vmware "edit" vm menu. Then I booted using a gparted bootable ISO and resized the ...
1
vote
0answers
47 views

How to wipe a partition quickly with value zero? [duplicate]

I want to wipe a partition quickly.I search the answer in website. such as: dd if=/dev/zero of=/dev/sda1 bs=16M count=96 shred -v -z -n 1 /dev/sda1 But: All the commandline,will overwrite with ...
0
votes
2answers
49 views

partitions (in general)

I have been doing research on partitions lately and im quite confused on a few things: what is a partition table and what is it used for what is a partitioning scheme (GPT and MBR) and what are they ...
1
vote
1answer
25 views

the sector means logical sector or physical sector?

In dmesg, I saw this log. blk_update_request: critical target error, dev sdx, sector 123456 I want to know the 'sector' here means a logical sector or physical sector? because I want to know the ...
2
votes
1answer
95 views

Short and long uuids under /dev/disk/by-uuid

There are several hard disk partitions on my system (Linux josDeb 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3.1 (2019-02-19) x86_64 GNU/Linux). It is working with: bejo@josDeb:~$ ls -l /dev/disk/by-uuid ...
1
vote
2answers
89 views

Debian - microSD lost async page write

I face some issue with microSD on a Lenovo S130-14IGM. My laptop is running lastest Debian 9. I have a microSD with an ext4 partition located on /dev/mmcblk1p3 which behave strangely. When I try to ...
0
votes
0answers
21 views

Linux naming/names [duplicate]

i have been trying to understand a concept which i have encountered in the past days. i have heard that in kernel version 2.9 of the linux kernel there was a change in how IDE/PATA and SATA/SCSI ...
0
votes
2answers
144 views

Linux block devices naming

I am a bit confused with how linux hard drive/ storage device, block files are named. My questions are: How are IDE devices and partitions named? How are EIDE devices and partitions named? How are ...
1
vote
1answer
45 views

How to flush writes to disk aggressively?

I'm using Ubuntu 18.04 on x86_64 devices. I have been haunted for months by a mysterious issue that I couldn't reproduce myself in which our application's configuration files were getting corrupted. ...
0
votes
0answers
14 views

Expanded a partition to fill empty space, but empty space is at the start of the partition and unuseable

I've been using Mint 19 with Cinnamon. I deleted the Windows partition and was able to expand the Mint partition to fill the empty space. However, / is in the middle of the partition as Windows was ...
0
votes
1answer
56 views

Mint - disk is full (prevents login)

I had 0 bytes free and even when I deleted something the number of free bytes stayed still zero. So I tried to restart it and I can't login now. I tried console Ctrl+Alt+F1, but I don't know login. I ...
0
votes
1answer
53 views

How to set fstab to be able to umount my external HDDs under normal user account?

System: Linux Mint 19.1 Cinnamon. Disks in this question are considered external HDDs either ext4 or ntfs formatted. I am interested in how do I manage to set my fstab or whatever else to be able to ...
3
votes
2answers
76 views

dd doesn't overwrite the disk

I am running Ubuntu 18.04.1 in a Virtual Machine (VMWare) on a Windows host. I am trying to zero out an entire SD card using dd. This is part of the process I use to release embedded Linux to the ...
1
vote
2answers
47 views

if some files are pseudo, why open() function still can access it?

We know there are many files that are pseudo files, i.e. not a real file. ex: /sys/xxx /proc/xxx /dev/xxxx In my understanding, the open() will call x86 ASM code, the ASM code will do hardware ...
-1
votes
1answer
197 views

dmesg gave errors blk_update_request: I/O error, dev xxx, sector xxxxxxxxxx

I found errors by performing dmesg, seems like there're something wrong with all of disks. I keep tracking the errors until now. Here're a log from dmesg. [Wed Mar 13 17:12:26 2019] ...
1
vote
1answer
37 views

What does “no device” mean when running iostat -En

We presume to have a faulty cable that connects the SAN to a direct I/O LDOM. This is a snippet of the error when running iostat -En c5t60060E8007C50E000030C50E00001067d0 Soft Errors: 0 Hard ...
0
votes
2answers
115 views

What does disk label mean?

What does the concept of disk label mean? Does it mean the same as partition table type (MBR, GPT, loop, etc)? (as I suspected from the following output of parted, and in my previous post) Or does ...
0
votes
0answers
25 views

Unable to find disk space usage [duplicate]

These are the 10 heaviest directories on the system, ubuntu@ip-172-31-25-207:/$ sudo du -hs * | sort -nr | head -n10 360M lib 172M opt 172M boot 172K tmp 41M run 29G var 28M home 16M bin ...
0
votes
1answer
29 views

SMART test completes with no failure after failing test previously, without reallocating any sectors?

I had a drive that was failing on it's SMART test in the form of: smartctl -a /dev/sdc: ... # 1 Short offline Completed: read failure 50% 6354 4377408 # 2 Extended offline ...
1
vote
2answers
80 views

Repartitioning disk

I am running OpenSUSE Tumbleweed. I don't recall what choice I made during the installation process months ago, but I am running out of disk space and need to find a solution. Can I just move my ...
2
votes
0answers
88 views

/sys/block/sd*/device/timeout not accurate

The default value for the timeout file for SCSI disks is 30, supposedly meaning 30s. In my dmesg logs, I find that the system is waiting 180s before timing out. Setting timeout to various values ...
0
votes
1answer
56 views

What is a generic name for the sector which stores the partition table of a disk?

If a disk uses GPT partitioning method, is its first sector still called MBR? What is a generic name for the sector which stores the partition table of a disk? Thanks.
0
votes
1answer
266 views

How to use zerofree on a whole disk?

My VirtualBox filesystem looks like: # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 29799396 5467616 22795012 20% / devtmpfs 1929980 0 1929980 0% /...
1
vote
1answer
172 views

Speed up persistent live usb disk operations

I created a persistent Debian 9 live usb. The persistence is configured with / union. An unexpected consequence, although obvious in hindsight, is the system lags on non-cached reads: holmes@...
0
votes
0answers
20 views

lilo: disable second disk /dev/sdb

is it possible to use append="something" in /etc/lilo.conf to disable completely secondary disk ? The disk /dev/sdb reports errors, and it takes a long time to boot. I would like the disk to be ...
3
votes
1answer
764 views

Extremely slow dnf

I got a strange issue with extremely slow dnf, to the point where computer freezes for a few seconds during installation of packages. Running Fedora 29, but this is happening for years. Otherwise the ...
0
votes
1answer
18 views

Partitioning an external HD appropriately [duplicate]

I plan on booting Kali on an external hard drive. My question is partitioning. If you create the 2 partitions for Swap and Root, do i need to create a 3rd partition for storage. From my understanding, ...
0
votes
1answer
1k views

Mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup-lv_home

When I mount my /dev/VolGroup/lv_home there get error: [root@localhost VolGroup]# mount /dev/VolGroup/lv_home /home/ Mount: wrong fs type, bad option, bad superblock on /dev/mapper/VolGroup-lv_home,  ...
0
votes
1answer
21 views

How to clear partitioned disk for QEMU

I have a 100Gb partition for QEMU purposes. However, I was installing Windows 10, but the installation failed and corrupted. Is there a way to completely wipe that partition so I can start over?
1
vote
1answer
58 views

resize2fs failed to find disk

I'm trying to resize my disk that's on google cloud from 1TB to 2 TB. I resized the disk space in google's console as instructed and: df -h Filesystem Size Used Avail Use% Mounted on overlay ...
0
votes
1answer
177 views

How to check which process is writting on FileSystem Solaris

I need to identify what process is writing non-stop on the Disk. I tried to run prstat -t to get the list of the processes running, but I can't identify/find which process it is. running df -k , I ...
0
votes
1answer
55 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 ...
-1
votes
1answer
63 views

how to identify bad block or disk problem

we want to identify bad block or disk problem by the following umount /grid/sdd badblocks -n -vv /dev/sdd Checking for bad blocks in non-destructive read-write mode From block 0 to 20971519 Checking ...
0
votes
0answers
231 views

iostat + what we can do if await is high

we use iostat -x and check for the await column - per device it shows the total time spent waiting plus the actual handling of the request by the disk iostat -yzx 5 Device: rrqm/s wrqm/s ...
0
votes
1answer
43 views

How to move physical disks content (rsnapshot content in there) to another physical disk?

Situation: simple linux system, with external removable usb media (rdx), single primary partition with ext4 filesystem on them for backups. Using some external usb disk media (rdx disks) for ...
1
vote
0answers
92 views

How to exclude a directory or partition on pmlogger scan?

As on the details below it look like that the cause of the problem is the pmlogger is spawning the find command. And its takes a long time for the find to scan all the files in one of my partition. ...
0
votes
1answer
25 views

Are partitioning schemes applied to the disk as whole or are they partition specific?

I was playing around with gdisk utility on my dual boot (windows 10 and fedora) by doing #gdisk /dev/sdaX and found out that for windows partitions, gdisk said MBR present while for linux partitions I ...