Ticket #29 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 3 years ago

fsck.xfs - do nothing, successfully

Reported by: Tommaso Pasini <tommaso.pasini@gmail.com> Owned by: roy
Priority: trivial Milestone:
Component: init.d scripts Version:
Keywords: Cc:

Description

There should be a check inside the init scripts to avoid fsck on XFS partitions:

1) XFS automatically does a consistency check every time it's mounted

from my dmesg:
[...]
XFS mounting filesystem sda7
Ending clean XFS mount for filesystem: sda7
[...]

2) fsck on XFS filesystems, as man reports, does "nothing, successfully" :-)

If a check is really needed the script should call xfs_check.

Change History

comment:148 Changed 3 years ago by roy

OpenRC doesn't do anything specific with xfs partitions - and it shouldn't have to either.
Instead you should mark them with a passno of 0 in /etc/fstab to instruct the fsck program not to check them by default.

You may also wish to check Gentoo bug  http://bugs.gentoo.org/show_bug.cgi?id=209296

comment:149 Changed 3 years ago by Tommaso Pasini <tommaso.pasini@gmail.com>

Changing fstab did the trick.

comment:150 Changed 3 years ago by roy

  • Status changed from new to resolved
  • Resolution set to wontfix

Great!

Note: See TracTickets for help on using tickets.