persistent swap file
|Reported by:||wretched_dutchman||Owned by:||leavengood|
|Keywords:||persistent swap file||Cc:|
I currently have set up a virtual machine via iso (hrev41641) on a 5 gig virtual harddisk and 2gig internal memory.
After installation I noticed that the hard disk is still as almost just as full as when I would use a 750 meg harddisk. I found that the installer created a swap-file of 4 gigabyte, which, in my opinion isn't necessary. I tried to shrink or delete the swap-file to create more space, but this doesn't seem possible. I've tried the following options: Use the VirtualMemory application to a low value and re-disable it altogether. rm /boot/common/var/swap shred /boot/common/var/swap
Non of these options seems to free the diskspace. du shows that after deletion still only +/- 470Meg is used, but df and the DiskUsage utility both give me a free space of 618 meg In other words, when the file is removed it doesn't free it's inode on the file-system.