OpenVZ Forum


Home » General » Support » Can not suspend VE: Device or resource busy (problem with vzdump)
Can not suspend VE: Device or resource busy [message #38116] Thu, 19 November 2009 10:56 Go to next message
tobyyy is currently offline  tobyyy
Messages: 3
Registered: November 2009
Junior Member
Hi all,

i have a problem with vzdump and suspend.
cat /proc/version
Linux version 2.6.26-1-openvz-686 (Debian 2.6.26-13lenny2) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Fri Mar 13 20:20:40 UTC 2009

vzctl --version
vzctl version 3.0.22


my problem is that only one vz can't go into suspend:
vzdump --compress --dumpdir /mnt/backup/OPENVZ/host/ --tmpdir /var/vztmp/ --suspend -all


205: Nov 09 04:11:21 INFO: Setting up checkpoint...
  205: Nov 09 04:11:21 INFO:  suspend...
  205: Nov 09 04:11:21 INFO: Can not suspend VE: Device or resource busy
  205: Nov 09 04:11:21 INFO: Checkpointing failed
  205: Nov 09 04:11:27 ERROR: Backup of VM 205 failed - command '/usr/sbin/vzctl chkpnt
205 --suspend' failed with exit code 16


The vz has no nfs connections.

Do you have any ideas?

Re: Can not suspend VE: Device or resource busy [message #38120 is a reply to message #38116] Thu, 19 November 2009 16:29 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Maybe you "stepped" on this container, i.e. there is a process in host system which is currently in CT directory. Try to suspend manually, see what's in dmesg, find out the reason.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Can not suspend VE: Device or resource busy [message #38123 is a reply to message #38116] Thu, 19 November 2009 20:35 Go to previous messageGo to next message
tobyyy is currently offline  tobyyy
Messages: 3
Registered: November 2009
Junior Member
okay i have suspended it manually
vzctl chkpnt 205 --dumpfile /mnt/backup/OPENVZ/dump205
Setting up checkpoint...
        suspend...
Can not suspend VE: Device or resource busy
Checkpointing failed


the latest dmesg messages are
[7431996.225352]  CIFS VFS: No response for cmd 114 mid 17110
[7553312.071619]  CIFS VFS: No response for cmd 114 mid 22750
[7593025.584121]  CIFS VFS: No response for cmd 114 mid 21595
[8037583.048750]  CIFS VFS: No response for cmd 114 mid 46047
[8077086.067091]  CIFS VFS: No response for cmd 114 mid 35181
[8154909.518849] CT: 205: stopped
[8154939.950869] CT: 205: started
[8239642.105250]  CIFS VFS: No response for cmd 114 mid 39780
[8304014.800603]  CIFS VFS: No response for cmd 114 mid 44298
[8304015.436584]  CIFS VFS: No response for cmd 114 mid 15326

I think thats not very helpful?

What do you mean with "stepped" this container?
what is the CT Directory?
Re: Can not suspend VE: Device or resource busy [message #38195 is a reply to message #38116] Fri, 27 November 2009 12:09 Go to previous message
tobyyy is currently offline  tobyyy
Messages: 3
Registered: November 2009
Junior Member
I've executed the command
with strace and found there following file:

more /proc/cpt
Ctx      Id       VE       State
eaf79000 000000cd 205      2


Does anybody know what this mean?
Previous Topic: Sluggish Machine with 2.6.18-164.2.1.el5
Next Topic: sys time is longer than real time
Goto Forum:
  


Current Time: Tue Nov 05 23:36:57 GMT 2024

Total time taken to generate the page: 0.03560 seconds