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
1
vote
0answers
78 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 ...
-2
votes
2answers
58 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 ...
0
votes
0answers
28 views

IO tuning for SAN storage

Please advice tuning options for IO stack, especially for flash, NVMe SAN storages - IO schedullers tuning, multipathing, etc - to get lovest responce times
0
votes
0answers
12 views

how to generate a report or log from nmon which is specific to disk i/o?

Per the man page for nmon I ran: nmon -f -d sda5 -t -r /home/thufir/performance/disk.log which generated quite a large file, as dur_210411_2146.nmon so, rather minor question is how to specify the ...
0
votes
0answers
33 views

BFQ scheduler not sharing the io bandwidth according to weight in CgroupV2

I am using BFQ io scheduler for leveraging the weight based io bandwidth distribution in Cgroup V2. Below are few detail of my environment. OS -> SLES 15-SP2 Kernel -> 5.3.18-24....
0
votes
0answers
24 views

Duplicating disks with dd reports I/O errors. How can I find if / what files are affected by IO errors on those blocks

Task being performed: duplicating a laptop disk (HD) to an SSD (mounted on USB external disk enclosure) with dd. After completion SSD installed in laptop and use as internal disk. Problem: while dd ...
0
votes
1answer
194 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" ...
0
votes
2answers
61 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 ...
0
votes
0answers
44 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 ...
1
vote
1answer
40 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,...
1
vote
1answer
39 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 ...
0
votes
0answers
97 views

Led on gpio very dim (low voltage)

I am using a minnowboard turbot (kind of like a raspberry pi, except its x86_64) When I boot it, the led connected to the gpio pins is normal brightness. After i create the gpio pin by typing echo [...
0
votes
0answers
16 views

Log maximum disk I/O usage per service in past 24 hours

I want to know how much disk I/O has each service used in the past 24 hours? And which service has been used the most I/O? iotop command just shows the real time current usage of I/O. And the sar -d ...
0
votes
0answers
20 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 ...
0
votes
1answer
497 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 ...
0
votes
1answer
42 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 ...
0
votes
0answers
46 views

How do I purge disk IO on a defective drive

So I think one of my drives is defective. My problem is that when I tried to mount it and read from it the operations failed and now I can't get programs like caja and dolphin to work because of ...
0
votes
1answer
166 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 ...
1
vote
0answers
25 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 ...
1
vote
0answers
436 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 ...
0
votes
0answers
49 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 ...
1
vote
1answer
851 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 ...
4
votes
1answer
167 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 ...
1
vote
0answers
131 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 ...
1
vote
0answers
70 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 ...
0
votes
1answer
583 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." ...
2
votes
1answer
88 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 ...
2
votes
2answers
716 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:...
2
votes
1answer
148 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 ...
0
votes
0answers
47 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 ...
2
votes
1answer
329 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 ...
1
vote
1answer
444 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 ...
16
votes
3answers
15k 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 ...
1
vote
0answers
611 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 ...
1
vote
0answers
552 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 ...
16
votes
5answers
21k 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?
3
votes
2answers
4k 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 ...
0
votes
2answers
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 ...
12
votes
6answers
46k 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] ...
0
votes
1answer
111 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 -> ...
0
votes
0answers
565 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 -...
1
vote
2answers
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, ...
0
votes
0answers
295 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 ...
2
votes
0answers
238 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 ...
0
votes
0answers
407 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,...
0
votes
0answers
153 views

External backup hard drives keeps dropping transfer rate by orders of magnitude

Using Ubuntu 16.04 on Dell Inspiron 7570 I have been trying to backup my home to an external USB 3.0 4TB Seagate drive. I bought 3 about a year ago, and only ever opened 1 for use. I have the same ...
12
votes
1answer
4k views

How to limit resource usage for a given process?

I have a process for an application which needs to run, but ends up using far too much IO usage for what it does. And really crashes my computer, making it impossible to do anything else whilst it is ...
0
votes
0answers
433 views

Slow writes to harddrive, software or hardware problem?

I have a problem where my Ubuntu (17.10 right now, but it's been doing it for several releases) freezes when I write to my SSD disk, and I need to find out whether it's a software problem or if my SSD ...
19
votes
3answers
2k views

What does & mean exactly in output redirection?

I see stuff like command 1> out or with 2>&1 to redirect stderr, but sometimes I also see &> by itself, etc. What is the best way to understand & and what it means exactly?
0
votes
1answer
81 views

External harddisk problem

The question title is obviously not clear because I am not sure what is going on. I have a 1TB external HDD. I've always been using it on my old laptop. On my new laptop running Ubuntu Gnome 16.04 I ...