|
|
|
|
|
|
|
|
|
|
xen-bugs
[Xen-bugs] [Bug 863] New: xendomains stop does not check for free space
http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=863
Summary: xendomains stop does not check for free space before
stopping
Product: Xen
Version: unstable
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Tools
AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
ReportedBy: henning_sprang@xxxxxx
I just note that down from somebody who mailed it to the users list and did not
test the solution myself yet.
(see http://lists.xensource.com/archives/html/xen-users/2007-01/msg00721.html)
The xendomains script seems not to check if there is enough free spce to save a
domain when runninng xendomains stop.
This results in 100% filled /var directory, and broken snapshots.
A proposed solution is, adding the following lines to xendomains:
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
--
Configure bugmail:
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-bugs] [Bug 863] New: xendomains stop does not check for free space before stopping,
bugzilla-daemon <=
|
|
|
|
|