Questions tagged [io]

I/O refers to "Input/Output" generally being a synonym to Write/Read in terms of a file.

Filter by
Sorted by
Tagged with
0 votes
1 answer
37 views

System freezing on disk I/O

I am facing a similar (maybe the same problem) reported by System freezes on disk I/O . This problem also occurred with the first release of Fedora 36. When I start a process a little more disk I/O ...
user avatar
2 votes
0 answers
105 views

Why is the read/write speed of two SSDs so slow when mounted as single logical volume with LVM under Ubuntu 18.04 LTS?

For scientific computing, we need fast read/write speeds. So I upgraded one of our machines with 2 SSDs. I used the command hdparm -Tt /dev/sda to test the read speed. As reference, our standard HDDs ...
user avatar
0 votes
0 answers
41 views

Ubuntu 20.04 LTS stopped working overnight. I/O error and COMRESET failed (errno=-16)

Yesterday night, I stalled Ubuntu, it was working fine that night. Today morning I opened my laptop for my class, it was working fine, but after some time my class got struck. And it opened CLI(...
user avatar
3 votes
0 answers
185 views

How compare several directories' data transfer (read/write) for defined periods?

With interest for the amount of data transfered to or from several directories (including sub directories) it occured, that there is lack of tooling for this special task. For low level integration, ...
user avatar
-2 votes
1 answer
83 views

Is there any non-root disk IO monitor software available on Ubuntu?

Is there any disk IO monitor software available on Ubuntu that can show what processes are reading/writing at what speed and that I can install and run without sudo? I know there is iotop, but I can't ...
user avatar
  • 77
0 votes
0 answers
30 views

Disk writes suddenly very slow. SMART tests all report normal

I noticed that my Ubuntu workstation has become extremely slow when writing to disk. I have two hard drives, one NVME and the other SSD (both set up with ZFS). They should be able to sustain multi-GB/...
user avatar
  • 121
0 votes
1 answer
330 views

Ubuntu 20.04.3 with issues in Acer Nitro 5 with Ryzen 7 (Lagging/freezing UI response to I/O, lid closing behavior)

I've recently bought an Acer Nitro 5 laptop with AMD Ryzen 7 4800H and GTX 1650Ti,that came with Windows 10 as its operating system, and installed Ubuntu 20.04.3 to it, in a dual boot configuration. ...
user avatar
0 votes
0 answers
152 views

No Such File or directory using I/O redirection

I am using I/O redirection in Linux to take input from a file named input.txt and output the results to outpu.txt for a compiled c++ program. The command goes like this: /home/gajeet/Documents/...
user avatar
  • 9
0 votes
0 answers
14 views

I woud like to use a single queue block layer with kernel 5.7.0

I would like to use a single queue block layer with kernel 5.7.0. Google says I can add "scsi_mod.use_blk_mq=0" to boot parameters for the purpose. I have been using the method. I don't know ...
user avatar
2 votes
1 answer
248 views

Trying to fix front i/o headphone out overriding audio line out

I just started running Ubuntu 20.04, MATE 1.24.0 on my desktop. my case has a front i/o with audio out and microphone in, and I typically use these for my razer headset with a headset/microphone ...
user avatar
0 votes
0 answers
67 views

How can I fix IO lagging after installation of RAID controller card?

Several months ago I have installed a hardware RAID controller card in my workstation. Since then I frequently experience annoying lags of my keyboard, something keystrokes are missing and something ...
user avatar
  • 297
0 votes
0 answers
35 views

new installation ubuntu 20.4 to 2013 mac mini but on reboot have I/O errors again

Please help! I am going around in circles, first i tried to fix grub,than reinitialized the Hd,reinstalled ubuntu end it seemed ok but after installing chrome and skype the next boot fails.If I boot ...
user avatar
0 votes
0 answers
225 views

Ubuntu 21.04 freezes with i/o errors, fsck and smartctl does not show errors

I am seeing this on a Lenovo Flex 5-14. Ubuntu is freezing with message saying the filesystem is not writeable. I tried fsck and smartctl. Neither showed any errors. I have dual boot and Windows 10 ...
user avatar
  • 191
-2 votes
2 answers
99 views

Redirect output with '>&!'

I know that >& means redirect stderr to stdout. But I don't know the meaning of >&!, I tried following command but it seems like normal. Example: cat xxx.txt >&! xxx.output My ...
user avatar
0 votes
1 answer
580 views

How to enable blkmq for NVMe devices?

Ubuntu: 20.10-desktop kernel: 5.8.0-40-generic Device: Samsung 980 pro 500G $ cat /sys/block/nvme1n1/queue/scheduler [none] mq-deadline Does it means I am using the "Linux I/O scheduler" ...
user avatar
  • 111
0 votes
2 answers
120 views

Fresh Lubuntu 20.04.5 - Continuous HDD I/O operations while in idle

Freshly installed Lubuntu 20.04, with no software installed, HDD makes an abrupt sound every 2-5 seconds as if the disk is being read or written to momentarily (or possibly the head is attempting to ...
user avatar
  • 1
0 votes
0 answers
87 views

Retrieve data USB harddisk with I/O problem

I am having trouble with a USB drive. It is a 2.5", 2TB spinner, that connects over usb. It is used between operating systems (windows 10 and ubuntu) Since a couple of days it starting giving ...
user avatar
1 vote
1 answer
118 views

How to redirect only part of output produced by a commmand?

Let's suppose I run a python program named test.py and want to save all it's output in a file. We can easily do that via python3 test.py > output.txt However, If the program produces a lot of lines,...
user avatar
  • 145
1 vote
1 answer
77 views

Is it slower to read files from another partition?

Lets say there is a set of binary files in partition A. I copy them to partition B. I run a program that runs in partition A. Would it be slower for the program to read the files in partition B than ...
user avatar
0 votes
0 answers
27 views

A process that almost exclusively reads and writes stalls when kworker wakes up according to iotop

I have a 30GB file on an SSD disk and a process that continuously in a loop reads and writes from/to random locations in the file. According to IO top, the process consumes almost max read and write ...
user avatar
  • 101
1 vote
1 answer
1k views

Keyboard periodically stops working in Ubuntu 20.04

As the title says, I am having issues with my keyboard, where it will stop working after a period of roughly 20-30 minutes (it is difficult to get an exact time). While it is working, it works ...
user avatar
0 votes
1 answer
44 views

Is there a way to track the volume of a disk traffic from/to a particular file

I'm running a VM (qemu) that has its virtual disk on my hard drive. It works pretty slow so I'm thinking of moving that virtual disk to SSD. The only thing I am concerned about is whether it would be ...
user avatar
0 votes
1 answer
313 views

fio reporting high value of read iops at iodepth 1

I am using fio-2.2.10 on Ubuntu 16.04. In one of my setup I am observing high value of read iops at io-depth = 1. One run is reporting iops=11418, another run iops=33507 andiops=44329. This does not ...
user avatar
  • 221
1 vote
0 answers
31 views

Getting conflicting Hardware I/O write speed

I am getting two very different data rate from the dd command as shown below. 1st dd if=/dev/zero of=/tmp/output conv=fdatasync bs=384k count=1k; rm -f /tmp/output 1024+0 records in 1024+0 ...
user avatar
  • 111
1 vote
0 answers
500 views

Ubuntu 18.04 and 20.04 crash and freezes when interacting with USB-C. 16.04 working fine

I have an Asus Zenbook flip S (UX-370UAR, Intel Core i7-8550U CPU). It has as I/O only two USB-C ports and headphones port. It worked fine with Ubuntu 16.04. Last year I changed to 18.04 (same is ...
user avatar
0 votes
0 answers
50 views

What's a convenient language/framework to use to do file system operations programmatically in Ubuntu?

Say I want to replace a specific string in all the file-names recursively within the directory, I know how to write java code to do that, but I'm expecting there would be something that might be ...
user avatar
  • 498
1 vote
1 answer
2k views

Temporarily Disable ZFS ARC for Benchmarking

Is it possible to temporarily disable the ZFS ARC cache? I am trying to benchmark a ZFS SSD array using fio and want to avoid ZFS caches (via the ARC) from skewing the results. The alternative of ...
user avatar
  • 873
4 votes
2 answers
426 views

How to get I/O priority to work on Ubuntu?

Ubuntu has ionice, but as far as I can tell, it does absolutely nothing. I suspect this is because Ubuntu replaced cfq with deadline and deadline doesn't support priorities. Is there any possible ...
user avatar
1 vote
0 answers
149 views

Ubuntu 18.04 kernel 5.0.0 full system hang

we have been running our java system for over 2 years without ever having a system hang. We have 2 physical servers running similar java software (2 JVMs on each server) to form a cluster. As far as I ...
user avatar
1 vote
0 answers
94 views

Why does my external hard drive read and write speed drop to 0

I recently got a new external hard drive and have noticed that the write speeds are very slow. When I used "Benchmark Partition" from the Disks utility, I got a very strange result: Why are the hard ...
user avatar
0 votes
1 answer
1k views

How to get "Total" Disk read/writes per process in ubuntu from terminal command?

How to get "Total" Disk read/writes per-process in ubuntu using the command line? or "How to get all parameter values of system monitor using a command line like using top command or so per second." ...
user avatar
2 votes
1 answer
116 views

Why do I seem to type faster on my Ubuntu Virtual Machine (in Terminal)?

I notice that when I type in terminal on my Ubuntu VM launched via VirtualBox, the keyboard input is very slick, smooth, and fast. Is it because the latency of keypress to screen has a faster setting ...
user avatar
2 votes
2 answers
943 views

ntfsfix shows no error but frequent IO errors on drive

I have a NTFS disk mounted as a data drive to a Ubuntu system (19.10). In the last couple days, the drive has become very slow and unreliable. The journal (journalctl -r) shows this : Nov 20 15:...
user avatar
2 votes
1 answer
183 views

New HDD in 19.10: Where is 7MiB/s constant write activity coming from?

I just added a brand new 4TB spinning disk to my system, created one ext4 partition on it, labeled it HDD4 and mounted it exactly like /mnt/HDD (which works perfectly). It is /dev/sdc1. Here is the ...
user avatar
0 votes
0 answers
65 views

Just installed LVM Raid 1 on a new server with 2x 10Tb hard drives and the Disk I/O is killing everything else every second

I copied a bit of data on my LVM based RAID1 (not hardware RAID) with 2× 10Tb hard drives: /dev/mapper/users-users 9.1T 1.9G 8.6T 1% /home and now it's killing my I/O to the point where my ...
user avatar
  • 2,440
2 votes
1 answer
417 views

Battery drain & processor always at max

So, I've installed Ubuntu on my new gaming laptop (Xiaomi Gaming Laptop 2, NVidia GTX 1060, I7 8750H, 16GB RAM) and I've realised a very fast battery drain and heating, even at idle. At the beginning ...
user avatar
  • 31
1 vote
1 answer
693 views

How can I restore DVD drive operation following most recent Ubuntu r19.04 `apt upgrade`

Some time in the last day or two, following one of the recent apt update-s the DVD driver on my desktop has stopped working. between: 2019-09-15 (UTC) or so until: 2019-09-20 (UTC) After several ...
user avatar
  • 322
16 votes
3 answers
19k views

Is the default 512 byte physical sector size appropriate for SSD disks under Linux?

GSmartControl and any other command line tool (like fdisk, smartctl, cat /sys/block/sd*/queue/hw_sector_size, cat /sys/block/sd*/queue/physical_block_size) I had used report the same for both of my ...
user avatar
  • 6,421
2 votes
0 answers
741 views

I/O warnings and external entities

when entering the input: sudo /usr/bin/vmplayer & I receive the following error in my terminal's verbose output: I/O warning: failed to load external entity "/etc/VMware/hostd/proxy.xml" So my ...
user avatar
1 vote
0 answers
659 views

Input/output errors when running some programs in Lubuntu started from a bootable flash drive

I downloaded Lubuntu 18.04 iso file into my flash drive and make the flash drive into a bootable device. I inserted the flash drive into a laptop (C55t-A) and booted into Lubuntu without actually ...
user avatar
  • 23.2k
18 votes
5 answers
34k views

How do I tell if a command is running or waiting for user input?

On command line, I typed a command and hit enter. It doesn't output anything . How do I tell if it's running and not yet output, or it's asking for user input?
user avatar
  • 629
3 votes
2 answers
5k views

Compressing folder without using additional space on the drive

I have an 18GB EC2 instance that has run out of space. I wanted to zip and transfer files off the server to a local drive. There is just about 1% free space remaining on it. This means that I cannot ...
user avatar
1 vote
2 answers
1k views

Does any open source I/O benchmarking tool support ramping up IOPS?

I know that I can use fio to benchmark my disks with any given static workload. However, does any open source high quality benchmarking tool support doing a test where I select following parameters as ...
user avatar
12 votes
6 answers
55k views

print_req_error: I/0 error

Every couple of days I get these errors that lockup the server. [501.882940] print_req_error: I/O error, dev fd0, sector 0 [504.338961] print_req_error: I/O error, dev fd0, sector 0 [504.738984] ...
user avatar
0 votes
1 answer
145 views

Does storage affect file caching in cp?

I read somewhere that cp uses file caching, but why does coping something the size of ~100MB result in a file cache of more than 100MB in ram? Does this also change if copying from HDD -> HDD,SSD -> ...
user avatar
  • 145
0 votes
0 answers
682 views

call to iopl(3) ends with "Operation not permitted", even when running as root

On older systems you could call a function int iopl(int level) with argument level=3 to get a permission to perform raw I/O operations. On Debian this still works, but on Ubuntu 18, it always returns -...
user avatar
  • 145
1 vote
2 answers
1k views

Is my disk dead? I cannot boot! [duplicate]

I have an 8-year-old dual boot laptop, but it won't start Ubuntu or Windows. When selecting Ubuntu, I get a BusyBox, that mostly says: failed command: READ FPDMA QUEUED blk_update_request: I/O error, ...
user avatar
  • 565
0 votes
0 answers
358 views

IO Port Address RJ11

I've 2 PCs running Ubuntu. The PCs are from different vendors. They have IO port interface via RJ11 connector. They are used for accessing the cash drawer. On one PC, I'm able to access the cash ...
user avatar
2 votes
0 answers
319 views

Missing disk IO stats at gnome-system-monitor

I'm using Ubuntu 18.04, just plain/default ext4 installation (updated/upgraded). I can see stats from command line with iostat. Like on gnome-system-monitor screenshot: system monitor only displays ...
user avatar
  • 21
0 votes
0 answers
545 views

disk i/o error on multiple disks after format failure

I have 2 3.5" WD20EARS disks. durring a format/wipe, there was a power failure and now i'm unable to access either disk. I would normally think that it's just a dead disk but since it happened on both,...
user avatar
  • 101