[ubuntu-cloud] On lucid/10.04: setting up /mnt ephemeral
smoser at ubuntu.com
Mon Nov 14 14:38:10 UTC 2011
On Tue, 8 Nov 2011, Daniel Farina wrote:
> On Mon, Nov 7, 2011 at 7:28 AM, Scott Moser <smoser at ubuntu.com> wrote:
> > You can configure cloud-init's mounting of this device off via
> > cloud-config, something like:
> > mounts:
> > - [ ephemeral0, null ]
> > Then, cloud-init will not mount it, and you can add whatever mechanism
> > you'd like to mount it. mkfs.ext3 is slow, so I never added "make the
> > filesystem" code to cloud-init.
> I had to do a bit of goofing around with initctl list, but I basically
> listen for these events:
> "start on stopped mounted-dev": mkfs.btrfs. It seems fast enough, and
> is worth the checksumming to me.
> "start on stopped cloud-config-mounts": mkdir /mnt/tmp, chmod ugo+rwxt
> to make a new temp directory
> It seems to work, does that look sound to you?
Sorry for getting back to this slowly.
I didn't really follow you above.
The 'cloud-config-mounts' will go away if you're using something later
than 10.04, so I'd try not to rely on that.
If you want to post more details of what you did, i can look at it and see
if it seems sane. I will have an interest in seeing the same thing
functional on precise also.
More information about the Ubuntu-cloud