Menu Close

How mount NFS mount point in Solaris 10?

How mount NFS mount point in Solaris 10?

How to Mount a File System From the Command Line

  1. Become an administrator. For more information, see How to Obtain Administrative Rights in Oracle Solaris Administration: Security Services.
  2. Mount the file system. Type the following command: # mount -F nfs -o ro bee:/export/share/local /mnt.

How do I mount a drive in Solaris 10?

The following example shows how to mount the logical drive in the primary DOS slice on the /pcfs/c directory….Use the following procedure to mount a PCFS (DOS) file system from a hard disk.

  1. Become an administrator.
  2. Create a mount point for the file system to be mounted, if necessary.
  3. Mount the PCFS file system.

How do I unmount in Solaris 10?

Use the following procedure to unmount a file system.

  1. Ensure that you have met the prerequisites listed in Prerequisites for Unmounting Oracle Solaris File Systems.
  2. Unmount the file system. # umount /mount-point. where /mount-point is the name of the file system that you want to unmount.

How do I mount a ZFS file system in Solaris?

File systems are mounted under /path , where path is the name of the file system. You can override the default mount point by using the zfs set command to set the mountpoint property to a specific path. ZFS automatically creates the specified mount point, if needed, and automatically mounts the associated file system.

How do I unmount a ZFS file system?

You can unmount ZFS file systems by using the zfs unmount subcommand. The unmount command can take either the mount point or the file system name as an argument. The unmount command fails if the file system is busy. To forcibly unmount a file system, you can use the -f option.

How do I share a ZFS file system?

Legacy ZFS Sharing Syntax

  1. Use the share command to share a file system. For example, to share a ZFS file system: # share -F nfs /tank/zfsfs # cat /etc/dfs/sharetab /tank/zfsfs – nfs rw.
  2. The zfs share command cannot be used to initially share a file system until the sharenfs property is set.

How to share a file system as NFS in Solaris?

Note : nfs4cbd and nfsmapid – solaris 10 only. Solaris 11 uses idmap daemon instead of nfsmapid. There are many different ways to share a file system or directory on remote system. Below are few basic examples of sharing a file system as NFS. 1. The general way For example : sharing /data mount point as read/write to hosts system1 and system2 only.

Which file systems are not mounted from the vfstabfile?

The root (/), /usrand /varfile systems are not mounted from the vfstabfile initially. This field should always be set to nofor these file systems and for virtual file systems such as /procand /dev/fd. mount options A list of comma-separated options (with no spaces) that are used in mounting the file system. Use a dash (-) to indicate no options.

How do I mount an NFS file system?

On the NFS client, mount the file system by using the ro option. You can mount from the command line, through the automounter, or by adding an entry to /etc/vfstab that resembles the following: bee,wasp:/export/share/local – /usr/local nfs – no ro This syntax has been allowed by the automounter.

Is dfstab available in Solaris 11?

Remember its not dfstab in solaris 11. – For ZFS as NFS shares we do not need to add any entry to any file as SMF services will take care of sharing it across reboots. For the NFS mount point to mount automatically across reboots, use the /etc/vfstab and add below entry : Note the bg option in the last column.

Posted in Blog