From owner-freebsd-questions@FreeBSD.ORG Wed Dec 3 22:04:45 2008 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 122B4106564A for ; Wed, 3 Dec 2008 22:04:45 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from mail-gx0-f19.google.com (mail-gx0-f19.google.com [209.85.217.19]) by mx1.freebsd.org (Postfix) with ESMTP id 8C5998FC0A for ; Wed, 3 Dec 2008 22:04:44 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by gxk12 with SMTP id 12so2623346gxk.19 for ; Wed, 03 Dec 2008 14:04:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3J3+y/d2P7QPoE2Y6n6YliE8i2aqOdche9/j3yFCLL0=; b=shOH41j5PJCjmG6vrmNynuZQxTQy3aB92POmTxVWKoFk6s0xbXodoPIb2z07v6mHOK 5wfW9oYc6ir+YdbSf/Hv/sjZbCExQYJbRvnjPR5EdSaxH2wAvLPm8yCBuu4k9fmQE4AD v+T7PEp+0ADMKBAuLtsOIz44CwjfTOfsQHgj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:to:subject:cc:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:references; b=Y8vwpyOFyJitPoeDfn9oWuhKlujzUVPhT2G8o8AC7zEtE7hrwDypNA3/Vg1Y8U+VFM SiConS1Q8E6obgMTN0xi170LFkdhNIyh8ouzFuRCWRUBN81CAT5A3+hsu7Mw6oyig0mG yHB1ZTmwrq/RyyhWcZVHikFQka545v56q9B6I= Received: by 10.150.202.8 with SMTP id z8mr5470987ybf.109.1228341715960; Wed, 03 Dec 2008 14:01:55 -0800 (PST) Received: by 10.150.123.1 with HTTP; Wed, 3 Dec 2008 14:01:55 -0800 (PST) Message-ID: <8cb6106e0812031401p45eb3f4di51b71e48d8819b@mail.gmail.com> Date: Wed, 3 Dec 2008 17:01:55 -0500 From: "Josh Carroll" To: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" In-Reply-To: <1bd550a00812031338o77f70007lbcc52325c91f5b3b@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> <8cb6106e0812031208k62c0979cjc97dd9fcdeb43b32@mail.gmail.com> <1bd550a00812031338o77f70007lbcc52325c91f5b3b@mail.gmail.com> Cc: FreeBSD Subject: Re: Mounting ext3fs partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2008 22:04:45 -0000 > Hi josh, > > Exactly, it is 256. So according to you, I can't use the mounted > filesystem, right? > > Could you please explain in more detail, what the problem is? > > Thanks in advance. I believe around e2fsprogs version 1.40.5 or so, they changed the default inode size from 128 to 256. The current ext2fs driver in FreeBSD has a hard-coded inode size defined: #define EXT2_INODE_SIZE 128 I have a patch that dynamically determines this size, but I do not yet have a good enough understanding of the ext2/3 spec to decide if the changes I made are sufficient to fix the problem or if there is some risk of breakage because the extra 128 is required for some metadata of some sort. What happened in your case is something I was afraid of and what prompted me to look into a fix in the first place - namely, newer Linux distributions or even file systems created by e2fsprogs from ports in FreeBSD will be unusable with the current ext2fs driver, since it assumes a size of 128. There is some more information here regarding the patch and its current status: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2008-11/msg00421.html I (or even better, someone more knowledgeable about file systems) need to read through the ext2/3 spec and determine if the changes I've made cause any breakage. Thanks, Josh