The admin mode provides an easy way to manage many filesystems in a programmatic way. You can use the admin mode to easily script the creation of many filesystems.
The admin mode lets admins create filesystems without the interactive passphrase confirmations. To destroy a filesystem, admins only need to provide a ‘y’ confirmation and don’t need an authorization code. Admins can list the filesystems, similar to a regular user. To separate the admin functionality and user functionality, admins are not permitted to mount a filesystem.
The admin license key lets you automate the creation and destruction of filesystems. In admin mode, there is no verification of the passphrase on create, and only a single yes prompt on destroy.
Example: Your admin key: ‘ABCD’ Your ObjectiveFS license: ‘123456’ Your admin license key: admin key+ObjectiveFS license = ‘123456ABCD’
Create a different set of credentials for your admin license, e.g.
# cp -a /etc/objectivefs.env /etc/objectivefs.admin.env Replace /etc/objectivefs.admin.env/OBJECTIVEFS_LICENSE with your admin license key
# mount.objectivefs config /etc/objectivefs.admin.env
You can use
/etc/objectivefs.admin.env/ for scripted filesystem creation and regular
/etc/objectivefs.env for mounting. You can use
OBJECTIVEFS_ENV to specify the config directory to use.
# OBJECTIVEFS_ENV=/etc/objectivefs.admin.env mount.objectivefs <cmd>
by ObjectiveFS staff, October 10, 2019
ObjectiveFS is a shared file system for Linux and OS X that automatically scales and gives you scalable cloud storage. If you have questions or article idea suggestions, please email us at firstname.lastname@example.org