Mounting ext3 under Freebsd

Aditya Sarawgi sarawgi.aditya at gmail.com
Tue Jun 9 15:35:09 UTC 2009


On Mon, Jun 08, 2009 at 03:18:33PM -0400, Michael Starling wrote:
> 
> Hello...This problem is driving me crazy as I thought it was fixed with the release of 7.2. I can mount the ext3 filesystem from a previous linux drive
> but I can't access the data. it was my understanding that a patch has been incorporated into the 7.2 release ..Any ides as to why I might still be seeing this issue?.Thanks
> 
> 
> 
> uname -a 
> FreeBSD BSD 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May  1 08:49:13 UTC 2009
> 
> OK..So here's what's happening after shutting down the linux box and placing the disk inside the BSD box.
> 
> 
> 
> tune2fs -l /dev/ad6s1
> 
> tune2fs 1.41.4 (27-Jan-2009)
> 
> Filesystem volume name:   <none>
> 
> Last mounted on:          <not available>
> 
> Filesystem UUID:          fbb12204-b8fc-4f29-aab8-d2d9dd1ccbce
> 
> Filesystem magic number:  0xEF53
> 
> Filesystem revision #:    1 (dynamic)
> 
> Filesystem features:      has_journal ext_attr resize_inode dir_index filetype sparse_super large_file
> 
> Filesystem flags:         signed_directory_hash 
> 
> Default mount options:    (none)
> 
> Filesystem state:         clean
> 
> Errors behavior:          Continue
> 
> Filesystem OS type:       Linux
> 
> Inode count:              15269888
> 
> Block count:              61049000
> 
> Reserved block count:     3052450
> 
> Free blocks:              36030598
> 
> Free inodes:              15269372
> 
> First block:              0
> 
> Block size:               4096
> 
> Fragment size:            4096
> 
> Reserved GDT blocks:      1009
> 
> Blocks per group:         32768
> 
> Fragments per group:      32768
> 
> Inodes per group:         8192
> 
> Inode blocks per group:   512
> 
> Filesystem created:       Fri May 29 10:44:59 2009
> 
> Last mount time:          Mon Jun  8 09:57:59 2009
> 
> Last write time:          Mon Jun  8 13:33:00 2009
> 
> Mount count:              5
> 
> Maximum mount count:      21
> 
> Last checked:             Fri May 29 10:44:59 2009
> 
> Check interval:           15552000 (6 months)
> 
> Next check after:         Wed Nov 25 09:44:59 2009
> 
> Reserved blocks uid:      0 (user root)
> 
> Reserved blocks gid:      0 (group wheel)
> 
> First inode:              11
> 
> Inode size:	          256

The 7.2 Release doesn't support inode size other than 128 but this problem is fixed in 8.0. If you want support for inode size other than 128 in 7.2 
you can use the following patch http://pflog.net/~floyd/ext2fs.diff. 

Cheers,
Aditya Sarawgi 


More information about the freebsd-fs mailing list