regarding the inode64 mount option

Michael Weissenbacher mw at dermichi.com
Tue Jun 2 05:29:13 CDT 2009


Hi Eric + Christoph!
> http://sandeen.net/wordpress/?p=9
This is a scary list indeed! Does this apply only to Fedora on i686 or also to x86_64?

In general, does the inode64 option make sense at all on a partition that is <1TB in size?

> Actually they should still be accessible, we just won't create new
> inodes not addressable by 32bit inode numbers.
Well, in my tests it didn't work. I tried this is on fedora core 6 with vanilla kernel 2.6.28.10 x86_64. See here:
(when mounted without inode64)
[root at mojave ~]# ls /backup/ -lha
ls: cannot access /backup/mojave_gentoo_backup: Invalid argument
total 8.0K
drwxr-xr-x  6 root         root   99 2009-05-25 18:07 .
drwxr-xr-x 26 root         root 4.0K 2009-05-28 17:38 ..
drwxr-xr-x  4 amandabackup disk   51 2009-05-07 15:46 amanda_holdings
??????????  ? ?            ?       ?                ? mojave_gentoo_backup
drwx--x--x  4 root         root   41 2009-04-29 11:57 servers
drwxrwxrwt  2 root         root    6 2009-06-02 10:38 tmp
[root at mojave ~]# ls /backup/mojave_gentoo_backup -lha
ls: cannot access /backup/mojave_gentoo_backup: Invalid argument
[root at mojave ~]#

(when mounted with inode64)
[root at mojave ~]# ls /backup/ -lha
total 12K
drwxr-xr-x  6 root         root   99 2009-05-25 18:07 .
drwxr-xr-x 26 root         root 4.0K 2009-05-28 17:38 ..
drwxr-xr-x  4 amandabackup disk   51 2009-05-07 15:46 amanda_holdings
drwxr-xr-x 23 root         root 4.0K 2009-05-05 10:53 mojave_gentoo_backup
drwx--x--x  4 root         root   41 2009-04-29 11:57 servers
drwxrwxrwt  2 root         root    6 2009-06-02 10:38 tmp
[root at mojave ~]# ls /backup/mojave_gentoo_backup/ -lha
total 27M
drwxr-xr-x 23 root root 4.0K 2009-05-05 10:53 .
drwxr-xr-x  6 root root   99 2009-05-25 18:07 ..
drwxr-xr-x  2 root root   10 2009-05-05 11:53 backup
(snipped)

The filesystem is consistent - xfs_check (3.0.1) doesn't report any problems.

thanks,
Michael




More information about the xfs mailing list