Simon Breden wrote:
> set sata:sata_max_queue_depth = 0x1
> Anyway, after adding the line above into /etc/system, I rebooted and then
> re-tried the copy with truss:
> truss cp -r testdir z4
> It seems to hang on random files -- so it's not always the same file that it
> hangs on.
> On this particular run here are the last few lines of truss output, although
> they're probably not useful:
truss -topen cp -r testdir z4
This will only show you the files being opened. The last file opened in
testdir is the one it is hanging on.
(Unless it is hanging in getdents(2), but I don't think so based on the
But, if it is hanging on random files, this is not going to help either.
How long do you wait before deciding it's hung? I think usually you
console output saying I/O has been retried if the device does not
respond to a
previously sent I/O.
zfs-discuss mailing list