|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] Clearout (defrag) of sparse file used for Xen VM
Hi,
I've got a Xen VM sitting inside a sparse file, as shown below, with the
VM and it's swap file, each at 69gb
ls -lh:
-rw-r--r-- 1 root root 69G Jun 5 12:42 hamdev02
-rw-r--r-- 1 root root 2.0G Jun 5 14:53 hamdev02-swap
-rw-r--r-- 1 root root 69G Jun 5 12:38 hamdev01
-rw-r--r-- 1 root root 2.0G Jun 5 14:34 hamdev01-swap
One of the sparse files has now grown quite large, compared with another
VM:
du -sh:
44G hamdev02
2.0G hamdev02-swap
2.0G hamdev01
9.8M hamdev01-swap
Has anyone got any suggestions on how I could non-destructively reduce
the size of the file? We are starting to run out of space on the
partition these VMs sit on.
I've been looking at various ext3 based tools to try and defragment the
file, copy it to a new file, dump and restore the file etc, but none of
those seem to work.
Short of completely removing the file (and the VM) which I don't want to
do.. I'm a bit short of options.
Any ideas? Thx, Will H.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] Clearout (defrag) of sparse file used for Xen VM,
William Hargrove <=
|
|
|
|
|