Accessing NFS and Samba Shares
If you already created a Network File System (NFS) or Windows Server Message Block (SMB, or Samba) share for use with the compute instance, you can access the share using the NFS or Samba protocols.
For information about creating an NFS or Samba share for use with a compute instance, see Creating NFS Shares and Creating SMB Shares.
- Accessing NFS Shares
- Follow the instructions in Mounting an NFS File System, or do the following:
-
If it's not yet on the compute instance, install the
nfs-utils
package:sudo dnf install nfs-utils
-
Mount the export.
For example:
sudo mount instance_ip:share_path destination_path
-
- Accessing Samba Shares
-
- Follow the instructions in Accessing Samba Shares From a Client.
-
Mount the export.
For example:
sudo mount -t cifs -o guest //server_address/share_name mountpoint
-
If you want to make automount directories available, such as
/net
, you must first install theautofs
package. See Configuring the Automounter.