1 Objectives Manage and install new file systems.

Slides:



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

Chapter 9 Part III Linux File System Administration
Chapter 9: Understanding System Initialization The Complete Guide To Linux System Administration.
Linux Installation LINUX INSTALLATION. Download LINUX Linux Installation To install Red Hat, you will need to download the ISO images (CD Images) of the.
04/21/2004CSCI 315 Operating Systems Design1 Disk Management.
2000 Copyrights, Danielle S. Lahmani UNIX Tools G , Fall 2000 Danielle S. Lahmani Lecture 12.
Exploring the UNIX File System and File Security
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Lesson 22 – Introduction to Linux Systems Administration.
Guide To UNIX Using Linux Third Edition
Laksh mi.  fdisk is an interactive utility to manipulate disk partitions.  Use fdisk –l to review the disks and partitions on the system.  Use fdisk.
Chapter 8: Adding a Disk — Unix Hard Disk Basics Installation and Configuration Barry Kane CMSC-691X.
Configuring Disk Quotas Linux System Administration To implement disk quotas, use the following steps: Enable quotas per file system by modifying /etc/fstab.
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Guide To UNIX Using Linux Fourth Edition
Unix File System Internal Structures By C. Shing ITEC Dept Radford University.
Linux Installation and Administration – Lesson 5 Tutor: George Papamarkos Topic: Devices in Linux.
Booting and boot levels
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.
Guide to Linux Installation and Administration, 2e 1 Chapter 9 Preparing for Emergencies.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
Day 8 Exporting Displays Cronjobs Mount. Chapter 5 Chapter 5 talks about X windows. –You should read the chapter. –However, you do not need to pay particular.
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Chapter 6: Linux Filesystem Administration
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
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.
Chapter 1 Managing Storage. Contents Understanding Partitioning Understanding LVM Understanding RAID Understanding Clustering and GFS Using Access Control.
Slackware 9.1 Installation First prompt in the installation process.
Guide to Linux Installation and Administration1 Chapter 4 Running a Linux System.
Configuring Disk Devices. Module 4 – Configuring Disk Devices ♦ Overview This module deals with making partitions using fdisk, implementing RAID and Logical.
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.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
Creating and Managing File Systems. Module 5 – Creating and Managing File Systems ♦ Overview This module deals with the structure of the file system,
Linux+ Guide to Linux Certification Chapter Six Linux Filesystem Administration.
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.
Linux Operations and Administration Chapter Twenty Advanced Linux Administration.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
CSCI 330 UNIX and Network Programming Unit XX: Linux Administration.
Chapter 8: Installing Linux The Complete Guide To Linux System Administration.
Filesystem Management and Backups. 2 Section Overview Devices and Files Filesystem Management Network Filesystems Backups.
CSC414 “Introduction to UNIX/ Linux” Lecture 6. Schedule 1. Introduction to Unix/ Linux 2. Kernel Structure and Device Drivers. 3. System and Storage.
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.
Package Administration 3/14/ Software package administration adds software to systems and removes software from systems Sun and its third-party.
Materi managing user & groups, file system Managing Software Packages and File Systems The Complete Guide to Linux System Administration Chapter 10.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 10 Understanding.
1 C1-UD 6-6 BASIC LINUX FILE MANAGEMENT. Part IV. File System Administration Academic Year DAI. Credit 1 (Single and Multiuser Operating Systems)
ORAFACT The Linux File System. ORAFACT Filesystem Support Support for dozens of filesystem types including: Minix, ext2, MS-DOS, UMSDOS, VFAT, NTFS, NFS,
1 C1-UD 6-2 INSTALLING LINUX Academic Year DAI. Credit 1 (Single and Multiuser Operating Systems) Ferran Chic PELE-08/09 (Pla Experimental Llengües.
Memory management. Linux Memory Management Total memory available for processes = real memory + paging space - 1MB. First megabyte of real memory is used.
Linux Filesystem Administration
Chapter 10: Managing Software Packages and File Systems
Chapter 8 Unix & Linux.
Configuring Disk Quotas
Filesystem Management and Backups
Guide to Linux Installation and Administration, 2e
UBUNTU INSTALLATION
Basic Commands ls cp ls –l (in detail format) echo ls –a
Introduction to Computers
Exploring the UNIX File System and File Security
Operating System Module 1: Linux Installation
Linux File Systems Partitioning Mounting File Systems
OPS235: Week 5 Lab4: Investigations 1 – 3
COP 4343 Unix System Administration
Devices, Linux Filesystems,and the Filesystem Hirarchy standard
Configuring Disk Quotas
Presentation transcript:

1 Objectives Manage and install new file systems

2 Understanding the File System During installation –Partitions created –ext3 or similar file system

3 Reviewing File System Types File system –Collection of data structured in certain way so that it can be efficiently accessed Superblock –Collection of information about file system as a whole –Found in ext2 and ext3

4 Reviewing File System Types ext2 and ext3 file systems –Do not place files one after another filling up each area of hard disk in order –Permit file to grow in size without being as likely to be broken into pieces –Never need to defragment ext3 –Journaling file system

5 Reviewing File System Types Other journaling file systems –ReiserFS –Journaling File System (JFS) Virtual file system model –Used by kernel –Separates file system type from operation program wants to perform –Linux can support any new file system type for which driver is available

6 Reviewing File System Types Each file system must be mounted Mount command –Without any parameters List of currently mounted file systems

7 Checking File System Status Root file system becomes full –Linux kernel can crash df command displays space usage information for each file system that is currently mounted If file system becomes full, must free space in directories where file system is mounted

8 Checking File System Status Immediately free space –Look for large or numerous files in /tmp directory that can be deleted –Look for large or numerous files in /var subdirectories –Move system log file (/var/log/messages) to another file system that isn’t as full –See if any user subdirectories are using unusually large amounts of disk space –Delete unused archive files

9 Checking File System Status du utility lists size of directory and all its subdirectories du –max-depth=1 Various graphical tools and system administration scripts to check status of file systems –Hardware Browser –KDiskFree - kdf

10 Checking File Systems fsck utility –Checks integrity of file systems –Usually pronounced fizz-check –Can also repair minor file system problems –Must be run on file system that is not mounted –Example: fsck /dev/hda1

11 Creating New File Systems Adding file system means –Adding hard disk device to your system –Making hard disk available to Linux by: Formatting Mounting

12 Using the fdisk Utility Modifications to partition table only effective when you write changes to disk with w command to exit fdisk Example: fdisk /dev/sdb

13 Using the fdisk Utility

14 Using the fdisk Utility

15 Formatting File Systems mke2fs command –Formats partition Erasing all information on it Organizes space for data to be recorded Partition can be used by Linux –Use -j option to add journaling For ext3 –Example: mke2fs -j /dev/sdb2

16 Managing Swap Space mkswap command –Format partition set up using fdisk as swap space –Example: mkswap /dev/hda2 swapon command activates swap space

17 Formatting File Systems fdformat command – Format 3.5-inch disks gfloppy –Graphical removable disk formatter tune2fs utility –Examine superblock of file system –Make minor changes to file system parameters

18 Mounting New File Systems mount command –To access file system –Indicate: Device on which file system is stored Directory where file system should be made accessible in directory structure –Example: mount -t ext3 /dev/sdb2 /archive

19 Automating File System Mounting /etc/fstab configuration file –Key to automounting file systems –Contains one line for each file system to automount Add options when executing mount command –Example: mount -t ext3 -o defaults /dev/sdb2 /archive