[opensuse-factory] Force non-interactive fsck on btrfs / at next reboot
OSS 13.2 tumbleweed with kernel 4.1.1-1.ga46abf6-desktop and btrfs-progs v4.1+20150622. Storage is all one big btrfs /. How can one setup the system to run a fsck, and non-interactively repair any errors, at the next reboot? All I can find on The Net is the touch /forcefsck stuff which does not seem to work at all. Thanks in advance for any help, -- --Moby -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-04 05:03, Moby wrote:
I think that the best alternative is to use the xfce rescue cd, boot it, and repair from there. With the huge advantage that the checked system is not mounted. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWXuEwACgkQja8UbcUWM1wyeQEAnyKDYMMB1JdZnsuJ0VUVoFDF KLyZsq5gI8biNAwQzacA/iqoa9dsxwHwZoY16N1eKKPVWZRJjYU/9/nZFh/DSLyK =zNj7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/04/2015 08:46 AM, Andrei Borzenkov wrote:
Thanks Carlos and Andrei - looks like I will have to go the interactive route as you suggest. -- --Moby -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2015-07-04 15:46, Andrei Borzenkov wrote:
Please look at fsck.btrfs. It does nothing.
cer@minas-tirith:~> cat /usr/sbin/fsck.btrfs #!/bin/sh exit 0 cer@minas-tirith:~> That's on my 13.1. I thought that factory had one that did something :-o - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iF4EAREIAAYFAlWYGEkACgkQja8UbcUWM1x7aAD5AfSJf1Oa7wY3RK26ObMN6j9b /yWB7s2C2FLGI/eYJb4A/jvkailXLzDMHj5ELlBkHGUI1b/C31tpi6/AqWIs0zjB =yPi2 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Sat, Jul 4, 2015 at 2:30 PM, Carlos E. R. <robin.listas@telefonica.net> wrote:
That's on my 13.1. I thought that factory had one that did something :-o
btrfs-check(8) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Carlos E. R.
-
Cristian Rodríguez
-
Moby