Thursday, March 3, 2016

Notes on configuring NFS on Solaris 10




March 16, 2007 at 1:36 am · Filed under OS, Solaris 10, Technology, howto

Here are my notes that I put together based on reading man pages, config sample, and from my previous blog entry on this topic.

1. (optional) mount an extra disk on the machine that will be the NFS server.
2. enable NFS sever by running the following:
svcadm -v enable -r network/nfs/server
3. Run the following command to share via NFS
share -F nfs -o rw /disk
Note: The above share command will not persist over reboots. To persist over reboots, add an entry to
/etc/dfs/dfstab

share -F nfs -o rw /disk

4. Run the following command to mount from the client side:
mount -F nfs server:/disk /mount_point
Note: The above mount command will not persist over reboots. To persist over reboots, add the following line in
/etc/vfstab:

server:/disk   -   /mount_point   nfs   -   yes    rw,soft

See also this vfstab sample.

Please note that you can’t use the root account on the NFS client host to create files, because root on the NFS client doesn’t mean root on the NFS server. Use a common user account across NFS server and client(s) instead.

 

Solaris Page................


Installing the Solaris Operating System          Installing Solaris 8
         Installing Solaris 9
         Installing Solaris 10

Patching the Solaris Operating System          Patching Solaris 8
         Patching Solaris 9
         Patching Solaris 10

Storage Management          Adding SCSI Host Adapter (X6541A) into a Blade 100/150
         Adding Second IDE Hard Drive into a Blade 100/150
         Connecting to an iSCSI Target with Open-iSCSI Initiator using Solaris
         Disk Partition Examples
         Determining Disk Throughput
         NFS a Remote File System on Solaris
         Sample /etc/vfstab File
         fsck Process
         Understanding Disk Device Files (i.e. breaking down c0t2d0s7)
         Removing Invalid Disk Device Files (/dev/dsk and /dev/rdsk)

Configuration and Administration Tips          Free IT - Software and Development Magazines!
         KVM Switches For the Home and the Enterprise - (Avocent)
         Booting Options and Using EEPROM
    Configuring Telnet / FTP to Login as root
         Power Management (Sun Blades Only)
         Using Package Manager on Solaris
         Diagnostic and System Configuration Information Commands
         Configuring apropos and whatis - (The windex file)
         Sun Serial Port & Cable Pinouts
         Connecting to Serial Consoles (Solaris / Linux)
         Determine Which Package a Particular File Belongs To
         Cannot open '/etc/path_to_inst'
         Using NFS on Solaris
         Where is Mozilla in Solaris 10 x86?

Solaris Volume Manager - (Solaris 9)          Solaris Volume Manager Data Sheet - (Solaris 9)
         Introduction
         Installing
         Command Line Tools
         Starting the Volume Manager Console GUI - (Enhanced Storage)
         Creating Volumes - (Using Solaris 9 Volume Manager Commands)
             State Database - (State Database Replicas)
             Creating a Stripe - (RAID 0)
             Creating a Concatenation - (RAID 0)
             Creating Mirrors - (RAID 1)
             Creating a RAID5 Volume - (RAID 5)
             Creating a Hot Spare
         Removing Volumes - (Using Solaris 9 Volume Manager Commands)
             Removing a State Database Replica
             Removing a Stripe - (RAID 0)
             Removing a Concatenation - (RAID 0)
             Removing a Mirror - (RAID 1)
             Removing a RAID5 Volume - (RAID 5)
             Removing a Hot Spare

Solstice DiskSuite - (Solaris 2.5.1 - Solaris 8)          Solstice DiskSuite Software Data Sheet - (Solaris 8)
         DiskSuite Support Matrix
         Introduction
         Installing
         Command Line Tools
         Creating Metadevices - (Using DiskSuite 4.2.1 Commands)
             Metadevice State Database - (State Database Replicas)
             Creating a Stripe - (RAID 0)
             Creating a Concatenation - (RAID 0)
             Creating Mirrors - (RAID 1)
             Creating a RAID5 Volume - (RAID 5)
             Creating a Trans Metadevice
             Creating a Hot Spare
         Removing Metadevices - (Using DiskSuite 4.2.1 Commands)
             Removing a State Database Replica
             Removing a Stripe - (RAID 0)
             Removing a Concatenation - (RAID 0)
             Removing a Mirror - (RAID 1)
             Removing a RAID5 Volume - (RAID 5)
             Removing a Trans Metadevice
             Removing a Hot Spare

Process Management with Solaris          Using the "truss" Command in Solaris

Configuring TCP/IP on Solaris          TCP/IP Configuration Files - (Quick Config Guide)
         Introduction / Pre-Requisites
         TCP/IP Configuration Files
         Network Databases and nsswitch.conf File
         Network Configuration Procedures
         Configuring Standard TCP/IP Services
         Overview of the Booting Processes

Configuring Routers in Solaris          Routing Protocols
         Configuring Routers

Solaris Links          Sun Product Documentation
         SunSolve Home
         Sunfreeware.com (Freeware For Solaris)
         SunHELP
         Getting Started with Solaris 8
         Sun Blueprints Online (Contains Sun's Best Practices)
         fixsolaris8.txt
         Unix File System Journalling also called Logging
         Solaris Installation Tips and how to Tighten Security
         Solaris Central
         DNS under Solaris
         Solaris 2.x - Tuning Your TCP/IP Stack and More
         Sun Store (U.S.)
         Connecting a Private Network to an ISP with Solaris
         Network / System Troubleshooting, SNMP, Apache, Veritas, and Much More
         Using Device Path Names to Identify System Devices
         Solaris Developer Connection / Solaris TechFAQS
         Netscape for the Solaris Operating Environment
         Solaris Live Upgrade 2.0
         Sun Managers Mailing List
         Sun Managers Summaries Archives
         Solaris Security Toolkit (JASS)
         Solaris Troubleshooting (Princeton University)
         Sun init Levels (Princeton University)
         searchenterpriselinux.com/
         BigAdmin System Administration Portal
         Sun Performance Tuning
         FOCUS on Sun: Installing Solaris
         FOCUS on Sun: Solaris Default Processes and init.d Part I
         FOCUS on Sun: Solaris Default Processes and init.d Pt. II
         FOCUS on Sun: Solaris Default Processes and init.d Pt. III
         FOCUS on Sun: Solaris Access Control Lists
         FOCUS on Sun: Securing Solaris
         Solaris Package Archive Information
         Solaris2/FAQ (Maintained-by: Casper Dik)
         Free Solaris[sm] Binary License Program
         Solaris 2.x (Tips, Tuning, etc.)
         Stokely Consulting - Unix Serial Port Resources
         FAQABOSS: Frequently Asked Questions About Buying an Old (Used) Sun System
         Multi-booting Solaris and other operating systems
         PatchReport (rev. 2.x) -- Solaris patch tool for 5.x, 7, 8

Interview Questions for Linux/UNIX and Solaris

Linux Interview Questions  Important One -  https://geekstuffweb.wordpress.com/2016/07/12/linux-interview-questions-and-answers-for-l2-and-l...