hang with dd when preallocating raw file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



So I'm trying to preallocate a VM image file using dd and I'm getting a weird hang regardless of file system (XFS and Btrfs so far). Existing shells, local and ssh, are very sluggish but work. I can't create new shells, either local or ssh, they time out. This is the command I'm using:

dd if=/dev/zero of=fedoraA.img bs=1M count=40000

It takes between 10 seconds and 1.5 minutes for e.g. ls -lsh to return results. And lsattr has been hung for 5 minutes and doesn't return results until dd is done.

free -m reports around 100MB of free memory. There's no obvious runaway process reported by top. So I'm not sure why there's this much of a drag.

How to go about troubleshooting this?


Chris Murphy
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test





[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux