From owner-freebsd-questions@FreeBSD.ORG Thu Sep 9 18:26:11 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CD5616A4CE for ; Thu, 9 Sep 2004 18:26:11 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 046D143D2D for ; Thu, 9 Sep 2004 18:26:11 +0000 (GMT) (envelope-from shantanoo@gmail.com) Received: by mproxy.gmail.com with SMTP id 79so104317rnk for ; Thu, 09 Sep 2004 11:26:08 -0700 (PDT) Received: by 10.38.82.35 with SMTP id f35mr524421rnb; Thu, 09 Sep 2004 11:26:08 -0700 (PDT) Received: by 10.38.171.78 with HTTP; Thu, 9 Sep 2004 11:26:08 -0700 (PDT) Message-ID: <23017470040909112645db6dc@mail.gmail.com> Date: Thu, 9 Sep 2004 23:56:08 +0530 From: Shantanoo To: Toomas Aas In-Reply-To: <200409091229.i89CTZMx006504@lv.raad.tartu.ee> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200409091229.i89CTZMx006504@lv.raad.tartu.ee> cc: freebsd-questions@freebsd.org Subject: Re: Mounting ext3 filesystem from USB keydrive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Shantanoo List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Sep 2004 18:26:11 -0000 On Thu, 9 Sep 2004 15:29:08 +0300, Toomas Aas wrote: > Hello! > > I have an USB keydrive with ext3 filesystem on it. I'm trying to mount > this filesystem on FreeBSD 4.9, but I'm not succeeding. I've seen it written > in several places that ext3 filesystem can be mounted as ext2, but... > > When I plug in the drive, the following appears to /var/log/messages: > > Sep 9 14:55:44 box /kernel: umass0: USB Solid state disk, rev 1.10/1.00, addr 2 > Sep 9 14:55:55 box /kernel: da3 at umass-sim0 bus 0 target 0 lun 0 > Sep 9 14:55:55 box /kernel: da3: Removable > Direct Access SCSI-2 device > Sep 9 14:55:55 box /kernel: da3: 650KB/s transfers > Sep 9 14:55:55 box /kernel: da3: 63MB (129024 512 byte sectors: 64H 32S/T 63C) > > # ls -l /dev/da3 > > crw-r----- 2 root operator 13, 0x0001001a Sep 9 14:53 /dev/da3 > crw-r----- 2 root operator 13, 24 Sep 9 14:53 /dev/da3a > crw-r----- 2 root operator 13, 25 Sep 9 14:53 /dev/da3b > crw-r----- 2 root operator 13, 26 Sep 9 14:53 /dev/da3c > crw-r----- 2 root operator 13, 27 Sep 9 14:53 /dev/da3d > crw-r----- 2 root operator 13, 28 Sep 9 14:53 /dev/da3e > crw-r----- 2 root operator 13, 29 Sep 9 14:53 /dev/da3f > crw-r----- 2 root operator 13, 30 Sep 9 14:53 /dev/da3g > crw-r----- 2 root operator 13, 31 Sep 9 14:53 /dev/da3h > crw-r----- 2 root operator 13, 0x0002001a Sep 9 14:53 /dev/da3s1 > crw-r----- 2 root operator 13, 0x00020018 Sep 9 14:53 /dev/da3s1a > crw-r----- 2 root operator 13, 0x00020019 Sep 9 14:53 /dev/da3s1b > crw-r----- 2 root operator 13, 0x0002001a Sep 9 14:53 /dev/da3s1c > crw-r----- 2 root operator 13, 0x0002001b Sep 9 14:53 /dev/da3s1d > crw-r----- 2 root operator 13, 0x0002001c Sep 9 14:53 /dev/da3s1e > crw-r----- 2 root operator 13, 0x0002001d Sep 9 14:53 /dev/da3s1f > crw-r----- 2 root operator 13, 0x0002001e Sep 9 14:53 /dev/da3s1g > crw-r----- 2 root operator 13, 0x0002001f Sep 9 14:53 /dev/da3s1h > crw-r----- 2 root operator 13, 0x0003001a Sep 9 14:53 /dev/da3s2 > crw-r----- 2 root operator 13, 0x0004001a Sep 9 14:53 /dev/da3s3 > crw-r----- 2 root operator 13, 0x0005001a Sep 9 14:53 /dev/da3s4 > > # mount -t ext2fs /dev/da3s1c /mnt/usb > ext2fs: /dev/da3s1c: Device not configured > > # mount -t ext2fs /dev/da3s1c /mnt/usb > ext2fs: /dev/da3: Invalid argument > > The last command causes this to be logged to /var/log/messages: > Sep 9 14:57:24 aidamees /kernel: WARNING: mount of da3 denied due to unsupported > optional features > > #file -s /dev/da3 > /dev/da3: Linux rev 1.0 ext3 filesystem data (needs journal recovery) > > Is my inability to mount caused by this "(needs journal recovery)" or is there > something else going on? I did cleanly shut down the Linux box where this > partition was written, before removing the USB device. > -- > Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ > * Everyone has a photographic memory. Some don't have film. > You need to recompile the kernel with following line: options EXT2FS Regards, Shantanoo