OpenVZ Forum

Home » Mailing lists » Users » Changing files during migration
Changing files during migration [message #13669] Fri, 01 June 2007 12:47 Go to previous message
Jun OKAJIMA is currently offline  Jun OKAJIMA
Messages: 30
Registered: March 2006

If I change/modifi/delete opened files during migration,
what happens?

For example....

1. I run a mail daemon ( like qmail or sendmail) in a VE.
2. Freeze the VE and create a suspend image.
In this moment, the daemon opens /var/spool/mail/* files.
3. Delete(or modify) /var/spool/mail/* stuff.
Opened files are deleted(modified) during migration!!!.
4. Restore the suspend image.

What happens?
It resumes or not?
Maybe whole OS (host OS) hangs?
Just the daemon gets "File read error" or something after resumed?
Or you can not resume the suspend image anymore?

This is an interesting trial, but a bit fear to do it on the real server...

--- Okajima, Jun. Tokyo, Japan.
Read Message
Read Message
Read Message
Read Message
Previous Topic: E: You don't have enough free space in /var/cache/apt/archives/
Next Topic: Live CD fails in live migration.
Goto Forum:

Current Time: Wed Feb 28 08:58:17 GMT 2024

Total time taken to generate the page: 0.02396 seconds