Does a filesystem check initiated from /etc/fstab auto-repair?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
We have a Raspberry Pi located at a location where it may experience frequent power loss. I'm trying to make it scan, and repair (if necessary) a filesystem every time it boots up, in case the power loss causes FS corruption. The filesystem in question is ext4, but it is NOT the root filesystem.
It seems that I can do what I want by using tune2fs -c 1 /dev/sdX#
, and setting /etc/fstab's Filesystem Check Order to 2 for that partition. What I'm not sure about is what it does when it detects problems. Does this automatically fix them? Will it stop booting, and wait for someone to confirm that it should fix things?
The Pi is headless - there's no one to confirm anything.
filesystems ext4 fstab
add a comment |Â
up vote
0
down vote
favorite
We have a Raspberry Pi located at a location where it may experience frequent power loss. I'm trying to make it scan, and repair (if necessary) a filesystem every time it boots up, in case the power loss causes FS corruption. The filesystem in question is ext4, but it is NOT the root filesystem.
It seems that I can do what I want by using tune2fs -c 1 /dev/sdX#
, and setting /etc/fstab's Filesystem Check Order to 2 for that partition. What I'm not sure about is what it does when it detects problems. Does this automatically fix them? Will it stop booting, and wait for someone to confirm that it should fix things?
The Pi is headless - there's no one to confirm anything.
filesystems ext4 fstab
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
We have a Raspberry Pi located at a location where it may experience frequent power loss. I'm trying to make it scan, and repair (if necessary) a filesystem every time it boots up, in case the power loss causes FS corruption. The filesystem in question is ext4, but it is NOT the root filesystem.
It seems that I can do what I want by using tune2fs -c 1 /dev/sdX#
, and setting /etc/fstab's Filesystem Check Order to 2 for that partition. What I'm not sure about is what it does when it detects problems. Does this automatically fix them? Will it stop booting, and wait for someone to confirm that it should fix things?
The Pi is headless - there's no one to confirm anything.
filesystems ext4 fstab
We have a Raspberry Pi located at a location where it may experience frequent power loss. I'm trying to make it scan, and repair (if necessary) a filesystem every time it boots up, in case the power loss causes FS corruption. The filesystem in question is ext4, but it is NOT the root filesystem.
It seems that I can do what I want by using tune2fs -c 1 /dev/sdX#
, and setting /etc/fstab's Filesystem Check Order to 2 for that partition. What I'm not sure about is what it does when it detects problems. Does this automatically fix them? Will it stop booting, and wait for someone to confirm that it should fix things?
The Pi is headless - there's no one to confirm anything.
filesystems ext4 fstab
filesystems ext4 fstab
asked 6 mins ago
Tal
619822
619822
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477599%2fdoes-a-filesystem-check-initiated-from-etc-fstab-auto-repair%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password