From owner-freebsd-firewire@FreeBSD.ORG Tue Jul 8 06:15:31 2003 Return-Path: Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 759CA37B401 for ; Tue, 8 Jul 2003 06:15:31 -0700 (PDT) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12EC14401F for ; Tue, 8 Jul 2003 06:15:29 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id BCAC52180F4 for ; Tue, 8 Jul 2003 22:15:26 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h68DFQBd013900; Tue, 8 Jul 2003 22:15:26 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])3.3.5-GR) with ESMTP id AJF54195; Tue, 8 Jul 2003 22:15:25 +0900 (JST) Date: Tue, 08 Jul 2003 22:15:25 +0900 Message-ID: From: Hidetoshi Shimokawa To: Oliver Hoffmann 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> <200307081354.28017.oliver.hoffmann@uw-service.de> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jul 2003 13:15:31 -0000 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