Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jul 2003 22:15:25 +0900
From:      Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
To:        Oliver Hoffmann <oliver.hoffmann@uw-service.de>
Cc:        freebsd-firewire@freebsd.org
Subject:   Re: problems getting ufs_copy working
Message-ID:  <ybs4r1xtb0y.wl@ett.sat.t.u-tokyo.ac.jp>
In-Reply-To: <200307081354.28017.oliver.hoffmann@uw-service.de>
References:  <200307021338.18065.oliver.hoffmann@uw-service.de> <200307071510.51305.oliver.hoffmann@uw-service.de> <ybsy8zatqyd.wl@ett.sat.t.u-tokyo.ac.jp> <200307081354.28017.oliver.hoffmann@uw-service.de>

next in thread | previous in thread | raw e-mail | index | archive | help
At Tue, 8 Jul 2003 13:54:27 +0200,
Oliver Hoffmann wrote:
> > Remove '-a' option which requires VFS_AIO support in kernel.
> > If you are using 5.1 rather than -current, try 'kldload aio'.
> > Unfortunately, VFS_AIO is broken in -current.
> > Latest ufs_copy supports UFS2 too.
> 
> Ok, without -a it works. Furthermore I mounted the md0 device with -t vnode 
> instead of vfs.
Oops, it was a typo, thanks.

> I just loaded "aio" and it works with the "a"-option as well.
> 
> But I'm afraid that the backup of the whole file does not function
> 
> # /sbin/ufs_copy -a /mnt/fw/testfile /dev/ad0s1g
> copying /mnt/fw/testfile to /dev/ad0s1g
> 
> This "copying" takes about one second and hence nothing is there.

Did you have any output other than 'copying..' line?
How about without '-a' option?
I appreciate if you could send me the output of:
# truss /sbin/ufs_copy /mnt/fw/testfile /dev/ad0s1g

/\ Hidetoshi Shimokawa
\/  simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ybs4r1xtb0y.wl>