Va-scanCopyright 2002, Marchany Unit 8 – Solaris File Systems Randy Marchany VA Tech Computing Center.

Slides:



Advertisements
Similar presentations
ITI-481: Unix Administration Rutgers University Center for Applied Computer Technologies Christopher Uriarte, Instructor Meeting 4.
Advertisements

Drivers and the kernel1-1 Drivers and the kernel UNIX system has three layers: m The hardware m The operating system kernel m The user-level programs Kernel.
Devices and Drivers (Chapter 7) Khattab Alhabashi UNIX System Administration.
Basic Unix system administration
Presented by: Bill Ball Haroon Haider Khan Hoyt Duff.
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
A Guide to Unix Using Linux Fourth Edition
5-9/12/2005 CPE How to format your computer and re-install Windows XP.
Introduction to Unix (CA263) File System
2000 Copyrights, Danielle S. Lahmani UNIX Tools G , Fall 2000 Danielle S. Lahmani Lecture 12.
Chapter 5 Chapter 5: Server Installation. Chapter 5 Learning Objectives n Make installation, hardware, and site- specific preparations to install Windows.
Exploring the UNIX File System and File Security
Lesson 15 – INSTALL AND SET UP NETWARE 5.1. Understanding NetWare 5.1 Preparing for installation Installing NetWare 5.1 Configuring NetWare 5.1 client.
1 Web Server Administration Chapter 3 Installing the Server.
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
The UNIX File System.
Guide To UNIX Using Linux Third Edition
Va-scanCopyright 2002, Marchany Unit 4 – The Boot Process Randy Marchany VA Tech Computing Center.
Overview Basic functions Features Installation: Windows host and Linux host.
Standard Operating and Maintenance Procedures
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Va-scanCopyright 2002, Marchany Unit 3 – Installing Solaris Randy Marchany VA Tech Computing Center.
File System and Directory Structure in Linux. What is File System In a computer, a file system is the way in which files are named and where they are.
NETW-240 Linux Installation Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Linux Operations and Administration
Guide To UNIX Using Linux Fourth Edition
Unix File System Internal Structures By C. Shing ITEC Dept Radford University.
Chapter-4 Windows 2000 Professional Win2K Professional provides a very usable interface and was designed for use in the desktop PC. Microsoft server system.
Hands-On Microsoft Windows Server 2008
1 THE UNIX FILE SYSTEM By Chokechai Chuensukanant ID COSC 513 Operating System.
Manage Directories and Files in Linux
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Tutorial 11 Installing, Updating, and Configuring Software
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 12: Managing and Implementing Backups and Disaster Recovery.
1 Web Server Administration Chapter 3 Installing the Server.
Linux Operations and Administration
Page 1 of John Wong CTO Twin Peaks Software Inc. Mirror File System A Multiple Server File System.
Managing Software Patches 10/15/ Introducing Solaris OE Patches A patch contains collection of files and directories Patch replaces existing files.
Chapter Two Exploring the UNIX File System and File Security.
1 Interface Two most common types of interfaces –SCSI: Small Computer Systems Interface (servers and high-performance desktops) –IDE/ATA: Integrated Drive.
1 Objectives Manage and install new file systems.
Module 1: Installing Microsoft Windows XP Professional.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
Chapter Two Exploring the UNIX File System and File Security.
System Administration – Part 2. Devices in UNIX are files: A device can be accessed with different file names All device files are stored in /dev or its.
Manage Directories and Files in Linux Part 2. 2 Identify File Types in the Linux System The file types in Linux referred to as normal files and directories.
Linux Commands C151 Multi-User Operating Systems.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
Slide: 1 UNIX FILE SYSTEM By:Qing Yang ID: Operating System Research Topic December, 2000.
Filesystem Management and Backups. 2 Section Overview Devices and Files Filesystem Management Network Filesystems Backups.
SUSE Linux Enterprise Desktop Administration Chapter 7 Manage Directories and Files.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
Eric Liu – Remote Proactive
Package Administration 3/14/ Software package administration adds software to systems and removes software from systems Sun and its third-party.
ORAFACT The Linux File System. ORAFACT Filesystem Support Support for dozens of filesystem types including: Minix, ext2, MS-DOS, UMSDOS, VFAT, NTFS, NFS,
Linux Administration – Finding You Way on the Command Line The Linux File Directory or Tree.
Filesystem Management and Backups
Guide to Linux Installation and Administration, 2e
UBUNTU INSTALLATION
Chapter 12: File System Implementation
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
Windows XP File Systems
Exploring the UNIX File System and File Security
Lecture 43 Syed Mansoor Sarwar
Presentation transcript:

va-scanCopyright 2002, Marchany Unit 8 – Solaris File Systems Randy Marchany VA Tech Computing Center

