Managing the FUSE-Based POSIX Client
This section describes how to start and manage the POSIX client.
Starting and Stopping the POSIX Client
To allow a non-root user to start this service, as administrator or root user, run the following command:
chmod u+s /opt/mapr/bin/fusermount
Verify that permissions have been set for non-root user to start the service. For example:
ll /opt/mapr/bin/fusermount
Your output should look similar to the following:
-rwsr-xr-x 1 root root 39704 Feb 16 19:41 /opt/mapr/bin/fusermount
Ensure that the non-root user has full permissions on the mount point and log files.
To manually start or stop the service:
service mapr-posix-client-* [start|stop|status]
When you run the command, replace *
with basic or platinum, which
corresponds with the package that is installed on the system.
Running the POSIX Client in Secure Mode
The POSIX client reads the mapr-clusters.conf
file to determine whether
the process must start in secure or unsecure mode. If security is configured,
the ticket must be present in /tmp/maprticket_<uid>
file or in the file specified using MAPR_TICKETFILE_LOCATION
variable.
If the ticket expires after a connection has been established between the POSIX client and the cluster, the connection can stay alive for up to an hour. No new connections will be allowed. If the ticket was blacklisted, restart POSIX client to refresh the ticket.
Monitoring the POSIX Client
To determine whether the POSIX client is running, run the following command:
service mapr-posix-client-* status
*
with basic or platinum, which
corresponds with the package that is installed on the system.Adding and Removing Users
Before you add and/or remove users using the POSIX client, make a note of the following:
- Invalid UID/GID cannot perform operations on the system.
- When you add or remove users, it may take up to 30 minutes for the changes to take effect.
Unmounting the FUSE Mount
To unmount the mountpoint, run the following command:
service mapr-posix-client-* stop
*
with basic or platinum, which
corresponds with the package that is installed on the system.