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.

How do you do a fsck on a simfs filesystem under OpenVZ? You're supposed to not run fsck on a mounted FS. Can you just fsck the image (/vz/private/100 or whatever it's called)?

Sorry I can't tag simfs.

share|improve this question
add comment

1 Answer

up vote 6 down vote accepted

simfs is not an actual filesystem; it's a map to a directory on the host (by default /vz/private/<veid>). To check the filesystem, you have to check the host filesystem from the host, which also means you have to bring down every container on the host. If you believe it's necessary to check the filesystem, schedule a maintenance period and notify all the customers with containers on that host.

share|improve this answer
    
Thanks. I would vote up your answer if I could, but I don't have enough reputation on StackExchange yet - only just signed up here yesterday. –  Rene Aug 29 '12 at 7:13
1  
Welcome to Server Fault. One of the things you should do when you ask a question is to accept the answer that resolves your question. You do this by clicking the outline of the check mark next to the answer you wish to accept. You also gain reputation this way. –  Michael Hampton Aug 29 '12 at 7:15
    
Ah, I didn't know. Done now. Thanks! –  Rene Aug 29 '12 at 7:33
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.