- 1 minute to read
- Print
- DarkLight
- PDF
How to configure remote partitions
- 1 minute to read
- Print
- DarkLight
- PDF
The orbit partition
command allows you to list, add, or remove remote partitions used to forward database backup, session files, and information encrypted with the master key.
mt4adm@vmdf-giskard:~$ sudo orbit partition --help
Usage: orbit partition
File system partitions management tools
Flags:
--help Show context-sensitive help.
-l, --local="/srv/backup_remoto" Local path to mount point
-h, --remote-host=STRING Remote host address
-r, --remote-path=STRING Remote path to mount
--type="cifs" The filesystem type: [nfs|cifs]
-o, --options=STRING Additional options to mount
-u, --user=STRING Samba credentials username
-p, --password=STRING Samba credentials password
-d, --domain=STRING Samba credentials domain
--remount Remount the local partition
--umount Unmount the partition configuration
--delete Unmount and delete the partition configuration
--force Force the command execution, never prompt
--show
Adding a CIFS remote partition
To interact with the CIFS protocol and its mounting options in the Linux environment, the Debian cifs-utils package is used insenhasegura. This package is maintained by the SAMBA developers. For detailed information about available mounting options, see the official cifs-utils manual.
The –remote-path
argument must start with the slash and contain only the destination directory.
mt4adm@vmdf-giskard:~$ sudo orbit partition
--local="/srv/backup_remote"
--remote-host="192.168.214.37"
--remote-path="/backup"
--type="cifs"
--user="safe password"
--password="@qwemaster88"
--domain="sandbox.local"
Are you sure you want to proceed: y
Done!
No errors reported
Remount a registered remote partition
To remount a partition, if the destination server has been inaccessible for a while, generating an error on the remote partition, use the orbit partition –remount
command.
mt4adm@vmdf-giskard:~$ sudo orbit partition --remount
Are you sure you want to proceed: y
Partition remounted successfully
- domain=sandbox.local
mount.cifs kernel mount options: ip=192.168.214.37,
unc=\\192.168.214.37\backup,file_mode=0750,dir_mode=0750,
uid=1001,gid=1001,user=senhasegura,domain=sandbox.local,pass=*******
Unmount and keep a registered remote partition
To dismount the remote partition while keeping it registered in the /etc/fstab
file, use the orbit partition –umount
command.
mt4adm@vmdf-giskard:~$ sudo orbit partition --umount
Are you sure you want to proceed: y
Done!
No errors reported
Unmount and remove a registered remote partition
To unmount the remote partition, use the orbit partition –delete
command. This command will unmount the partition and remove it from the /etc/fstab
file.
mt4adm@vmdf-giskard:~$ sudo orbit partition --delete
Are you sure you want to proceed: y
Done!
No errors reported