Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 2009 22:15:19 +0100
From:      John Morgan Salomon <john@zog.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: NFSv2 Wrong FS Size
Message-ID:  <ECF42325-F49A-4C4F-9C1C-F5B00A78BC73@zog.net>
In-Reply-To: <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net>
References:  <158E6ABD-6BCF-4222-AD59-9B43FE6832D5@zog.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Hi there,

I may have found a clue on this in case anyone's interested:

the FreeBSD box runs on an Intel Atom 230 64-bit CPU

I did more digging and found this:

http://www.freebsd.org/projects/bigdisk/index.html

"An audit is needed to make sure that all reported fields are 64-bit  
clean. There are reports with certain fields being incorrect or  
negative with NFS volumes, which could either be an NFS or df problem."

Not sure where to go now, as the last entry in that project is dated  
2005 -- again, any tips welcome.

-John

On 3 Feb 2009, at 19:21, John Morgan Salomon wrote:

> Hi there,
>
> I'm facing an odd problem with an NFSv2 mount.  I'm using userland  
> nfsd from a Buffalo TeraStation Pro v1 NAS, running PPC Linux 2.4.20.
>
> root@LEVIATHAN:~# uname -a
> Linux LEVIATHAN 2.4.20_mvl31-ppc_terastation #3 Tue Jul 18 09:29:11  
> JST 2006 ppc GNU/Linux
>
> I am sharing the following filesystem:
>
> root@LEVIATHAN:~# df -k
> Filesystem           1K-blocks      Used Available Use% Mounted on
> <local filesystems>
> /dev/md1             1755708928 979032844 776676084  56% /mnt/array1
>
> /etc/exports looks as follows:
> /mnt/array1/data 192.168.2.0/255.255.255.0(rw,sync,insecure)
>
> Mounting this on my Macbook Pro:
>
> Fluffy:~ root# mount_nfs 192.168.2.11:/mnt/array1/data /mnt
>
> Fluffy:~ root# df -k
> Filesystem                    1024-blocks      Used Available  
> Capacity  Mounted on
> <local filesystems>
> 192.168.2.11:/mnt/array1/data  1755708928 979032844 776676084     
> 56%    /mnt
>
> So far, so good...
>
> Mounting this on a FreeBSD 7.1 client:
>
> behemoth# mount /data
> behemoth# df -k
> Filesystem                    1024-blocks        Used     Avail  
> Capacity  Mounted on
> <local filesystems>
> 192.168.2.11:/mnt/array1/data  -391774720 -1168450804 776676084    
> 298%    /data
>
> Here is my fstab:
>
> 192.168.2.11:/mnt/array1/data   /data   nfs     rw      0       0
>
> Woo.  298%!  That's a record, even for me.
>
> I've tried mount_nfs with -2, -T, and I can't think of anything  
> else.  There are no telling log messages, either on the NAS or on  
> the FreeBSD box.
>
> behemoth# uname -a
> FreeBSD behemoth 7.1-RELEASE-p2 FreeBSD 7.1-RELEASE-p2 #2: Sat Jan  
> 31 20:13:15 CET 2009     root@behemoth:/usr/obj/usr/src/sys/ 
> BEHEMOTH  i386
>
> Any ideas?  It's causing various php scripts that need an accurate  
> filesystem size to puke all over the place. Help!
>
> Thanks much for any thoughts,
>
> -John
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org 
> "




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?ECF42325-F49A-4C4F-9C1C-F5B00A78BC73>