> Hi all -
> I just signed on after attending an SGI event here in Cleveland,
> Ohio (USA). I've just compiled my 2.3.99 kernel and have pulled the files
> for XFS - is there a how-to yet? ;)
>
> Newbie pointers appreciated, I'm combing the tarballs and the
> archives as we speak...
>
> Regards -
> Don
> 3333333333333333333333333333333333333333333
> Donald R. Vanco RHCE Voice: 440-498-6793
> Consulting Services FAX: 440-498-5317
> Pioneer-Standard, Inc. pager: 888-773-0845
> 3333333333333333333333333333333333333333333
OK, the tar archives are somewhat out of date - the cvs tree has the
one true code base. But you should be able to do a cvs update on top
of the tar archive.
There are several config options you need to set to get XFS into
the kernel. All options are at the bottom of the filesystems page
in xconfig, you need to turn on XFS - probably as a module,
plus the three page buf options (which we should merge). I
would also select Use PAGEBUF for metadata I/O, and select Native
for the filesystem architecture.
Once you have built your kernel you need to build the xfs commands.
Go into cmd/xfs and type make. You can also do a make install from
this location if you are on the machine where you want the commands.
To make a filesystem you need mkfs_xfs (or mkfs.xfs as it gets installed
as). This has lots of nasty options for various filesystem paramters, but
mkfs.xfs -f /dev/xxx -l size=16000b
is what I use normally, the "-l size=16000b" specifies a log of
16000 blocks which is bigger than the default.
If you have the kernel up and running and all the modules in the
right place then you should be able to mount the filesystem at
this point. (If you used modules then you will need to either load
them by hand via modprobe, or build in the kernel module loader).
Steve
|