I'm running OpenVZ, and occasionally need to power cycle my host. Of course, it has to fsck every time it comes back up (ext4) Is there a way to run OpenVZ on a filesystem that doesn't have to fsck in order to reduce downtime? (AFAIK xfs is not supported yet) Thanks!
Asked
Active
Viewed 244 times
-1
-
Are you power cycling it without shutting down the OS, letting the filesystem unmount cleanly? It shouldn't be checking every boot if it's getting clean shutdowns. – Shane Madden Mar 29 '12 at 17:48
-
Sometimes machines will just lock up, it's unavoidable. – cat pants Mar 29 '12 at 18:25
-
So you need a filesystem that writes through? In every other constellation your FS had to be checkd. – Nils Mar 29 '12 at 20:38
-
I need a filesystem that doesn't need to fsck, or that can fsck while mounted *and* works with OpenVZ. – cat pants Mar 29 '12 at 22:16
-
Machines hardly ever lock up. Locking up is frequently avoidable. – Zoredache Apr 18 '12 at 22:56
-
"Machines hardly ever lock up. Locking up is frequently avoidable." Well...maybe but that is not the scenario I am working with at the moment. – cat pants Apr 26 '12 at 19:32
-
Also, after a certain number of days a fsck gets forced. – cat pants Apr 30 '12 at 21:34
-
Honestly, I am still looking for an answer here. Does anyone have any ideas? – cat pants Jul 10 '12 at 17:23
-
Still wondering about this... – cat pants Dec 01 '12 at 01:15
1 Answers
0
even tough it's not really recomanded if you have several partitions , you could just unmount them and mount again after restart - this will prevent fsck to be used . This could bring some issues after a long time :) .
Alex H

Alex H
- 1,814
- 11
- 18