[Top] [All Lists]

Re: [patch] Re: Label based mounts with fsck

To: Nathan Scott <nathans@xxxxxxx>
Subject: Re: [patch] Re: Label based mounts with fsck
From: Roger Moore <rwmoore@xxxxxxxx>
Date: Tue, 03 Jul 2001 10:28:12 -0500 (CDT)
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20010630075337.A165960@wobbly.melbourne.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
Great - thanks very much. I did upgrade to 1.22 and the patch worked
perfectly. We can now use labels to mount all our volumes which is very
useful for our SCSI machines! I can let you have the patched binary and
source RPMs if you are interested?

Thanks again,


On Sat, 30 Jun 2001, Nathan Scott wrote:

> hi Roger,
> On Thu, Jun 28, 2001 at 04:46:02PM -0500, Roger Moore wrote:
> > Hi,
> >
> > We've just updated our cluster to use XFS and have noticed a problem with
> > using 'LABEL=xxx' in the fstab file.
> >
> > The 'mount' command works fine with XFS labels (once you turn off devfs!).
> > However the problem lies with the fsck command. The RedHat 7.1 system we
> > have runs 'fsck -A...' at boot time which is needed for the remaining ext2
> > partitions. This complains that it cannont find 'LABEL=xxx' for XFS
> > partitions even when we configure /etc/fstab has f_passno=0 for the XFS
> > mounts. Is there a patch out there for fsck to fix this problem?
> >
> could you try the attached patch and let me know how it goes?
> I think we're getting bitten by the use of DEFAULT_FSTYPE (ext2)
> in the fsck_device() routine... this should fix that.
> > We are currently using e2fsprogs-1.21 from RawHide since it is needed for
> > the 2.4.5-0.2.9 RawHide kernel which you have patched.
> >
> the patch is against e2fsprogs-1.22, but this code doesn't seem
> to have changed for awhile and should patch cleanly to 1.21 too.
> if it works, let me know & I'll forward on to Ted.
> thanks.
> --
> Nathan

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