va-scanCopyright 2002, Marchany File System Types UFS – Unix File System. The default file system type for Solaris HSFS – High Sierra File System – CDROM file system format based on the ISO 9660 standard PCFS – Personal Computer File System – DOS formatted floppies UDF – Universal Disk Format – mainly for reading DVD. New to Solaris 8 Remember, a file system is a hierarchical collection of directories and files.

va-scanCopyright 2002, Marchany File Systems New Solaris 8 feature is UFS logging. This allows you to rebuild a FS quicker. NFS allows you to mount remote file systems from other servers in the network. Solaris 8 is now capable of recording all file operations performed on its exported file systems. This is called NFS Server Logging.

va-scanCopyright 2002, Marchany Creating New File Systems Disk partitions are like virtual disks. It is a way to subdivide a single disk into several virtual disks. Naming convention: – CxTyD0Sz Cx – Controller X, X=0-7 Ty – SCSI ID Y, Y=0-15 D0 – always set this way Sz – Slice(Partition) Z, Z=0-7

va-scanCopyright 2002, Marchany Creating New File Systems Identify the disk partition you want to use. Use the newfs command to create the file system structure on that partition. – newfs /dev/dsk/c0t0d0s1 3% of the actual available space is reserved for system maintenance. A lost+found directory is created for file system checks and repair

va-scanCopyright 2002, Marchany fsck fsck is the Unix file system repair command. Its very useful for checking and repairing problems with the disk, file system, superblocks and inodes. These problems are usually caused by a hardware failure or power loss.

va-scanCopyright 2002, Marchany du, df The du command displays the size of a directory in a file system. – du –s directory Displays the total size of the directory – du directory Displays the sizes of the files inside the directory The df command displays all of the mounted file systems, their sizes and capacity.

va-scanCopyright 2002, Marchany quot The quot command will display how much disk space is being used by a particular user. 2 flags – -a – report on all mounted file systems – -f – report the number of files owned by the user.

va-scanCopyright 2002, Marchany mount, umount File systems must be mounted before they can be accessed by users. The mount point is the anchor point for the directory tree structure. A mount point is basically an empty directory until you mount a file system on it. The umount command detaches the file system from the mount point and makes the FS unavailable to the users.

va-scanCopyright 2002, Marchany /etc/mnttab, /etc/vfstab 2 files that control and list the mounted files systems. /etc/mnttab is a system generated file listing the currently mounted file systems. This is not a text file anymore…Solaris 8 changed that. /etc/vfstab is the file that tells the system which file systems to mount at boot time.

va-scanCopyright 2002, Marchany /etc/vfstab /, /usr, /var, /opt, /proc, /tmp, /home or /export/home are automatically mounted at boot. /etc/vfstab contains the information needed to mount these file systems. Add your file systems to this file if you want them mounted at boot.

va-scanCopyright 2002, Marchany /etc/vfstab 7 fields Device path to the file system Raw device path to the disk partition to fsck The mount point directory The file system type (ufs, pcfs, hsfs, uds) The order for fsck to run Mount at boot?

va-scanCopyright 2002, Marchany Whats in the file systems and System Directories / - top of the Unix directory tree. All directories are components of this tree. /etc – system configuration files, password files and databases /opt – default location of optional software. The default location for most Sun software. /proc – special system FS that contains a list of active processes on the system. /tmp – scratch work area. Solaris uses this as swap space.

va-scanCopyright 2002, Marchany Whats in the file systems and System Directories /usr – contains system binaries and libraries. Also used to contain freeware. /var – used to store the system logs /home, /export/home – default location of the user home directories /var/run – repository for temp system files that arent needed across system reboots.

va-scanCopyright 2002, Marchany Reading from the CDROM Solaris Volume Management is enabled by default so its easy to load a cd. Once you load it in the drive, Solaris automatically mounts it to /cdrom To look at the content of the CD: – ls –l /cdrom/cdrom0 Use the cp command to copy files from the CD to disk. To unload the CD – cd out of the cdrom directory – Enter: eject cdrom

va-scanCopyright 2002, Marchany tar The tar command is used to put all of the contents of a directory tree in a single file. This file can be moved to other locations or systems and then expanded back to the original directory structure 5 main modes – C – create a tar file from a directory – X – extract a directory from a tar file – T – list the contents of a tar without extracting it – R – append files to the end of the tar file – U – update files if theyve been modified since the last tar

va-scanCopyright 2002, Marchany compress, uncompress, zcat Compress command tries to make a file smaller in size by using Lempel-Zic encoding. If successful, the file name has a.Z appended to it. Uncompress returns the file to its original size. Zcat does the same as uncompress but it leaves the original file alone. It uncompresses the file in memory and writes it out to standard output. Saves some space.

va-scanCopyright 2002, Marchany pack, unpack, pcat, zip The pack command is a functional equivalent to the compress command. Unpack is the functional equivalent of the uncompress command. Pcat is like zcat. Zip implements the common PKZIP format found in Windows. Unzip does the reverse.