Hi All. I have two running servers (drbd primary, drbd secondary). When there is a problem with one of them we switch to the second one. Currently on the /dev/drbd0 (it has /xxx ext3 filesystem directly on it) we have some filesystem problems (after fsck -n). I would like to correct these errors but the filesystem should be unmounted first (I would like to avoid it if possible). Is there a way to make fsck -a on mounted filesystem for ext3? My setup is: ext3 filesystem (problems) ^ DRBD ^ LVS ^ RAID Any ideas? Best regards, Rafal.
Dennis Jacobfeuerborn
2012-Apr-12 13:17 UTC
[CentOS] FSCK on mounted filesystem (LVM/DRBD)?
On 04/12/2012 09:50 AM, Rafa? Radecki wrote:> Hi All. > > I have two running servers (drbd primary, drbd secondary). When there is a > problem with one of them we switch to the second one. Currently on the > /dev/drbd0 (it has /xxx ext3 filesystem directly on it) we have some > filesystem problems (after fsck -n). I would like to correct these errors > but the filesystem should be unmounted first (I would like to avoid it if > possible). > > Is there a way to make fsck -a on mounted filesystem for ext3? My setup is:No. None of the popular Filesystems support online fsck. Regards, Dennis