2
votes
1answer
67 views

How to test Disk IO on VMs with iozone?

I want to test the disk IO performance like read, write, random read, random write and so on both in physical machine and VMs (with aufs file system). Also I want to test the throughput performance in ...
1
vote
1answer
34 views

why doesn't iozone generate output file?

I'm using iozone3 for tesing, on Xamin (an Debian-based OS). When I enter iozone command, for example iozone -Rab output.xls, the test runs successfully. But after running the test (after displaying ...
3
votes
2answers
100 views

Monitor when read/write on metadata or mmaped files hit the disk

On a server hosting a wide range of websites, I often see IO becoming a bottleneck without being able to identify the processes responsible of IO operations with tools such as iotop, iostat or sar. I ...
2
votes
1answer
589 views

jdb2 keeps Hard Disk busy all the time

My system became too slow last few days. The hard disk indicator is on all the time. To discover which process is keeping the disk busy i run this command: # while true; do date; ps auxf | awk ...
0
votes
1answer
44 views

Copy a file that is in the middle of being written

I have a program that writes to the standard output. It does not write all info at once, it does computation and then writes new bits. The output of the program is being stored in a file. $ ...
3
votes
2answers
141 views

How to make directory modication date change when files from that dir change?

For example, if a file has been changed in that directory, then directory modification date should be updated. Basically any changes that happen in that directory should trigger a "touch" on the ...
2
votes
0answers
746 views

find ount what [flush-8:0] is writing

Using iotop, I found out that [flush-8:0] is doing a lot of hard disk activity, which explains the annoying slowdowns. However, I can't figure out what's the actual cause behind this flushing. No ...
0
votes
1answer
137 views

Unable to delete a directory even as root

I am unable to delete a directory even as root. The command rm -rf kdyiyv.pif returns nothing. Then I tried the command, touch kdyiyv.pif for which there was an error: touch: setting times of ...
1
vote
0answers
1k views

How to set up ZFS with ZIL and L2ARC SSD?

I have been considering bcache and flashcache. However my friend suggested me something called ZFS. In fact it says that formating disk with ZFS can actually do the exact same thing without kernel ...
3
votes
2answers
731 views

Storing thousands of files in one directory

I have a web-site that I'm checking for performance issues and bugs, and i came across a caching code that caches thousands of files into one single directory. I understand that this is not good and ...
13
votes
2answers
4k views

Can I watch the progress of a `sync` operation?

I've copied a large file to a USB disk mounted on a Linux system with async. This returns to a command prompt relatively quickly, but when I type sync, of course, it all has to go to disk, and that ...
5
votes
3answers
431 views

File size of 60.0 PB is wrong. Can deleting it cause data loss?

While backing up some data (a 200 GB home directory) with rsync, I got an I/0 error for a particular file, after which rsync continued on "normally" with its backup. The problem source file showed as ...
3
votes
2answers
932 views

I/O statistics per user

I have access to an academic supercomputer where there is an NFS filesystem where our lab keeps our data. When I run iostats -nh I believe I am getting statistics for all users accessing all storage ...
3
votes
1answer
106 views

Copying a file that is written at the same time

This related question can't solve my exact problem, so I'm writing a similar question. My scenario is the following: a program (run by wine) writes to a file sized about 10-500 KB. About 1 KB ...
3
votes
1answer
330 views

How race conditions affect reads and writes (that happen at the same time)

Let's say I open a file a for reading. What if an application, let's call it aWriter writes to this file in random intervals. Are there any possibilities of me receiving improper file contents if I ...
6
votes
2answers
4k views

root user denied access to .gvfs in rsnapshot?

I was running rsnapshot as root and I got the following error. Why would this happen? what is .gvfs? rsnapshot weekly slave-iv ...