df reports negative values on Network Shares

Igor Pechtchanski pechtcha@cs.nyu.edu
Thu Apr 15 17:07:00 GMT 2004


Do you have user quotas?  This isn't Cygwin-related anymore, BTW.
	Igor

On Thu, 15 Apr 2004, Carl Peto wrote:

> It gets better.
>
> There is something quite wierd going on here.
>
> I just wanted to upgrade cygwin1.dll so I downloaded
> cygwin-1.5.9-1.tar.bz2 from
> ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin/release/cygwin/
>
> I then went into cygwin (bash), changed to /cygdrive/c/cygwin (where I
> had put the bzip2 file) and did a bunzip2 cygwin-1.5.9-1.tar.bz2
>
> No problem, it ran fine and I was left with a cygwin-1.5.9-1.tar file in
> c:\cygwin (or /cygdrive/c/cygwin depending on your view).
>
> I figured that cygwin would not work too well if I used (cygwin) tar to
> extract the files from within (cygwin) bash.
>
> So I closed the bash prompt (I'm now not running any programs compiled
> against cygwin1.dll of any version) and then brought up c:\cygwin in a
> Windows Explorer window.
>
>
>
> Now it gets wierd...
>
> Next I ran Winzip to extract the files from the tar.
>
> It opened fine and showed me the list of files.  When I pressed the
> "Extract" button it started to extract files and (as expected) asked me
> if it was OK to overwrite existing files.  I said "yes" and off it went.
> But, guess what, after extracting about 15 files it hit a snag and
> reported "disk full".
>
> Now this means that there is something really fundamental about this
> area of the file system on an NTFS drive that is repeatedly causing disk
> full errors at a fairly low level.
>
> Log from winzip...
> Extracting to "C:\cygwin\"
> Use Path: yes Overlay Files: no
> Extracting cygserver.conf
> Extracting cygcheck.exe
> Extracting cygpath.exe
> Extracting cygserver-config
> Extracting cygwin1.dll
> Extracting dumper.exe
> Extracting getfacl.exe
> Extracting ipcrm.exe
> Extracting ipcs.exe
> Extracting kill.exe
> Extracting mkgroup.exe
> Extracting mkpasswd.exe
> Extracting mount.exe
> Extracting passwd.exe
> Extracting ps.exe
> Extracting regtool.exe
> Extracting setfacl.exe
> Extracting ssp.exe
> Extracting strace.exe
> Extracting umount.exe
> Extracting _ansi.h
> Can't create output file: C:\cygwin\usr\include\_syslist.h
>
>
> Furthermore, when I had this problem last week, before I joined this
> mailing list, I decided to try changing the permissions on all files in
> c:\cygwin to be owned by my windows 2003 user, just in case.  I went
> into the standard Windows Explorer "Security" tab of the folder
> properties and chose "Advanced" then "Owner" and changed it to me.
> Again it got halfway through then reported "disk full".  The disk is
> definitely not full, I have been merrily creating huge files elsewhere
> on the same drive.
>
> I don't think that we should get hung up on the fact that I went an
> unusual way about this rather than installing using the setup.exe
> installer.  I'm pretty confident that something similar would have
> happened had I used setup.exe, it would have just taken longer and,
> anyway, surely what I did is all that the installer does anyway?
>
> I posted a cygcheck report on the last posting so I won't waste space by
> re-posting here.
>
> Please do let me know if there's any other diagnostics I can attach to
> help make this easier.
>
> Regards,
> Carl Peto
>
> ----- Original Message -----
> From: "Larry Hall" <cygwin-lh<at>cygwin<dot>com>
> To: "Carl Peto" <carl<at>bookmanassociates<dot>com>; <cygwin<at>cygwin<dot>com>
> Cc: <TDemmer<at>krafteurope<dot>com>
> Sent: Wednesday, April 14, 2004 8:13 PM
> Subject: Re: df reports negative values on Network Shares
>
>
> > At 02:55 PM 4/14/2004, you wrote:
> > >I had exactly the same problem as Thomas...
> > >
> > >$ df -h
> > >Filesystem            Size  Used Avail Use% Mounted on
> > >C:\Program Files\Borland\Interbase
> > >                      1.0G  -64Z   37M 101% /opt/interbase
> > >C:\cygwin\usr\X11R6\lib\X11\fonts
> > >                      1.0G  -64Z   37M 101% /usr/X11R6/lib/X11/fonts
> > >C:\cygwin\bin         1.0G  -64Z   37M 101% /usr/bin
> > >C:\cygwin\lib         1.0G  -64Z   37M 101% /usr/lib
> > >C:\cygwin             1.0G  -64Z   37M 101% /
> > >c:                    1.0G  -64Z   37M 101% /cygdrive/c
> > >e:                     38G   19G   19G  49% /cygdrive/e
> > >m:                     13G  4.1G  9.3G  31% /cygdrive/m
> > >p:                     13G  5.4G  7.9G  40% /cygdrive/p
> > >q:                     13G  5.4G  7.9G  40% /cygdrive/q
> > >r:                     13G  4.1G  9.3G  31% /cygdrive/r
> > >s:                     13G  5.4G  7.9G  40% /cygdrive/s
> > >
> > >carl@bill /cygdrive/p/Releases/BPM
> > >
> > >...only in my case it happened on the C drive so it has crippled
> > >cygwin as virtually nothing can be written without error messages
> > >like "out of disk space" coming up.
> > >
> > >This suggests to me that it's more low-level than just a df problem,
> > >possibly some interaction with Windows 2003 Server.
> > >
> > >
> > >Here is the cygcheck -s -v -r...
> >
> > <snip>
> >
> > >    Cygwin DLL version info:
> > >        DLL version: 1.5.1
> > >        DLL epoch: 19
> > >        DLL bad signal mask: 19005
> >
> > Upgrade to the latest and try again.

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list