|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] todo: XENDOMAINS_SAVE
On 1/16/07, Heiko Lehmann <hlehmann@xxxxxxxxxxxxx> wrote:
1. "make install-tools" overwrite /etc/sysconfig/xendomains
You can disable XENDOMAINS_SAVE in xendomains, but
after update-xen this future enabled now.
The fact that "make install" just overwarites stuff is normal for most
source packages, I think. Use Distribution package sto get proper
config file handling.
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
Good idea!
did you post this as a bug report on Xen bugzilla?
Henning
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|