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?
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.