problems getting ufs_copy working

Hidetoshi Shimokawa simokawa at sat.t.u-tokyo.ac.jp
Tue Jul 8 06:15:31 PDT 2003


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 at sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html



More information about the freebsd-firewire mailing list