[one-users] Options for mkfs when creating volatile disks

Tino Vazquez tinova at opennebula.org
Mon Oct 1 07:00:13 PDT 2012


Hi Paul,

You can create a new type tailored for your needs. If you edit
/var/lib/one/remotes/scripts_common.sh, line 227, function
mkfs_command you will find a case statement that switches between the
different possible $FSTYPES. You can add a custom made one (say,
"ext4_high_inode") that set the OPTS variable (passed afterwards to
dd) to the value you desire.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
Project Engineer
OpenNebula - The Open-Source Solution for Data Center Virtualization
www.OpenNebula.org | @tinova79 | @OpenNebula


On Fri, Sep 28, 2012 at 1:59 PM, Paul Scheller <pschelle at ipb-halle.de> wrote:
> hi
>
> Is there a possibility to pass options from a VM-template to mkfs apart from
> size and fstype?
> We actually want/need to set the inode number (to a higher then usual value)
> of an ext4fs which is used as a temporary storage inside the multiple VMs.
>
> thanks in advanced
> Paul Scheller
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


More information about the Users mailing list