WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Recovering space or "shrink" disk img?

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Recovering space or "shrink" disk img?
From: James Pifer <jep@xxxxxxxxxxxxxxxx>
Date: Thu, 11 Sep 2008 20:20:48 -0400
Delivery-date: Thu, 11 Sep 2008 17:21:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Mailscanner-null-check: 1221783925.49136@39T6OmAmjF6ZWuQ68G1PCQ
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
We use a lot of sparse disk images. On one of them I setup a temporary
swapfile of 4 gig and enabled it. I did not add it to fstab, etc. On
reboot I wanted it to go away in this case. 

Anyway, upon rebooting and removing the 4gb file, I have not gained back
the space in the sparse file. For example, if I do:
du -s -B1 disk0
13056692224     disk0

That's the same thing I got before removing the 4 gb file. Should I
expect disk0 to "recover" the space automatically? VMware has a shrink
disk option, does something similar need to be done in xen?

Thanks,
James


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>