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: ObjectiveFS license+admin key = '123456ABCD'
/etc/objectivefs.admin.env/
# cp -a /etc/objectivefs.env /etc/objectivefs.admin.env
Replace /etc/objectivefs.admin.env/OBJECTIVEFS_LICENSE with your admin license key
OR
# mount.objectivefs config /etc/objectivefs.admin.env
/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>
Updated by ObjectiveFS staff, June 16, 2024
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 support@objectivefs.com