[one-users] Info on Partition and volatile disks
Evan Fraser
evan.fraser at trademe.co.nz
Mon Dec 3 14:28:11 PST 2012
Hi Cyrille,
Try taking a look at UnionFS: http://unionfs.filesystems.org/
It can be mounted overtop of the root filesystem giving you access to the files in the filesystem beneath, while changes are recorded in the unionfs filesystem.
An example using a compressed squashfs image as the root filesystem and then mounting unionfs over top can be found here: http://www.tldp.org/HOWTO/html_single/SquashFS-HOWTO/#sqwrite
Cheers, Evan.
From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of Duverne, Cyrille
Sent: Tuesday, 4 December 2012 11:12 a.m.
To: Mailing List OPENNEBULA
Subject: [one-users] Info on Partition and volatile disks
Dear mailing list,
I always have some topics to make your brain run as fast as light :) :
- I have a base image of 3Gb of Ubuntu Server
- Depending on the request I add a volatile disk of 15 / 50 / 150 Gb (this to avoid copying 150G each time I deploy a VM)
But since the root partition is 3G large, some users are making it exploding without using the 15G free.
I'd like to use the free storage as hosting partition for /var, /usr, /home.
How could I achieve this since the disk volatile and provisioned on the fly at the deployment.
I'm trying to mv /var etc... in init.sh at startup, but it make the VM to never start (maybe because /var/lock, /var/run aren't accessible)
I think symlinks are the best way to do this, I might be wrong.
Please help :)
Regards
CyD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20121203/1d28eb7b/attachment-0002.htm>
More information about the Users
mailing list