Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


kvm_recover_space_from_vm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
kvm_recover_space_from_vm [2014/12/02 21:04] – [Test] adminkvm_recover_space_from_vm [2014/12/02 21:05] – [Test] admin
Line 25: Line 25:
  
 ====Test==== ====Test====
-  * Monitor VM image size. +  * Monitor VM image size. Use the -s ls option to see real usage
-  * Create large file: <code>time dd if=/dev/urandom of=tstfile bs=2048k count=512 oflag=direct</code>+  * Create large file: <code>cd /var/tmp/ 
 +time dd if=/dev/urandom of=tstfile bs=2048k count=512 oflag=direct</code>
   * Delete tstfile   * Delete tstfile
   * Trim the filesystem: <code>fstrim -v /var</code>   * Trim the filesystem: <code>fstrim -v /var</code>
kvm_recover_space_from_vm.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1