|
Author: aaron
Date: 16-12-01 06:55
Hi
Is there a command to run a low level fsck ?
I have a block error thats been happening for a while on one of my drives. I was thinking maybee a low level fsck could possibly fix the block error.
And Should I drop into shingle user mode for this command, or would it be ok in multi user mode ?
I did a man fsck, but not sure what to use.
Best regards
aaron
|
|
Reply To This Message
|
|
Author: Philip
Date: 22-12-01 07:34
if you reboot fsck should get run automatically and will probably fix the error...
fsck is something you do want to run in single user mode... or at the least on an unmounted partition.
|
|
Reply To This Message
|
|
Author: daniel.schrock
Date: 24-12-01 02:24
To force fsck to fix errors everytime, or if the box is remote or headless without a console, add the following to /etc/rc.conf:
fsck_y_enable="YES"
|
|
Reply To This Message
|
|
Author: aaron
Date: 25-12-01 08:53
Hi
Thanks for the reply's.
Rebooting the system did not work, because when the system goes through the start up proccess, fsck does not check files systems that have been marked as clean.
What I did:
Booted into single user mode:
fsck -f /filesystem
This will:
Force fsck to check `clean' filesystems when preening.
fsck -y to me is a little risky, because it
Assumes a yes response to all questions regarding the action.
But Again thanks for your posting..
Best Regards
Aaron
|
|
Reply To This Message
|
|