xfs
[Top] [All Lists]

Re: Root XFS partition

To: Russ Ingram <ringram@xxxxxxxxxxxxxx>
Subject: Re: Root XFS partition
From: Jason Walker <unseen@xxxxxxxxx>
Date: Wed, 3 Jan 2001 00:04:46 -0500 (EST)
Cc: linux-xfs@xxxxxxxxxxx
Comments: SoVerNet Verification (on garnet.sover.net) [192.168.1.3] from pm1a8.stj.sover.net [209.198.94.8] 209.198.94.8 Tue, 2 Jan 2001 23:59:55 -0500 (EST)
In-reply-to: <Pine.LNX.4.21.0101022118510.824-100000@localhost.localdomain>
Sender: owner-linux-xfs@xxxxxxxxxxx
On Tue, 2 Jan 2001, Russ Ingram wrote:

> This is not in direct reference to the Root XFS partition thread,
> but...
> 
> Has anyone got a system running with all XFS filesystems (i.e. /boot /
> /usr ...) and if so is there a HOWTO on how it was done.  If there is
> no HOWTO could someone possibly post an outline of the steps.  I would
> then be happy to write up a HOWTO for someone to post to the
> http://oss.sgi.com/projects/xfs site (or wherever would be most
> apropriate).  I would like to have such a doc for myself and can only
> imagine how much easier it will make it for others who would like to
> create a similar system. 
> 
> Thanx,
> Russ
> 
> Russ Ingram
> Gargoyle Computer Consulting
> (307)760-1317
> www.gargoylecc.com
> 

        I have done such a thing.  It's really not harder than moving to any 
other FS.  I messd up by making XFS a module, so when it came time to mount /, 
it puked. it was a dumb mistake on my part, but I digress...
        Here is the basic outline:

        1: compile in XFS support. you may be able to do less, but I have these 
XFS related options:
        <*> Page Buffer support (EXPERIMENTAL) (required for XFS) 
        <*> SGI XFS filesystem support (EXPERIMENTAL)            
        [ ]   Enable XFS DMAPI (incomplete)        
        [*]   Enable XFS DEBUG mode (optional)     
        [*]   Enable XFS Vnode Tracing (optional)         

        I believe all you *need* is Page Buffer and XFS support. someone 
correct me...the key is to buld them _in_ the kernel, not modules, if you 
intend on mounting / as xfs
        2: compile the XFS userspace tools
        3: make sure it all works on a spare partition
        4: copy all your junk around and make the filesystems. or backup to 
tape and restore onto XFS partitions. or whatever you want. I have the space so 
I prefer playing 'musical partitions' with `cp -av`
        5: I have a ext2 /boot, the rest is all XFS.  note on the FAQ page it 
says you can use a XFS /boot now, I have not tried that yet.
        6: edit /etc/fstab to mount things 'xfs' where you need too.
        7: run lilo
        8: reboot

        That's all there is. it's not complicated, just a little painstaking 
and time consuming ("musical partitions" is responsible for that :) Another 
thing to think about is if you have to have ext2 mounted, as I have /boot, you 
can mount it as ro (readonly) and don't fsck on reboot. then you are safe using 
ext2 on partitons that you only need RO access to. like maybe your MP3 
collection.

        /dev/hda1       /boot   ext2    defaults,ro     0 0

        does it for me. if you have to re-mount do this:

        mount /boot -o rw,remount

        that remounts the partition with rw access. Just a couple tips that 
might help along the way, hope it helps :)
        To everyone doing development on XFS: keep up the good work, things 
work *great* (I'm already on your 2.4pre :)

        RegEx

          


<Prev in Thread] Current Thread [Next in Thread>