xfs
[Top] [All Lists]

[patch] Re: Label based mounts with fsck

To: Roger Moore <rwmoore@xxxxxxxx>
Subject: [patch] Re: Label based mounts with fsck
From: Nathan Scott <nathans@xxxxxxx>
Date: Sat, 30 Jun 2001 07:53:37 +1000
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <Pine.LNX.4.33.0106281638040.17083-100000@xxxxxxxxxxxxxxxxxxxxxxx>; from rwmoore@xxxxxxxx on Thu, Jun 28, 2001 at 04:46:02PM -0500
References: <Pine.LNX.4.33.0106281638040.17083-100000@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
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

Attachment: fsck.patch
Description: Text document

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