|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] todo: XENDOMAINS_SAVE
information only
Hallo folks!
061212.xen.todo
1. "make install-tools" overwrite /etc/sysconfig/xendomains
You can disable XENDOMAINS_SAVE in xendomains, but
after update-xen this future enabled now.
2. "xendomain stop" do not check filesystem space. result:
- /var full
- snapshot corrupt
Solution:
- add (like) lines to xendomain:
...
if test -n "$XENDOMAINS_SAVE"; then
echo -n "(save)"
## save domain if enough free disk space
free=`df -k $XENDOMAINS_SAVE | awk '{print $4}'`
size=`xm list | grep $name | awk '{print $3}'`
sizeplus=$(($size*11/10)) ## size + 10%
[ $free -lt $size ] && continue
...
regards Heiko
Launoc
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] todo: XENDOMAINS_SAVE,
Heiko Lehmann <=
|
|
|
|
|