missing files on ext2fs with 9-STABLE

redlamb at redlamb.net redlamb at redlamb.net
Fri Oct 25 20:55:14 UTC 2013


On Fri, Oct 25, 2013 at 11:48:42PM +0300, Kimmo Paasiala wrote:
> On Fri, Oct 25, 2013 at 6:37 PM, Pete Erickson <redlamb at redlamb.net> 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.
> >
> 
> 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.
> 

Yes, the partition is 3TB in size. I'll try and recreate the ext2
filesystem to be less than 2TB and see if that works. It can't be any
slower then copying the data using a VM. Thanks for the response.



More information about the freebsd-fs mailing list