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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [disk]

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

0
votes
0answers
9 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
31 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
46 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
38 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
18 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
59 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
61 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
111 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
33 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
13 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
54 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
49 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
67 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
votes
0answers
17 views

Extend /dev/sda2 Volume Centos

I added 25GB in vcenter to the vmware, i want to increase the volume of /dev/sda2 by the full unlocated space (25GB) is there a way to do this in production
1
vote
2answers
42 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
100 views

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

I'm newbie for linux system. founded 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:...
1
vote
1answer
34 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
83 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
23 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
70 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
59 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
165 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
77 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
18 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
397 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
819 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
19 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
39 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
103 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
50 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
61 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
182 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
39 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
80 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 ...
0
votes
1answer
14 views

Partitions now appearing in /mnt, not /media/$USER

Until I forced a restart on my laptop this morning, I had a partition to my boot drive on which I had previously installed Linux Mint 18 (sensibly labelled "linuxmint") Now I can access the same ...
0
votes
0answers
57 views

How to calculate the throughput usage of AWS EBS volume

We have a hadoop cluster running on AWS EC2 instances. Configured 16T st1 volume in datanodes for HDFS usage. We need to understand, what is the maximum throughput hitting on this st1 volumes. Since ...
1
vote
1answer
27 views

Repartition a non LVM system with LVM

I have installed my system without LVM but I need it now. How can I repartition my disk with LVM and keep all my system files? I know this would need backup, but I have never used it yet and don't ...
5
votes
0answers
67 views

Limit tar read speed

I'm using tar do make backups of a machine. But, it is using a lot of I/O and slows down the whole machine. So, is there a way to limit the read speed of tar? I know about pv, but it limit only the ...
1
vote
1answer
48 views

Can recover data from disk but not from image of same disk?

So I'm creating this training scenario whereby participants have to take an image of a broken disk, loop mount and recover the data. It's supposed to be fairly basic, but I've come accross this weird ...
0
votes
1answer
77 views

Diagnose on ubuntu 16 OSError: [Errno 28] No space left on device: but actually plenty of space

df reports no problems and plenty of space and plenty of inodes available. I can still write small new text files. Crashing python program is writing to a subdir I created in my home directory. My ...
0
votes
1answer
384 views

smartctl megaraid,N ( how to find the right value for N ? )

we run the smartctl on sdb disk smartctl -a /dev/sdb smartctl 6.2 2013-07-26 r3841 [x86_64-linux-3.10.0-327.el7.x86_64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www....
2
votes
0answers
118 views

Disable writeback cache throttling - tuning vm.dirty_ratio

I have a workload with extremely high write burst rates for short periods of times. The target disks are rather slow, but I have plenty of RAM and very tolerant to instantaneous data loss. I've ...
0
votes
1answer
57 views

What are the use cases for a hard disk's WWN?

I noticed today while setting up a new system that the disk as represented by /dev/disk/by-id also had a WWN link that I was not familiar with: My research suggests that this is a "World Wide Number" ...
0
votes
1answer
69 views

how to create parted disk

the linux ( OS ) installed on sda and machine also have additional disk - sdb sdb 8:16 0 20G 0 disk but we want to add two new partitions as sdb1 and sdb2 as the following: ...
-1
votes
2answers
70 views

Linux + how to capture the OS disk device [closed]

we want to capture the disk device that belong to the OS ( Linux ) since each linux machine have list of disks that are not the OS , we want to capture the disk that belong to the OS so by fdisk ...