Date: Wed, 02 May 2007 11:21:32 -0700 From: John Clark <jclark@metricsystems.com> To: Eric Anderson <anderson@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: NFS problem Message-ID: <4638D6AC.9070800@metricsystems.com> In-Reply-To: <4638D164.7020304@freebsd.org> References: <4638C84E.2000704@metricsystems.com> <4638C98F.3070607@mac.com> <4638CE63.50209@metricsystems.com> <4638D164.7020304@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Eric Anderson schrieb: > On 05/02/07 12:46, John Clark wrote: >> Chuck Swiger schrieb: >>> John Clark wrote: >>>> I am copying a 'disk image' to an NFS mounted volume. >>>> >>>> I'm using: >>>> >>>> dd if=/dev/ad0 of=Disk.img >>>> >>>> After dd completes the number of blocks indicated is what the raw >>>> disk device should be. However, when I look at the NFS mounted >>>> image, the file size is anything but the 80 GB size it should be. > > Do something like this instead: > > dd if=/dev/ad0 count=10 bs=1m| md5 > dd if=Disk.img count=10 bs=1m| md5 > > Then you can do: > dd if=/dev/ad0 count=10 bs=1m skip=10 | md5 > dd if=Disk.img count=10 bs=1m skip=10 | md5 > to move through the file.. > > What are your NFS client mount options, and what OS is on the server? The NFS server is a Linux system. I'd have to check exactly, but the kernel is within the last couple of months stable version, and the NFS daemons are 'recent' vintage... I have not used any 'options' in my mount command: mount 192.168.0.253:/home/exports/CVSBUILD /mnt Is the approximate command line. John Clark.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4638D6AC.9070800>