public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] how to control "forcefsck"
@ 2020-12-14  0:56 thelma
  2020-12-14  1:21 ` thelma
  0 siblings, 1 reply; 3+ messages in thread
From: thelma @ 2020-12-14  0:56 UTC (permalink / raw
  To: Gentoo mailing list


After running in "/" directory:
touch forcefsck

The file is gone now, but every time I reboot the system the root
partition goes into force check:

fstab:
/dev/nvme0n1p4  	/		ext4		noatime		0 1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] how to control "forcefsck"
  2020-12-14  0:56 [gentoo-user] how to control "forcefsck" thelma
@ 2020-12-14  1:21 ` thelma
  2020-12-14 12:30   ` Michael
  0 siblings, 1 reply; 3+ messages in thread
From: thelma @ 2020-12-14  1:21 UTC (permalink / raw
  To: Gentoo mailing list

On 12/13/2020 05:56 PM, thelma@sys-concept.com wrote:
> 
> After running in "/" directory:
> touch forcefsck
> 
> The file is gone now, but every time I reboot the system the root
> partition goes into force check:
> 
> fstab:
> /dev/nvme0n1p4  	/		ext4		noatime		0 1
> 

If I'm not mistaken it should be:

tune2fs -c -1 /dev/nvme0n1p4

but why was the setting reset when I run "touch forcefsck"


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] how to control "forcefsck"
  2020-12-14  1:21 ` thelma
@ 2020-12-14 12:30   ` Michael
  0 siblings, 0 replies; 3+ messages in thread
From: Michael @ 2020-12-14 12:30 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 687 bytes --]

On Monday, 14 December 2020 01:21:34 GMT thelma@sys-concept.com wrote:
> On 12/13/2020 05:56 PM, thelma@sys-concept.com wrote:
> > After running in "/" directory:
> > touch forcefsck
> > 
> > The file is gone now, but every time I reboot the system the root
> > partition goes into force check:
> > 
> > fstab:
> > /dev/nvme0n1p4  	/		ext4		noatime		
0 1
> 
> If I'm not mistaken it should be:
> 
> tune2fs -c -1 /dev/nvme0n1p4
> 
> but why was the setting reset when I run "touch forcefsck"

Use 'tune2fs -l /dev/nvme0n1p4' to see what settings the fs superblock 
contains and in particular check the 'Maximum mount count' and 'Check 
interval' values.  These can be set to your liking.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-14 12:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-14  0:56 [gentoo-user] how to control "forcefsck" thelma
2020-12-14  1:21 ` thelma
2020-12-14 12:30   ` Michael

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox