From owner-freebsd-questions@FreeBSD.ORG Thu Apr 19 12:21:50 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47D7F106566B for ; Thu, 19 Apr 2012 12:21:50 +0000 (UTC) (envelope-from xavierfreebsdquestions@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id F32D88FC18 for ; Thu, 19 Apr 2012 12:21:49 +0000 (UTC) Received: by yenl9 with SMTP id l9so5194192yen.13 for ; Thu, 19 Apr 2012 05:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2YiAdAEEMxmHxOloWYgVPc2/G5tqi4SMa4vPF+t5Viw=; b=cr4YjziXEj81gwobE5I2MhXlF8drlNiq7yJxA+blvEYYc3p9Ql2d7cAXfktqJJeJ8b 57acX+sYiyth8tE3SIFuFwxzltbUAPOXW+dViHDOF5u3ZuXIWfEFcLLFD+5Y9PtDz+3L bUM62s7Ql/qLxWY/o9ON0WJHgQUwFSWBY6RO7Cf6doud5qNRqhENqNF6cGyDb9YM6YHx CC+CvrSRHJwHB6rP5BhZv0ejUGNmvS4QXYT+C+hGSEjFoFNzsrFO53UeQVCnD+zhG48L SOVB+DkGGuthnKubgXBhEmhpi4f2WRF66RwDfNQx8QdYUFCExvLleVV6b+An7FUacfQt OL4Q== MIME-Version: 1.0 Received: by 10.236.200.232 with SMTP id z68mr669373yhn.80.1334838109338; Thu, 19 Apr 2012 05:21:49 -0700 (PDT) Received: by 10.147.35.3 with HTTP; Thu, 19 Apr 2012 05:21:48 -0700 (PDT) In-Reply-To: <201204181213.q3ICCfuO051318@fire.js.berklix.net> References: <201204181213.q3ICCfuO051318@fire.js.berklix.net> Date: Thu, 19 Apr 2012 14:21:48 +0200 Message-ID: From: Xavier To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Can FreeBSD 9.0-RELEASE mount Ext3 file system ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Apr 2012 12:21:50 -0000 On Wed, Apr 18, 2012 at 02:12:41PM +0200, Julian H. Stacey wrote: Hi Julian, > Hi, > Reference: > > From: Xavier > > Date: Sat, 7 Apr 2012 22:25:28 +0200 > > Message-id: > > Xavier wrote: > > On Sat, Apr 07, 2012 at 04:15:41PM -0400, illoai@gmail.com wrote: > > > > Hi, > > > > > On 7 April 2012 13:53, Xavier wrote: > > > > Hi to all, > > > > > > > > I have: > > > > > > > > casa# disktype /dev/da1 > > > > > > > > --- /dev/da1 > > > > Character device, size 3.771 GiB (4048551936 bytes) > > > > FreeBSD boot loader (i386 boot2/BTX 1.02 at sector 2) > > > > BSD disklabel (at sector 1), 8 partitions > > > > Partition c: 2.145 GiB (2302711808 bytes, 4497484 sectors from 0) > > > > Type 0 (Unused) > > > > DOS/MBR partition map > > > > Partition 1: 3.547 GiB (3808272384 bytes, 7438032 sectors from 63) > > > > Type 0x83 (Linux) > > > > Ext3 file system > > > > UUID D1A7E6D6-3A34-4864-B6E8-C4DAA34AD776 (DCE, v4) > > > > Last mounted at "/" > > > > Volume size 3.547 GiB (3808272384 bytes, 929754 blocks of 4 KiB) > > > > Partition 2: 227.5 MiB (238533120 bytes, 465885 sectors from 7438095) > > > > Type 0x05 (Extended) > > > > Partition 5: 227.5 MiB (238500864 bytes, 465822 sectors from 7438095+63) > > > > Type 0x82 (Linux swap / Solaris) > > > > Linux swap, version 2, subversion 1, 4 KiB pages, little-endian > > > > Swap size 227.4 MiB (238489600 bytes, 58225 pages of 4 KiB) > > > > > > > > I'm running from FreeBSD 9.0-RELEASE > > > > > > > > I try: > > > > > > > > casa# mount -t ext2fs /dev/da1a /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > > > mount: /dev/da1a : Invalid argument > > > > > > > > How can I mount it ? > > > > > > mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > > perhaps? Note-----------^^ > > > > > > If that still doesn't work, try adding -r in there (as ext2fs might not > > > support r/w in your configuration). > > > > > > > casa# mount -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > mount: /dev/da1s1 : No such file or directory > > casa# > > casa# mount -r -t ext2fs /dev/da1s1 /mnt/JetFlash\ Transcend\ 4GB\ 1100/ > > mount: /dev/da1s1 : No such file or directory > > casa# > > > > You have more ideas ? > > With 9.0-RELEASE generic kernel: > man mount > ... > man 2 nmount > The type argument names the file system. The types of file > systems known to the system can be obtained with lsvfs(1). > lsvfs > Filesystem Refs Flags > -------------------------------- ----- --------------- > devfs 1 synthetic > msdosfs 0 > nfs 0 network > procfs 0 synthetic > cd9660 0 read-only > ufs 1 > cd /boot/kernel ; find . -name \*ext\* -print > kldload /boot/kernel/ext2fs.ko ; lsvfs > # Adds > ext2fs 0 > man ext2fs > To link into the kernel: > options EXT2FS > To load as a kernel loadable module: > kldload ext2fs > No mention of ext3 there, nor from find (above). > > .. so you May be out of luck .. > > Divide the problem. Reduce simulltaneous testing of backslash & ext3. > Delete all backslash junk during test. Try > su ; mkdir /mnt/test ; mount -r -t ext2fs /dev/da1a /mnt/test I try: casa# kldstat | grep ext 10 1 0xc93b9000 10000 ext2fs.ko casa% lsvfs | grep ext ext2fs 0 casa# disktype /dev/da0 --- /dev/da0 Character device, size 14.92 GiB (16025387008 bytes) DOS/MBR partition map Partition 1: 13.93 GiB (14961082368 bytes, 29220864 sectors from 2048, bootable) Type 0x83 (Linux) Ext3 file system UUID DF70360E-9DD3-436D-9627-A614FB0FD24E (DCE, v4) Last mounted at "/" Volume size 13.93 GiB (14961082368 bytes, 3652608 blocks of 4 KiB) Partition 2: 0.988 GiB (1061159936 bytes, 2072578 sectors from 29224958) Type 0x05 (Extended) Partition 5: 1012 MiB (1061158912 bytes, 2072576 sectors from 29224958+2) Type 0x82 (Linux swap / Solaris) casa% ls /dev/da0* /dev/da0 /dev/da0s1 /dev/da0s2 /dev/da0s5 How can get the correct da0 node for your mount(8) command ? Thanks, see you.