zfs-discuss@opensolaris.org
[Top] [All Lists]

Re: [zfs-discuss] cp -r hanged copying a directory

Subject: Re: [zfs-discuss] cp -r hanged copying a directory
From: ""
Date: Sat, 03 May 2008 09:17:19 +0200
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:
>   
Hi Simon,
Try with:

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 
kernel stacktrace).
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 
should get
console output saying I/O has been retried if the device does not 
respond to a
previously sent I/O.

max

_______________________________________________
zfs-discuss mailing list
zfs-discuss@xxxxxxxxxxxxxxx
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

<Prev in Thread] Current Thread [Next in Thread>