Difference between revisions of "Solaris 10 System Administration Part I"

From Got Opinion Wiki
Jump to navigation Jump to search
m
Line 50: Line 50:
</tr>
</tr>
<tr>
<tr>
      <td>/export</td>
      <td>default directory for commonly shared file systems (like user home directories)</td>
</tr>
<tr>
      <td>/home</td>
      <td>default directory or mount point for user home directories</td>
</tr>
<tr>
      <td>/kernel</td>
      <td></td>
</tr>
<tr>
      <td>/lib</td>
      <td></td>
</tr>
<tr>
      <td>/mnt</td>
      <td></td>
</tr>
<tr>
      <td>/opt</td>
      <td></td>
</tr>
<tr>
      <td>/platform</td>
      <td></td>
</tr>
<tr>
      <td>/sbin</td>
      <td></td>
</tr>
<tr>
      <td>/usr</td>
      <td></td>
</tr>
<tr>
      <td>/var</td>
      <td></td>
</tr>
</table>
</table>


==== Important in-memory system directories ====
<table style="text-align: left; width: 50%;" border="1"
cellpadding="2" cellspacing="0">
<tr>
    <td>/dev/fd</td>
    <td></td>
</tr>
<tr>
    <td>/devices</td>
    <td></td>
</tr>
<tr>
    <td>/etc/mnttab</td>
    <td></td>
</tr>
<tr>
    <td>/etc/svc/volatile</td>
    <td></td>
</tr>
<tr>
    <td>/proc</td>
    <td></td>
</tr>
<tr>
    <td>/system/contract</td>
    <td></td>
</tr>
<tr>
    <td>/system/object</td>
    <td></td>
</tr>
<tr>
    <td>/tmp</td>
    <td>directory for temporary files (cleared during boot sequence)</td>
</tr>
<tr>
    <td>/var/run</td>
    <td></td>
</tr>
</table>
==== Subdirectories of note under /dev ====
<table style="text-align: left; width: 50%;" border="1"
cellpadding="2" cellspacing="0">
<tr>
    <td>/dev/dsk</td>
    <td>block disk devices</td>
</tr>
<tr>
    <td>/dev/fd</td>
    <td>file descriptors</td>
</tr>
<tr>
    <td>/dev/md</td>
    <td>logical volume management metadisk drives</td>
</tr>
<tr>
    <td>/dev/pts</td>
    <td>pseudo terminal devices</td>
</tr>
<tr>
    <td>/dev/rdsk</td>
    <td>raw disk devices</td>
</tr>
<tr>
    <td>/dev/rmt</td>
    <td>raw magnetic devices</td>
</tr>
<tr>
    <td>/dev/term</td>
    <td>serial devices</td>
</tr>
</table>
<table style="text-align: left; width: 50%;" border="1"
cellpadding="2" cellspacing="0">
</table>


<center>[[Solaris|To Solaris]]</center>
<center>[[Solaris|To Solaris]]</center>

Revision as of 12:52, 13 July 2011

My Solaris 10 System Administration Part I notes.

Credits

My main source of information came from Oracle System Administration of Solaris 10 Part I from Oracle University (excellent training) & Solaris 10 man pages.

Solaris 10 OS Directory Hierarchy

File systems

Unix File System (UFS) is the default file system

Directory starts with root directory (/)

Solaris 10 OS includes alternate file system called zettabyte file system (ZFS)

Logically all directories fall below root directory (/)

Physically directories can be located on one or spread over multiple file systems

<insert graphics to show this>

Refer to filesystem man page for more information on file system organization.

$ man -s 5 filesystem

Important directories

Directory Notes
/ root of file system
/bin symbolic link to /usr/bin & location for binary files of standard system commands
/dev primary directory for logical device names & contents of directory are symbolic links to device files in /devices directory
/etc directory holds host-specific config files & databases for system administration
/export default directory for commonly shared file systems (like user home directories)
/home default directory or mount point for user home directories
/kernel
/lib
/mnt
/opt
/platform
/sbin
/usr
/var

Important in-memory system directories

/dev/fd
/devices
/etc/mnttab
/etc/svc/volatile
/proc
/system/contract
/system/object
/tmp directory for temporary files (cleared during boot sequence)
/var/run

Subdirectories of note under /dev

/dev/dsk block disk devices
/dev/fd file descriptors
/dev/md logical volume management metadisk drives
/dev/pts pseudo terminal devices
/dev/rdsk raw disk devices
/dev/rmt raw magnetic devices
/dev/term serial devices
To Solaris