diff options
author | dwheeler <dwheeler@88473608-6f18-0410-8b6c-91216bd3049c> | 2009-06-03 21:44:56 +0000 |
---|---|---|
committer | dwheeler <dwheeler@88473608-6f18-0410-8b6c-91216bd3049c> | 2009-06-03 21:44:56 +0000 |
commit | af66f5a7e59232f4da625e91f1585bea5736ecdb (patch) | |
tree | 972cdeb9a8dbe37b10fca740bcb684832b551dfe /README | |
parent | 155993b92be3d3458f16df1a066ab8dce43ce5be (diff) |
Document temporary clean-up steps
git-svn-id: svn+ssh://svn-nitpicker.cl.cam.ac.uk/linpicker/trunk@533 88473608-6f18-0410-8b6c-91216bd3049c
Diffstat (limited to 'README')
-rw-r--r-- | README | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -279,3 +279,16 @@ Temporarily, to shut down server: Currently clients must have a different IP address than the server. +Currently linpicker doesn't "clean up" after itself. When it's asked to create a shared buffer with the VM, it does a block attachment... but once that's done, it's never released when the server ends or restarts. You have to clean it up yourself, or it won't work. + +Change the '2' below to whatever the VM id is. + +To see if there's anything to clean up: +# /usr/sbin/xm block-list 2 + +If you see a block with id of 51700 or more at the end, then you have a more-recent allocation that needs cleaning up. + +You need to use block-detach to do the detaching; here's a way to do that in one line (replace both "2"s with the VM id): + +# /usr/sbin/xm block-detach 2 `/usr/sbin/xm block-list 2 | tail -1 | cut -f1 -d ' '` + |