vm/fstab: enable "discard" option for /rw
This, in conjunction with support in xen-blkfront/back, shrinks private.img in dom0 with every removed file in VM. So no longer manual cleaning unused space with some dd + cp trickery.
This commit is contained in:
parent
3e4b8cf8a9
commit
b2904f03ae
@ -2,7 +2,7 @@
|
|||||||
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
|
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
|
||||||
#
|
#
|
||||||
/dev/mapper/dmroot / ext4 defaults,noatime 1 1
|
/dev/mapper/dmroot / ext4 defaults,noatime 1 1
|
||||||
/dev/xvdb /rw ext4 noauto,defaults 1 2
|
/dev/xvdb /rw ext4 noauto,defaults,discard 1 2
|
||||||
/rw/home /home none noauto,bind,defaults 0 0
|
/rw/home /home none noauto,bind,defaults 0 0
|
||||||
/dev/xvdc1 swap swap defaults 0 0
|
/dev/xvdc1 swap swap defaults 0 0
|
||||||
tmpfs /dev/shm tmpfs defaults 0 0
|
tmpfs /dev/shm tmpfs defaults 0 0
|
||||||
|
Loading…
Reference in New Issue
Block a user