[Openstack] Change Ephemeral Disk FS

Sébastien Han han.sebastien at gmail.com
Mon Aug 6 16:31:28 UTC 2012


Oh I didn't know that one!
Thanks ;)


On Mon, Aug 6, 2012 at 6:07 PM, Vishvananda Ishaya <vishvananda at gmail.com>wrote:

> No need to edit code, there is a config option for this:
>
> ###### (MultiStrOpt) mkfs commands for ephemeral device. The format is
> <os_type>=<mkfs command>
>
> Put the following in nova.conf:
>
> virt_mkfs=default=mkfs.ext4 -L %(fs_label)s -F %(target)s
>
>
> On Aug 6, 2012, at 3:02 AM, Sébastien Han <han.sebastien at gmail.com> wrote:
>
> Hi,
>
> I think this only way is to edit the code like so:
>
>    - go to the line 66
>    of /usr/lib/python2.7/dist-packages/nova/virt/disk/api.py
>    - and change to  'default=mkfs.ext4 -L %(fs_label)s -F %(target)s',
>
> Make sure to purge your /var/lib/nova/instances/_base
> It worked for me :)
>
> Let me know if it's ok :)
>
> Cheers!
>
>
> On Mon, Aug 6, 2012 at 10:47 AM, Jerico Revote <jerico.revote at monash.edu>wrote:
>
>> Hi,
>>
>> Is there a way to change the default file system of the ephemeral disk
>> attached to an instance?
>> By default it's ext3.
>>
>> Thanks,
>>
>> Jerico
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120806/1e983c09/attachment.html>


More information about the Openstack mailing list