From owner-freebsd-fs@FreeBSD.ORG Fri Oct 25 20:48:43 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7D568B38 for ; Fri, 25 Oct 2013 20:48:43 +0000 (UTC) (envelope-from kpaasial@gmail.com) Received: from mail-qe0-x235.google.com (mail-qe0-x235.google.com [IPv6:2607:f8b0:400d:c02::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 3F3AA202A for ; Fri, 25 Oct 2013 20:48:43 +0000 (UTC) Received: by mail-qe0-f53.google.com with SMTP id cy11so2697298qeb.26 for ; Fri, 25 Oct 2013 13:48:42 -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 :cc:content-type; bh=GkXZUxYB0gdN173OihEWI6SBwZKXREshB6MNC+vKfuU=; b=S0Q/ncMhlHEmjE4U9OW7L671lY+A8eDiDlMKfFtUclq/pcFoByqcMC3kKm227PCCYP QnM1FMUdgJSVMz9qgNlZTZTX9mYjg5Ya3+LC5Sp5l1Pq3ABZdZeJQlw85rAKJQE4Lkly WaiV5itQQUpuAMov35QJjQwRG8StKUfsftXPSJ785MoE7za/e5pZXt//zbAvuQHi3Oq2 5zAtsf+3eOTuP12b/IhobeW7qLRIN1S04D5gOG81oBrFBBHd+CZDXwONEGx2pUG5wD8U 0sOnxqThdpZIsyH5+clDqzWMocQThaKkpXnMgfNEg5wk7pxW6YAr4K/YSp3flZ//LnD2 ElnQ== MIME-Version: 1.0 X-Received: by 10.224.121.6 with SMTP id f6mr14304940qar.64.1382734122445; Fri, 25 Oct 2013 13:48:42 -0700 (PDT) Received: by 10.96.180.233 with HTTP; Fri, 25 Oct 2013 13:48:42 -0700 (PDT) In-Reply-To: <20131025103746.g0u1s5xlgc0k8c48@imp.redlamb.net> References: <20131025103746.g0u1s5xlgc0k8c48@imp.redlamb.net> Date: Fri, 25 Oct 2013 23:48:42 +0300 Message-ID: Subject: Re: missing files on ext2fs with 9-STABLE From: Kimmo Paasiala To: Pete Erickson Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Filesystems X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Oct 2013 20:48:43 -0000 On Fri, Oct 25, 2013 at 6:37 PM, Pete Erickson wrote: > I'm missing files on an ext2 filesystem in 9-STABLE. However, remounting the > drive in Ubuntu (12.04.3) the files are back. The missing files range from a > few KB to several GB so it's not based on the file sizes. While I've found > an ugly way past this, I'm trying to understand why I'm having the problem > in the first place. > > The ext2 fs was created in Ubuntu (12.04.3) in order to backup approx 1.4 TB > from a hardware raid ext4 fs and copy it back once I repurpose the drives as > ZFS in FreeBSD. The ext2 fs is on a gpt-labeled 3.0TB drive and I used rsync > to copy the data. Unfortunately, I'm not getting any error messages so I > have nothing to provide. > > FYI, my temp fix is mounting the raw ext2 fs to a ubuntu VM in VirtualBox > and then rsync'ing it the ZFS fs via the virtual network. While it's ugly, > it appears that it'll work. However, I'm hesitant to destroy the ext4 fs > until I'm sure that I have the data backed up. > > Any help understanding this would be appreciated. Is the filesystem larger than 2TB? I recall that the ext2 driver in FreeBSD has a severe limitation with the filesystem size that limits the usable filesystems to 2TBs, anything larger will give undefined results when used. -Kimmo