OPS235. Linux File Systems Partitioning Mounting File Systems

Similar documents
CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2

Project 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems

Partitioning and Formatting Guide

Linux Hardware Management. Linux System Administration COMP2018 Summer 2017

CST8207 GNU/Linux O/S I Disks and Partitions

Project 3: An Introduction to File Systems. COP4610 Florida State University

Disks, Filesystems 1

Week 10 Project 3: An Introduction to File Systems. Classes COP4610 / CGS5765 Florida State University

Chapter 02 Linux Installation and Usage

How To Resize ext3 Partitions Without Losing Data

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

Disks, Filesystems Todd Kelley CST8177 Todd Kelley 1

Kernel Korner IBM's Journaled Filesystem

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER


LiLo Crash Recovery. 1.0 Preparation Tips. 2.0 Quick Steps to recovery

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems

Linux File System Study Guide

Chapter 6. Linux File System

Installing Linux (Chapter 8) Note packet # 4. CSN 115 Operating Systems Ken Mead Genesee Community College. Objectives

Unless otherwise noted, all references to STRM refer to STRM, STRM Log Manager, and STRM Network Anomaly Detection.

Linux System Administration, level 1. Lecture 4: Partitioning and Filesystems Part II: Tools & Methods

Changing user login password on templates

System Administration. Storage Systems

NETW 110 Lab 4 Using eth0 Configuration Mounting Drives and Devices Page 1

Upgrade Cisco Interface Module for LoRaWAN IXM using the Console

RocketRAID 231x/230x SATA Controller Debian Linux Installation Guide

Manual File System Check Linux Command Line

environment) and note down the last "End" sector ( as shown in the below example):

Windows Method Using Linux Live CD and Gparted

MINI-HOWTO backup and/or restore device or partition using zsplit/unzsplit

MFT / Linux Setup Documentation May 25, 2008

This is sometimes necessary to free up disk space on a volume that cannot have extra disk space easily added.

RocketRAID 2522 SATA Controller Ubuntu Linux Installation Guide

RHCE BOOT CAMP. Filesystem Administration. Wednesday, November 28, 12

Learn Linux, 101: Control mounting and unmounting of

Lab E2: bypassing authentication and resetting passwords

Linux Manually Mount External Hard Drive Ntfs-3g Could Not

Linux Manually Mount External Hard Drive Ntfs 3g Could Not

Linux Manually Mounting External Hard Drive Mac Terminal

Ubuntu - How to Create Software RAID 1 in Ubuntu Linux - Tutorial

Section 1. A zseries Linux file system test script

File systems and Filesystem quota

Veritas System Recovery 16 User's Guide. Linux Edition

Veritas System Recovery 18 Linux Edition README

RocketRAID 231x/230x SATA Controller Red Hat Enterprise/CentOS Linux Installation Guide

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1

Lecture 2: The file system

RocketRAID 231x/230x SATA Controller Fedora Linux Installation Guide

Installation of the OS

Adding a block devices and extending file systems in Linux environments

Exam Linux-Praxis - 1 ( From )

Ubuntu Linux Installation Guide

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

Manually Mount Usb Flash Drive Linux Command Line Fedora

MODULE 02. Installation

SLES Linux Installation Guide

RocketRAID 2310/2300 Controller Fedora Linux Installation Guide

Summary of Features. Backup, recovery and copy-data enhancements. Background

Chapter 6. Boot time configuration. Chapter 6 Boot time configuration

RocketRAID 2680/2684 SAS Controller Red Hat Enterprise/CentOS Linux Installation Guide

RHCSA BOOT CAMP. Filesystem Administration

DM-Multipath Guide. Version 8.2

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS)

Fedora Linux Installation Guide

Tutorial : Confguring a micro SD memory card as both swap and storage area for the DragonBoard 410c (DB410C)

Manually Mount Usb Flash Drive Linux Command Line Redhat

NASA Lab. Partition/Filesystem/Bootloader. TinRay, Yu-Chuan

INSTALLATION. Security of Information and Communication Systems

Once your USB drive is formatted for the FAT32 file system it can be mounted and tested on the GESBC To do this, use the following command:

File Systems: Interface and Implementation

File Systems: Interface and Implementation

Freeing Disk Space on a Cryptshare Server. Applies to. Purpose. Solution. Freeing Disk Space on a Cryptshare Server. Situation.

File Systems: Interface and Implementation

Computer System Management - File Systems

Reconfigure Offboard Storage During a JSA Upgrade

7. Try shrinking / -- what happens? Why? Cannot shrink the volume since we can not umount the / logical volume.

