You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The NetApp DataOps Toolkit can be used to mount an existing data volume on your local host. The command for mounting an existing volume locally is `netapp_dataops_cli.py mount volume`. If executed on a Linux host, this command must be run as root. It is usually not necessary to run this command as root on macOS hosts.
369
369
370
+
**Note:** When mounting volumes, the toolkit must be configured for the user executing the mount command. If running as root (using `sudo`), run `sudo netapp_dataops_cli.py config` to create a configuration file for the root user before attempting to mount volumes.
371
+
370
372
The following options/arguments are required:
371
373
372
374
```
@@ -401,6 +403,8 @@ Volume mounted successfully.
401
403
402
404
The NetApp DataOps Toolkit can be used to unmount an existing data volume that is currently on your local host. The command for unmounting an existing volume is `netapp_dataops_cli.py unmount volume`. If executed on a Linux host, this command must be run as root. It is usually not necessary to run this command as root on macOS hosts.
403
405
406
+
**Note:** When unmounting volumes, the toolkit must be configured for the user executing the unmount command. If running as root (using `sudo`), run `sudo netapp_dataops_cli.py config` to create a configuration file for the root user before attempting to unmount volumes.
407
+
404
408
The following options/arguments are required:
405
409
406
410
```
@@ -1663,6 +1667,9 @@ APIConnectionError # The storage system/service API returned an err
1663
1667
#### Mount an Existing Data Volume Locally
1664
1668
1665
1669
The NetApp DataOps Toolkit can be used to mount an existing data volume as "read-only" or "read-write" on your local host as part of any Python program or workflow. On Linux hosts, mounting requires root privileges, so any Python program that invokes this function must be run as root. It is usually not necessary to invoke this function as root on macOS hosts.
1670
+
1671
+
**Note:** When mounting volumes programmatically, the toolkit must be configured for the user executing the program. If the program runs as root (using `sudo`), run `sudo netapp_dataops_cli.py config` to create a configuration file for the root user before attempting to mount volumes.
1672
+
1666
1673
##### Function Definition
1667
1674
1668
1675
```py
@@ -1698,6 +1705,8 @@ MountOperationError # The volume was not succesfully mounted locally
1698
1705
1699
1706
The NetApp DataOps Toolkit can be used to near-instantaneously unmount an existing data volume (that is currently mounted on your local host) as part of any Python program or workflow.
1700
1707
1708
+
**Note:** When unmounting volumes programmatically, the toolkit must be configured for the user executing the program. If the program runs as root (using `sudo`), run `sudo netapp_dataops_cli.py config` to create a configuration file for the root user before attempting to unmount volumes.
0 commit comments