View previous topic :: View next topic |
Author |
Message |
Wallsandfences Guru
Joined: 29 Mar 2010 Posts: 378
|
Posted: Thu Jan 18, 2018 3:14 pm Post subject: What do we use as /forcefsck nowadays? |
|
|
Hi,
I'm having some strange behavoiur with the root file system and want to run fsck on /dev/sda2
however. didn't work. How am I supposed to check the / - file system? I'm on systemd, and Code: | uname -ra
Linux eg-server 4.14.14-gentoo #1 SMP Thu Jan 18 10:41:02 CET 2018 x86_64 AMD Athlon(tm) II X4 630 Processor AuthenticAMD GNU/Linux
| in case it matters
EDIT: some different tool perhaps, since
Code: | tune2fs -l /dev/sda2 | grep Last\ c
Last checked: Sun Dec 30 00:55:30 2012
| ? |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Thu Jan 18, 2018 3:41 pm Post subject: |
|
|
Try adding the fsck.mode=force boot parameter to the kernel. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3135
|
Posted: Thu Jan 18, 2018 9:22 pm Post subject: |
|
|
How 'bout using good, old fashioned
shutdown -r -F now
|
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
|