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
0answers
42 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
36 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
21 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 ...
0
votes
0answers
69 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
9 views

How to make mq-deadline parameters permanent for a specific drive?

I have a RAID drive for movies attached to my home media server where I want to heavily prioritize the READ operation over WRITE operations. I have changed my settings as follows: fifo_batch 16 -> 32 ...
0
votes
0answers
46 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 ...
0
votes
1answer
55 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 ...
0
votes
0answers
21 views

USB Write buffer + Suspend

There are few questions about some time between GUI copy window finishes the copying process to the external drive and a moment when the IO queue is fully written to the drive. IO queue: https://...
4
votes
1answer
78 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 ...
0
votes
0answers
22 views

19.10 - Hang on save file confirmation dialog

When closing Visual Studio Code with unsaved changes, the application greys out as if going unresponsive and sits for a few seconds before bringing up the standard "Are you sure you wish to close ...
1
vote
0answers
86 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
53 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
97 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
76 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
418 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
101 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
26 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
219 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 ...
0
votes
1answer
157 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 ...
0
votes
0answers
43 views

How do I read data from a corrupted ext4 partition under LVM?

How do I open/read (or other recommendations to access) an ext4 partition under LVM for none-filesystem reads? Does it need to be physical reads? Where is some good info on the LVM & ext4 file ...
11
votes
3answers
8k 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
162 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
324 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 ...
14
votes
5answers
9k 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?
0
votes
0answers
98 views

I/O Error - Ubuntu doesn’t boot (hardware or software issue?)

So this is my first entry at askubuntu if I miss something or this issue is at a wrong channel... I’m sorry in advance ;) I have an Dell XPS 13 with an 512gb NVME (bought Autumn 2018). Ubuntu 18.04 ...
2
votes
2answers
2k 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
678 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 ...
8
votes
5answers
30k 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
76 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
358 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
779 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
215 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
169 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
265 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
113 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 ...
11
votes
1answer
2k 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
403 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
1k 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
79 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 ...
0
votes
2answers
2k views

Ubuntu 16.04.2 freezes after startup

I left Ubuntu a while ago after Ubuntu 16.04 came out and was totally unstable, and tried another distro, and couple days ago after I saw that Ubuntu 16.04.2 was released I thought that probably some ...
1
vote
0answers
34 views

Profiling boot-to-desktop I/O usage

I am experiencing slow performance for several minutes after logging in to Unity desktop, with all signs pointing to I/O bottlenecks being the culprit. The desktop is nearly unusable (e.g. gnome-...
0
votes
0answers
12 views

Can't get past the loading screen [duplicate]

After too many inode error and frequent freezing i tried to wipe the disk and reinstall ubuntu on my intel(r) core duo e7300...but when i did it. I got this error error attempt to read or write disk ...
3
votes
0answers
3k views

Buffer I/O error on dev sdc, logical block 0, async page read

The first error appeared when i had installed the program on my usb flash on windows. During the installation from unknown reason, there was an error, something like "error, please format your drive" ...
0
votes
0answers
130 views

/dev/sda: Input/output error [duplicate]

This morning my dual boot (ubuntu 16.04/Win10) Lenovo x230i laptop showed the GRUB2 menu on power up, then decided to hang dead. After reboot it behaves as if there is no bootable disk, even though it ...
3
votes
1answer
763 views

How to fix a constant IO error cause by a Non-Readable file? [duplicate]

So, Basically when I open my media drive, I get an annoying error message from nautilus 'IO Error Can't read 2 files (songs actually)' and same goes with the ls -l command. I believe the file ain't ...
1
vote
1answer
2k views

Identify the entries of xinput

Some of the entries of xinput are strange ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳...
0
votes
0answers
236 views

SSD based cache for Virtual machines

I have to complete an academic project on kvm+ssd. Topic is SSD based cache for Virtual machines. I think when guest operating system issues read call, it will goes through KVM and then to host OS. I ...
3
votes
1answer
732 views

A lot of io after boot/login: gnome-software --gapplication-service

I see with iotop that gnome-software --gapplication-service does a lot of io, which annoys me, since this makes my laptop nearly unusable. I see with ls -l /proc/PID/fd that there a lot of open files ...
0
votes
0answers
310 views

Blktrace pid doesn't match real process ID

I wan't to trace I/O block device requests using blktrace command. To make a simple I/O block request I used the command below. $ sudo dd if=/dev/sda bs=1k of=/dev/null count=1 iflag=direct & [1] ...
0
votes
0answers
281 views

black screen of death io page fault

I am getting a BSOD, noted the following events in /var/log/syslog Sep 20 22:18:59 MS-7694 dbus[983]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org....