XFS filesystem, check at boot
hello, I have xfs filesystem at my root, I have debian etch rc3.
if the system shutsdown improperly , it runs fsck.xfs which basically doesnt repair system .So is there a way I can run xfs_repair at boot ? |
You could try getting rid of fsck.xfs and creating a link to xfs_repair named fsck.xfs:
# mv fsck.xfs old.fsck.xfs # ln -s xfs_repair fsck.xfs Now when your system runs "fsck.xfs" it will actually be running xfs_repair. If it doesn't work the way you want, just remove the link and rename old.fsck.xfs to fsck.xfs. |
yes....run a live cd...pclinuxos hopefully has the xfs prog tools on it.
so boot the cd up to normal login and enter root DO not mount your target partition pls then run xfs_check and if errors xfs_repair |
thanks but sometimes, xfs_repair suggests to mount the partition so that the 'meta changes' could be written ,so if link fsck.xfs, it prolly wont do anything either.
Is there no boot programme that can decide if filesysem needs to be mounted or not before starting XFS_repair? and act accordingly? |
All times are GMT -5. The time now is 12:50 AM. |