Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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!

share|improve this question
    
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
show 4 more comments

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.