Cross-compilation with Buildroot

ttylinux User Guide pc i Maintained by Douglas Jerome Based on Previous Work by Pascal Schmidt April 8, 2012

Author : admin. 1. Getting information about current file system partitions with fdisk and mount

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

RHCE BOOT CAMP. Various Additional Topics

CST Algonquin College 2

CREATION OF A MINIMAL STAND ALONE RTAI SYSTEM ================================================

Rocket RAID 2644 SAS Controller opensuse Linux Installation Guide

Partitioning a disk prior to Linux Installation

alcasar_documentation Documentation

exam.30q. Number: Passing Score: 800 Time Limit: 120 min File Version: 1 LPI

iscsi storage is used as shared storage in Redhat cluster, VMware vsphere, Redhat Enterprise Virtualization Manager, Ovirt, etc.

Linux Files and the File System

1.3 What does Ctrl-D, Ctrl-A, Ctrl-F and Ctrl-T do in terms of command line editing? (6)

Introduction to Red Hat Linux I: Easy Reference Index Page

istorage Server: iscsi SAN for Linux

Nested Home Lab Setting up Shared Storage

Link Gateway ISO Installation Manual

FEATURES Journaling File Systems Advanced Linux file systems are bigger, faster, and more reliable by Steve Best

CSN08101 Digital Forensics. Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak

Full file at

Frequently Asked Questions

Os X Manually Mount Usb Drive Command Line Afp Network

Transcription:

OPS235 Linux File Systems Partitioning Mounting File Systems 1

Lab 4 Part 1 Topics Linux File Systems (ext2 / ext3 / ext4) Linux Partitioning / Formatting Mounting Linux File Systems 2

Linux File Systems A file system is necessary part of an operating system since it is a structure that is used to store data. When the operating system is installed, one of the first operations is to create a partition and then format the storage device to create the file system. There are many types of file system architectures for the Unix and Linux operating systems that have evolved over the years (for example: ext2, ext3, Reiser, ext4). Each of them have their own characteristics and advantages... 3

Linux File Systems Which Linux File System Type to Use? Second Extended file system (ext2) is older, but is good for supporting large database storage (more efficient write and access) Third Extended file system (ext3) allows for journalling. Journalling tracks changes in the file-system, which helps to prevent data corruption in case of system crashes. Fourth Extended file system (ext4) newer that allows support for extremely large files. Features include journalling, and easy migration from ext3 to ext4. Normally when partition is formatted, can specify the number of boot prior to file-system checks. 4

Linux Partitioning / Formatting Device names for storage are located in the /dev directory and have different names based on the number of hard disks, and type of disk. For example: /dev/sda (for sata drives), /dev/hdb (for IDE drives), etc. Storage devices can be subdivided into smaller containers called partitions (which are numbered). For example: /dev/sda5, /dev/sda6, /dev/sdb1, /dev/sdb2. There are graphical tools to create hard disk partitions (eg. gparted), as well as command line utilities (eg. fdisk). Graphical tools (such as gparted) can also format the partitions, but you can also use command-line utilities (such as mkfs.ext2, mkfs.ext3, mkfs.ext4) 5

Mounting File Systems Mounting a partition allows the computer to connect to a storage device for writing and access. Un-mounting simply disconnects the storage device from the computer system. Users have become accustomed to computers automatically mounting devices (plug and play). On the other hand, it is beneficial for system administrators to learn how to perform mounting and un-mounting storage devices manually. An example of the usefulness of manually mounting a storage device can be when the system fails to boot-up into graphical mode. The system administrator, may be able to switch to a text-based console (single user mode, CTRL-ALT-F#), or boot from a live CD, and mount to existing file system on hard-disk... 6

Mounting File Systems The manual mount command for newer Linux file systems is: mount [device-name] [mount-point-directoryname] (For example: mount /dev/sda5 rescue-dir) Note: the system administrator may need to create a directory prior to use the mount command to connect the storage area to the directory or mount-point. To disconnect the storage area from the computer, the system administrator can issue the Linux command: umount [mount-point-directoryname] (Note: the command is umount, not unmount!) 7

Mounting File Systems It would get annoying if the system administrator had to manually mount partitions upon boot-up. Fortunately, the system has a file that will automatically mount partitions upon bootup called fstab (short for File System Table). fstab is located in the /etc directory. The system administrator can edit the fstab file by issuing the command: vi /etc/fstab. This file contains fields for mounting. Issue the command man fstab for more details. NOTE: Take great care when editing the fstab file. Incorrect entries may not allow the partition to be properly connected to the system which can cause problems when booting-up system! 8