Skip to main content

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
0 answers
42 views

Rasbery Pi Pico bootsel file upload write error Buffer I/O error on dev sda1

I am really struggling to work out how to upload a boot sketch to a raspberry pi pico using ubuntu server 24.04 following instructions from the web I hold down the BOOTSEL button when I plug in the ...
Jay Dee's user avatar
  • 97
1 vote
2 answers
139 views

Copy operation on one SSD causes IO PSI peak / system to freeze

Moments after copying a large file on my primary SSD, the IO PSI value goes up to more than 90% and the system becomes very unresponsive. This takes around a minute to go back to normal. I also ...
Alex's user avatar
  • 992
0 votes
0 answers
45 views

Can't control my fans in Ubuntu. Sensors detect says there is no driver for ITE IT8731F

Is there a way i can find a driver for this Super IO sensor? Can i use a driver made for another ITE chip that will be compatible with this one?
bkrlski's user avatar
  • 11
0 votes
0 answers
87 views

KVM switch occasionally causes keyboard & mouse to not get recognized

I'm using a KVM switch to share keyboard, mouse and monitor between two machines. One is Ubuntu 22.04 and the other is Windows 7. The switch works 90% of the time but occasionally when switching back ...
user997112's user avatar
1 vote
0 answers
820 views

Very slow performance on Ubuntu 22.04 with encryption enabled / I/O SSD issue

I have freshly installed Ubuntu 22.04 on my Macbook Air 13 Inch Mid-2013. I enabled full disk encryption in the setup process (CPU supports AES-NI, all latest updates installed). When starting ...
manomiddle's user avatar
0 votes
0 answers
709 views

How to use a large external drive in WSL with reasonable performance

I have a 250GB WSL 2 partition running Ubuntu (on Windows 10), inside which I do my development. I'm working with some files that are too big for this partition. I have attached an external 6TB USB ...
Steve Bennett's user avatar
0 votes
0 answers
81 views

I/O error on secondary SSD

I had an I/O error on an ssd (sda) and somehow ended up thankfully backing my files up and reinstalling ubuntu on another ssd (nvme0n1), though, problem is, now with the first ssd (sda) broken i can't ...
popiomondayz's user avatar
1 vote
0 answers
297 views

Mind-bogglingly slow disk read performance in KVM guest

I'm running Ubuntu Server 22.04.3 with all the latest updates. I've installed KVM and a guest with the same Ubuntu Server version. My problem is that the guest is crazy slow at reading a file. If I ...
jmbeck's user avatar
  • 71
1 vote
0 answers
167 views

What could cause input/output errors after resuming from sleep mode?

For a few weeks now I experience IO errors when I reopen my Ubuntu (22.04) laptop. Then I can only hold down the power button and hard reset everything. I will gladly provide you with necessary ...
MDoe's user avatar
  • 115
0 votes
1 answer
71 views

Why can I write to /dev/ttys010 using `>` but not `|` [duplicate]

I am trying to play around and understanding ttys. In one terminal emulator window, the output of tty gives me $ tty /dev/ttys010 So I figured if I write to this device, the terminal window will show ...
michael_fortunato's user avatar
0 votes
0 answers
403 views

How to limit tar process to not utilize IO at max?

So I have a server where I have important processes running 24/7, and once per day I run a backup of a specific folder like this: time tar cf ${HOME}/${SNAP_NAME} -C ${DATA_PATH} . &>>${...
user1692021's user avatar
1 vote
0 answers
1k views

NVMe slow write speed capped at 513,2 MB/s

Hello just bought a Samsung 980 Pro to be used with a fast camera. I put it in a system with a X570-A-PRO mobo (On the M2_1 socket) and a Ryzen 9 5950x. I am running on the 22.4 with the 5.15.0-48 ...
Maxime Lavaud's user avatar
0 votes
0 answers
472 views

berkeley socket programming issues - <netinet.h> not found

My standard socket stuff doesnt work anymore on Ubuntu 20.04.4 - <netinet.h> not found. This then leads to definition errors of sockaddr. s.c:22:14: error: ‘struct sockaddr’ has no member named ‘...
bernd feinman's user avatar
0 votes
1 answer
1k 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 ...
Otto Julio's user avatar
2 votes
0 answers
1k 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 ...
Tilman Hartwig's user avatar
0 votes
0 answers
221 views

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

Yesterday night, I installed 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(...
Science Worldz's user avatar
3 votes
0 answers
217 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, ...
beyondtime's user avatar
-1 votes
1 answer
808 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 ...
zzzhhh's user avatar
  • 267
0 votes
0 answers
151 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/...
Brad's user avatar
  • 131
0 votes
1 answer
662 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. ...
Rafael Santos's user avatar
0 votes
0 answers
911 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 output.txt. The command: /home/gajeet/Documents/OpenSource/Test < input.txt > output.txt ...
gajeet's user avatar
  • 9
2 votes
1 answer
888 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 ...
ringusdingus's user avatar
0 votes
0 answers
403 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 ...
anoopjohn's user avatar
  • 211
-2 votes
2 answers
3k 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 ...
code_worker's user avatar
0 votes
1 answer
1k 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" ...
Tim He's user avatar
  • 321
0 votes
2 answers
295 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 ...
Mike's user avatar
  • 1
0 votes
0 answers
151 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 ...
CaptainAhab's user avatar
1 vote
1 answer
570 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,...
neel g's user avatar
  • 145
1 vote
1 answer
178 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 ...
juung666's user avatar
  • 113
0 votes
0 answers
78 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 ...
Ishamael's user avatar
  • 101
3 votes
1 answer
2k 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 ...
Pfrances's user avatar
0 votes
1 answer
55 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 ...
Alexey R.'s user avatar
  • 116
0 votes
1 answer
614 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 ...
tuk's user avatar
  • 251
1 vote
0 answers
49 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 ...
Mr.SsS's user avatar
  • 111
1 vote
0 answers
588 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 ...
vvaquero's user avatar
0 votes
0 answers
52 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 ...
Harsha's user avatar
  • 508
2 votes
2 answers
3k 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 ...
Nyxynyx's user avatar
  • 1,103
5 votes
2 answers
1k 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 ...
Paul Draper's user avatar
1 vote
0 answers
168 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 ...
Gordon Reid's user avatar
1 vote
1 answer
205 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 ...
Sergiu Toarca's user avatar
1 vote
1 answer
3k 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." ...
Mayank90's user avatar
2 votes
1 answer
191 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 ...
Tony Bai's user avatar
  • 121
2 votes
2 answers
1k 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:...
Stephen Boston's user avatar
2 votes
1 answer
231 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 ...
user3071462's user avatar
0 votes
0 answers
87 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 ...
Alexis Wilke's user avatar
  • 2,737
2 votes
1 answer
490 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 ...
msardi's user avatar
  • 31
2 votes
1 answer
1k 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 ...
will's user avatar
  • 348
17 votes
3 answers
24k 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 ...
FedKad's user avatar
  • 11.8k
2 votes
0 answers
1k 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 ...
Adam Ledger's user avatar
1 vote
0 answers
730 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 ...
Tim's user avatar
  • 25.5k