X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=p582o8Vaa+GTFgsz6e8+4wyurjTcHaSMLJfAZo+CuMDTMWyOwn+hz YPEi5Q+IZTSK1azK96u5365B2EJR1LuSPvUkfBmdRuqxdT5AFy1AyqyMzKhP1OE9 5GikqvVCoQ9fh/m8FW2KrnIZkn3QXgxa5YQRMwFZxm2cGuk3o3IZxE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=KMZ+N5ilMaj6LyqyvbPfDBwTcm4=; b=UbJTxUpjJFdU1NRyB85oLVdQpzmX jUWKr2tN/3pHLZIIbi5v7erSLTH6fVp18V+EeZdDlmH37xWeiool+n3C/5xRvyBU yJ6hL1NCQSkOwV2JAObVizGEyPSk1Dc0PIi+ieZvybY5QdG5EUnbwcGs1fpi4Arz roNG8Fqs/T6ckZE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-6.6 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=drives, csih, Hx-languages-length:1787, worthless X-HELO: calimero.vinschen.de Date: Sat, 19 Mar 2016 16:56:10 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: fts_read failed error during Cygwin find, du, etc operations Message-ID: <20160319155610.GA6488@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="5mCyUwZo2JvN/JJP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) --5mCyUwZo2JvN/JJP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 18 14:50, Kenneth Wolcott wrote: > Hi; >=20 > I am using a daily refreshed Cygwin64 on WIndows 7 Enterprise. >=20 > When I mount fairly large NetApp volumes and perform a >=20 > du -sh path >=20 > or >=20 > find path etc >=20 > or >=20 > rm -rf path >=20 > where path is involved in the mount. like /cygdrive/y/ as mentioned below; >=20 > (those are the three that I remember, all apps recursive descend a > directory tree); >=20 > I'll frequently get the following error. >=20 > du -sh /cygdrive/y/Some_Large_Directory > du: fts_read failed: > /cygdrive/y/Some_Large_Directory/dir/dir/dir/file: No such file or > directory By "Some_Large_Directory", do you mean a directory with a long name, or a directory with lots of files in it? If the latter, is there a chance that you get very long pathnames while descending into the dir, like, say, longer than 260 chars? (Just a hunch...) > So, what is the cause of this and what is the remedy or workaround? >=20 > So far I have no choice but to fall back to the dos window and dos > commands or the windows file explorer where I would much rather be > using Cygwin. Netapp drives are a bit tricky. They already get some special handling in Cygwin, but that may be outdated. For a start, can you make sure you have the csih package installed and run $ /usr/lib/csih/getVolInfo /cygdrive/y Also, it would be interesting to see an strace of a failing command like above, e.g. $ strace -o du.strace du -sh /cygdrive/y/Some_Large_Directory If that works fine it's worthless, but if it fails as you mention above, please send the du.strace file as attachment to this list. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --5mCyUwZo2JvN/JJP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJW7XaZAAoJEPU2Bp2uRE+gJyYP/3uCboHwdyleTSRJe5PeoXGR FXHDdwvR04gGYZAYinaxnx5Tx1rXc+1H6jOJKjDwgSmya5dP1x7QEW/8dXOzkEp3 i1sJ7l8sbAJKVVM+aUOlysFsQsmdnwY1l3CZVffwCQhp20LO0Z+P/sE9KQJYOR/H inP9PtEZw6QQPxIFlsWp48vYxoH+QEZaEBt1YO5HVdJVIAAYvCGVbtf60qTpmWcw cKPUmaDiQBtC29y7QwgQ/bXxqfCZHCUyKz8UAWisjCq6lV3Os0fyvxsbATFFXFeR qeEVt3/yMBeXKcACLk/FY2CUQiM5oomMCt5kuLFOIc+8kE6nZDsDuW9kvH7zUzrp KVPwf2ouDwov6VOk/RQlSe1hLz7CSl+glQvN+ixR24xe9NfOOomQKJ7L4NGhW2yK aC36/o9oIN/NhyaiFgMoa4idzCO+mw/2584kfOoCaPENVBFekHooxMZ3Hi8kY7HZ ZbqsKHrM05rnFBQYYUxy8/UrMgsK8iNfSKxNkpQV5xjU9bgn2TkRjHAAOzoFRd0J K9+eI4v5zA/Rz63EVaNfJ5GMzVLjR1M12bVExxueBaSx9dJmtAzNe1P4jPh5xO5l XTthmQdzvbpJxDf3T+e+66+R/SHRi4BHkPMl7ti2WxihsvnN9kZwdBSc6cVw7p5h GChk3bXbygAWL5d6kw/f =4SNy -----END PGP SIGNATURE----- --5mCyUwZo2JvN/JJP--