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

Size: px
Start display at page:

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

Transcription

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

2 The sequence 1. Create one or more empty partitions 1a. (optional) Arrange them into a RAID or LVM device and create one or more volumes therein 2. Create a filesystem on each empty volume 3. Mount the volume(s) into your filesystem tree 3a. (optional) Configure /etc/fstab to automatically mount the volume at boot time

3 Partitioning tools fdisk the CLI standard Not difficult to master if you understand partitioning Disk Druid Red Hat's GUI tool Unfortunately, only available during install parted PARTition EDitor Resizes partitions fips resizes 'doze partitions

4 Creating a RAID 1. Create RAID partitions (type FD) 2. Create /etc/raidtab; specify partitions See lab exercise for details 3. mkraid /dev/mdx to create the RAID 4. Create a filesystem on it & mount it --- OR... just create it at install time in Disk Druid

5 RAID tools raidstart, raidstop raidsetfaulty device partition to simulate a failed drive raidhotremove, raidhotadd remove a failed drive from an active RAID, add a (properly partitioned) drive to an active RAID mdadm configure/administer RAIDs lsraid list RAID devices

6 Creating Logical Volumes 1. Create LVM partitions (type 8E) 2. vgscan to initialize 2 database files (1 time only) 3. pvcreate partition to register the Physical Volumes 4. vgcreate devname to create the Volume Group 5. lvcreate -L size -n name devname to create the Logical Volume --- OR... just create it at install time in Disk Druid

7 LVM tools vgextend volgroup partition to add a new partition to a Volume Group pvmove partition to move data from a physical volume before removing it vgreduce volgroup partition to remove a Physical Volume from a Volume Group pvdisplay, vgdisplay, lvdisplay for information about your LVM components

8 Creating filesystems mke2fs options device create an ext2 filesystem Options (not an exhaustive list): -j create a journaling (i.e. ext3) filesystem -L set the filesystem's volume label -c check for bad blocks -R stride=number set the chunk size (optimizes performance if the filesystem is on a RAID)

9 Resizing a logical volume e2fsadm options device to resize an ext2/ext3 logical volume Examples of options are: -L +100M to increase the LV and FS by 100 MB -L -50M to decrease the LV and FS by 50 MB Calls lvextend or lvreduce Then calls resize2fs

10 More filesystem tools e2fsck device to check an ext2/ext3 filesystem for errors Must be unmounted In most cases you can use fsck instead No defragment tool ext2/ext3 normally doesn't fragment (unless you fill the partition) tune2fs convert an ext2 fs to ext3 and more dosfsck and mtools for FAT filesystems

11 Mounting and unmounting Simplest mount command: mount what-to-mount where-to-mount-it What-to-mount is a device. In Unix, all devices are files that live in /dev Your mountpoint is an empty directory you've created somewhere in your tree. Example: mount /dev/hda1 /windoze To unmount: umount device (or) umount mountpoint

12 mount options mount -o options device mountpoint Options separated by commas (no spaces), can incl. ro, rw mount the device read-only or writeable umask=number to set permissions for FAT loop number to mount a filesystem that is contained in a file (i.e., not in /dev) e.g. a CD- ROM image (.iso file) or an image of a floppy More when we look at /etc/fstab

13 /etc/fstab: automatic mounting Items in this file will automatically mount at boot Six fields, separated by whitespace: 1. Device name 2. Mountpoint 3. Filesystem type 4. Mount options 5. Level 0 dump frequency 6. fsck order

14 fstab fields Device Must be a block device or network share Examples: /dev/hda4 or :/home May be a volume label 2. Mountpoint 3. Filesystem type See man mount for the list of possible types Common types are ext3, vfat, iso9660, smb, nfs

15 fstab field 4 4. Mount options See man mount for the list Special mount options for fstab include auto or noauto whether to mount at boot user or nouser whether non-root users can mount this device. Normally used for CD-ROMs and floppies. noatime do not update the files' access times (speeds disk access on busy systems with many small files) defaults means rw,suid,dev,exec,auto,nouser,async

16 fstab fields Level 0 dump frequency 0 never 1 daily, 2 every other day, 3 etc. 6. fsck order 0 don't fsck (usually means it's not an ext2/3 fs) 1 fsck first (only set on root filesystem) 2-9 Second, third, etc. Can be done in parallel. If these fields are missing they are presumed 0

17 Unix fs owners and permissions Each file is owned by a user and by a group Each file has three sets of permissions: User ( u - the user that owns the file) Group ( g - the group that owns the file) Others ( o - aka the world ) In each set are three possible permissions: read ( r ), write ( w ) and execute ( x ) Represented in nine bits, or three Octal digits

18 The nine permission bits Three groups... 1 st group: Owner permissions ( u ) 2 nd group: Group permissions ( g ) 3 rd group: World permissions ( o )... of three bits each The 4 bit: Read permission ( r ) The 2 bit: Write permission ( w ) The 1 bit: Execute permission ( x )

19 Octal representation of the nine bits 100 (read, no write, no execute) = (read and write, no execute) = (read, write and execute) = (read and execute, no write) =??? 755 = owner can read, write & execute; group and world can only read & execute 640 = owner can read & write, group read only, world no access

20 The 9 bits a la ls -l One character plus rwxrwxrwx If a permission is off, it's a dash: rwxr-xr-x First character: d This file is a directory c This file is a character device (in /dev) b This file is a block device (in /dev) l This file is a symlink

21 Permissions tools - chown chown, chgrp Change user/ group ownership of a file Both can be done with chown: chown user.group filename Recurse with -R chown -R ken.users *

22 Permissions tools - chmod chmod Change permissions on a file Can be done symbolically or with Octal chmod g+r filename chmod u-x filename chmod 755 filename Recurse with -R enable group read disable owner execute Octal sets all nine bits chmod -R o+r * make everything in this directory and all directories under it world-readable

23 One last tool: ln ln -s sourcefile destname makes a symlink One file appears in many directories, but is physically stored only once Works across filesystems, even into remote and dosfs Operations (read, write, execute) on symlink access the actual file Delete operates on the symlink, not the actual file ln sourcefile destname makes a hard link Only works on the same filesystem

CIS UNIX System Administration

CIS UNIX System Administration Lab 11: Lab notes: - Lab 10 successful completion is a prerequisite for this lab - The sda8, sda9 partitions below may change based on current disk partition. See instructor for current # s. - After the

More information

Disks, Filesystems Todd Kelley CST8177 Todd Kelley 1

Disks, Filesystems Todd Kelley CST8177 Todd Kelley 1 Disks, Filesystems Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck

More information

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1

Disks, Filesystems, Booting Todd Kelley CST8177 Todd Kelley 1 Disks, Filesystems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity:

More information

File systems and Filesystem quota

File systems and Filesystem quota File systems and Filesystem quota 8.1 Unit objectives After completing this unit, you should be able to: Describe what a file is Describe what a file system is List possible file systems Describe i-nodes

More information

Changing user login password on templates

Changing user login password on templates Changing user login password on templates 1. Attach an ISO via the cloudstack interface and boot the VM to rescue mode. Click on attach iso icon highlighted below: A popup window appears from which select

More information

Disks, Filesystems 1

Disks, Filesystems 1 Disks, Filesystems 1 sudo and PATH (environment) disks partitioning formatting file systems: mkfs command checking file system integrity: fsck command /etc/fstab mounting file systems: mount command unmounting

More information

example.com index.html # vim /etc/httpd/conf/httpd.conf NameVirtualHost :80 <VirtualHost :80> DocumentRoot /var/www/html/

example.com index.html # vim /etc/httpd/conf/httpd.conf NameVirtualHost :80 <VirtualHost :80> DocumentRoot /var/www/html/ example.com index.html # vim /etc/httpd/conf/httpd.conf NameVirtualHost 192.168.0.254:80 DocumentRoot /var/www/html/ ServerName station.domain40.example.com

More information

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

7. Try shrinking / -- what happens? Why? Cannot shrink the volume since we can not umount the / logical volume. OPS235 Lab 4 [1101] Sample/suggested Answers/notes (Please ask your professor if you need any clarification or more explanation on concepts you don't understand.) Investigation 1: How are LVMs managed

More information

Adding a block devices and extending file systems in Linux environments

Adding a block devices and extending file systems in Linux environments Adding a block devices and extending file systems in Linux environments In this exercise we simulate situation where user files partition /home fills up and needs to be extended. Also we migrate from static

More information

EX200 EX200. Red Hat Certified System Administrator RHCSA

EX200 EX200. Red Hat Certified System Administrator RHCSA EX200 Number: EX200 Passing Score: 800 Time Limit: 120 min File Version: 14.0 http://www.gratisexam.com/ EX200 Red Hat Certified System Administrator RHCSA EX200 QUESTION 1 Configure your Host Name, IP

More information

Quota LVM (Logical Volume Manager)

Quota LVM (Logical Volume Manager) Quota, LVM 1 Quota LVM (Logical Volume Manager) 2 https://access.redhat.com/knowledge/docs/en- US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/c h-disk-quotas.html Quotas give us the ability

More information

How To Resize ext3 Partitions Without Losing Data

How To Resize ext3 Partitions Without Losing Data By Falko Timme Published: 2007-01-07 17:12 How To Resize ext3 Partitions Without Losing Data Version 1.0 Author: Falko Timme Last edited 12/31/2006 This article is about

More information

An introduction to Logical Volume Management

An introduction to Logical Volume Management An introduction to Logical Volume Management http://distrowatch.com/weekly.php?issue=20090309 For users new to Linux, the task of switching operating systems can be quite daunting. While it is quite similar

More information

The Ultimate Linux/Windows System

The Ultimate Linux/Windows System The Ultimate Linux/Windows System Kevin Farnham Abstract Use cross-platform applications and shared data for the ultimate Linux/Windows system. I recently converted my Toshiba notebook computer into a

More information

OPS235. Linux File Systems Partitioning Mounting File Systems

OPS235. Linux File Systems Partitioning Mounting File Systems 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

More information

Lab #9: Configuring A Linux File Server

Lab #9: Configuring A Linux File Server Lab #9 Page 1 of 6 Theory: Lab #9: Configuring A Linux File Server The Network File System (NFS) feature provides a means of sharing Linux file systems and directories with other Linux and UNIX computers

More information

Red Hat.Actualtests.EX200.v by.Dixon.22q. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator (RHCSA) Exam

Red Hat.Actualtests.EX200.v by.Dixon.22q. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator (RHCSA) Exam Red Hat.Actualtests.EX200.v2014-12-02.by.Dixon.22q Number: EX200 Passing Score: 800 Time Limit: 120 min File Version: 14.5 http://www.gratisexam.com/ Exam Code: EX200 Exam Name: Red Hat Certified System

More information

EX200.exam.35q. Number: EX200 Passing Score: 800 Time Limit: 120 min. EX200. Red Hat Certified System Administrator RHCSA

EX200.exam.35q. Number: EX200 Passing Score: 800 Time Limit: 120 min.   EX200. Red Hat Certified System Administrator RHCSA EX200.exam.35q Number: EX200 Passing Score: 800 Time Limit: 120 min EX200 Red Hat Certified System Administrator RHCSA Exam A QUESTION 1 Configure the verification mode of your host account and the password

More information

EX200.redhat

EX200.redhat EX200.redhat Number: EX200 Passing Score: 800 Time Limit: 120 min Exam A QUESTION 1 Configure the verification mode of your host account and the password as LDAP. And it can login successfully through

More information

LPI EXAM LPI Level 2 Exam 201, Advanced Level Linux Certification, Part 1 of 2. Buy Full Product.

LPI EXAM LPI Level 2 Exam 201, Advanced Level Linux Certification, Part 1 of 2. Buy Full Product. LPI EXAM - 117-201 LPI Level 2 Exam 201, Advanced Level Linux Certification, Part 1 of 2 Buy Full Product http://www.examskey.com/117-201.html Examskey LPI 117-201 exam demo product is here for you to

More information

EX200.Lead2pass.Exam.24q. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator RHCSA. Version 14.0

EX200.Lead2pass.Exam.24q. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator RHCSA. Version 14.0 EX200.Lead2pass.Exam.24q Number: EX200 Passing Score: 800 Time Limit: 120 min File Version: 14.0 http://www.gratisexam.com/ Exam Code: EX200 Exam Name: Red Hat Certified System Administrator RHCSA Version

More information

Permission and Ownership

Permission and Ownership Permission and Ownership 1. Understanding file and directory ownership Every file on your Linux system, including directories, is owned by a specific user and group. Therefore, file permissions are defined

More information

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

This is Worksheet and Assignment 12. Disks, Partitions, and File Systems This is Worksheet and Assignment 12 This is a combined Worksheet and Assignment.. Quizzes and tests may refer to work done in this Worksheet and Assignment; save your answers. You will use a checking program

More information

Seltestengine EX200 24q

Seltestengine EX200 24q Seltestengine EX200 24q Number: EX200 Passing Score: 800 Time Limit: 120 min File Version: 22.5 http://www.gratisexam.com/ Red Hat EX200 Red Hat Certified System AdministratorRHCSA Nicely written Questions

More information

LPI LPI Level Junior Level Linux Certification Part 1 of 2. Download Full Version :

LPI LPI Level Junior Level Linux Certification Part 1 of 2. Download Full Version : LPI 101-400 LPI Level 1 101 Junior Level Linux Certification Part 1 of 2 Download Full Version : http://killexams.com/pass4sure/exam-detail/101-400 Answer: B QUESTION: 102 How many fields are in a syntactically

More information

Linux Files and the File System

Linux Files and the File System Linux Files and the File System 1. Files a. Overview A simple description of the UNIX system, also applicable to Linux, is this: "On a UNIX system, everything is a file; if something is not a file, it

More information

Partitioning and Formatting Guide

Partitioning and Formatting Guide Partitioning and Formatting Guide Version 1.2 Date 05-15-2006 Partitioning and Formatting Guide This guide is designed to explain how to setup your drive with the correct partition and format for your

More information

Chapter 6. Linux File System

Chapter 6. Linux File System Chapter 6 Linux File System 1 File System File System management how to store informations on storage devices The Hierarchical Structure Types of file Common File system Tasks 2 The Hierarchical Structure

More information

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command.

As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command. How to Increase the size of a Linux LVM by adding a new disk This post will cover how to increase the disk space for a VMware virtual machine running Linux that is using logical volume manager (LVM). First

More information

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System Class Meeting 2 * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System The file system is your interface to: physical

More information

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

Exam Actual. Higher Quality. Better Service! QUESTION & ANSWER Higher Quality Better Service! Exam Actual QUESTION & ANSWER Accurate study guides, High passing rate! Exam Actual provides update free of charge in one year! http://www.examactual.com Exam : 050-710 Title

More information

Embedded System Design

Embedded System Design Embedded System Design Lecture 10 Jaeyong Chung Systems-on-Chips (SoC) Laboratory Incheon National University Environment Variables Environment variables are a set of dynamic named values that can affect

More information

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

CST8207: GNU/Linux Operating Systems I Lab Nine Disks, Partitions, and File Systems Part 2. Disks, Partitions, and File Systems - Part 2 of 2 Student Name: Lab Section: Disks, Partitions, and File Systems - Part 2 of 2 1 Due Date - Upload to Blackboard by 8:30am Monday April 9, 2012 Submit the completed lab to Blackboard following the Rules

More information

CSE 265: System and Network Administration

CSE 265: System and Network Administration CSE 265: System and Network Administration Disks Partitions Volumes Filesystems Files Many versions SCSI: Small Computer Systems Interface SCSI-1 (1986) 8-bits, 5MB/s SCSI-2 (1990) added command queuing,

More information

Exam Name: Red Hat Certified Engineer on Redhat

Exam Name: Red Hat Certified Engineer on Redhat Vendor: Red Hat Exam Code: RH302 Exam Name: Red Hat Certified Engineer on Redhat Version: DEMO QUESTION 1 One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial

More information

Back Up (And Restore) LVM Partitions With LVM Snapshots

Back Up (And Restore) LVM Partitions With LVM Snapshots By Falko Timme Published: 2007-04-15 13:24 Back Up (And Restore) LVM Partitions With LVM Snapshots Version 1.0 Author: Falko Timme Last edited 04/11/2007 This tutorial shows

More information

File system manager. Single tool to manage your storage. Red Hat. October 24, 2011

File system manager. Single tool to manage your storage. Red Hat. October 24, 2011 File system manager Single tool to manage your storage Red Hat Lukáš Czerner October 24, 2011 Copyright 2011 Lukáš Czerner, Red Hat. Permission is granted to copy, distribute and/or modify this document

More information

Vendor: RedHat. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator - RHCSA. Version: Demo

Vendor: RedHat. Exam Code: EX200. Exam Name: Red Hat Certified System Administrator - RHCSA. Version: Demo Vendor: RedHat Exam Code: EX200 Exam Name: Red Hat Certified System Administrator - RHCSA Version: Demo EX200 Exam A QUESTION NO: 1 CRECT TEXT Configure your Host Name, IP Address, Gateway and DNS. Host

More information

SA2 v6 Linux System Administration II Net Configuration, Software, Troubleshooting

SA2 v6 Linux System Administration II Net Configuration, Software, Troubleshooting SA2 v6 Linux System Administration II Net Configuration, Software, Troubleshooting Synopsis: This is the second System Administration class, a follow-on class for new administrators with limited networking

More information

EX200 Exam Questions Demo https://www.surepassexam.com/ex200-exam-dumps.html. Red Hat. Exam Questions EX200

EX200 Exam Questions Demo https://www.surepassexam.com/ex200-exam-dumps.html. Red Hat. Exam Questions EX200 Red Hat Exam Questions EX200 EX200 Red Hat Certified System Administrator (RHCSA) Exam Version:Demo 1.CORRECT TEXT Add users: user2, user3. The Additional group of the two users: user2, user3 is the admin

More information

Braindumps EX200 15q

Braindumps EX200 15q Braindumps EX200 15q Number: EX200 Passing Score: 800 Time Limit: 120 min File Version: 22.5 http://www.gratisexam.com/ Red Hat EX200 Red Hat Certified System AdministratorRHCSA This is the best VCE I

More information

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

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage Linux+ Guide to Linux Certification, Third Edition Chapter 2 Linux Installation and Usage Objectives Install Red Hat Fedora Linux using good practices Outline the structure of the Linux interface Enter

More information

RH133. Red Hat Linux System Administration

RH133. Red Hat Linux System Administration RH133 Red Hat Linux System Administration Version 3.5 QUESTION NO: 1 RH133 John works as a Network Administrator for Perfect Solutions Inc. The company has a Linux-based network. He is working as a root

More information

EX200 - EX200 Red Hat Certified System Administrator (RHCSA) Exam

EX200 - EX200 Red Hat Certified System Administrator (RHCSA) Exam EX200 - EX200 Red Hat Certified System Administrator (RHCSA) Exam 1.CORRECT TEXT Add users: user2, user3. The Additional group of the two users: user2, user3 is the admin group Password: redhat Answer:

More information

Actual4Test. Actual4test - actual test exam dumps-pass for IT exams

Actual4Test.   Actual4test - actual test exam dumps-pass for IT exams Actual4Test http://www.actual4test.com Actual4test - actual test exam dumps-pass for IT exams Exam : RH-302 Title : Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs) Vendors : RedHat Version

More information

Manage your disk space... for free :)

Manage your disk space... for free :) Manage your disk space... for free :) Julien Wallior Plug Central Agenda Background RAID LVM Some basics Practice Booting on a raid device What is that? How it works Hardware raid... if you really want

More information

Exam Questions EX200

Exam Questions EX200 Exam Questions EX200 EX200 Red Hat Certified System Administrator (RHCSA) Exam http://www.2passeasy.com/dumps/ex200/ 1.CORRECT TEXT Add users: user2, user3. The Additional group of the two users: user2,

More information

Manual File System Check Linux Command Line

Manual File System Check Linux Command Line Manual File System Check Linux Command Line The traditional Unix environment is a CLI (command line interface), where you To move around the file system you will use cd. Nearly every command and application

More information

Exam Linux-Praxis - 1 ( From )

Exam Linux-Praxis - 1 ( From  ) Exam Linux-Praxis - 1 ( From http://www.linux-praxis.de ) (1)Which of the following commands results in mailing the content of the current directory to Bob? A. mail Bob < ls B. ls > mail Bob C. ls mail

More information

ITDumpsKR. IT 인증시험한방에패스시키는최신버전시험대비덤프

ITDumpsKR.   IT 인증시험한방에패스시키는최신버전시험대비덤프 ITDumpsKR http://www.itdumpskr.com IT 인증시험한방에패스시키는최신버전시험대비덤프 Exam : EX200 Title : Red Hat Certified System Administrator - RHCSA Vendor : RedHat Version : DEMO Get Latest & Valid EX200 Exam's Question

More information

Getting Started with Pentaho and Cloudera QuickStart VM

Getting Started with Pentaho and Cloudera QuickStart VM Getting Started with Pentaho and Cloudera QuickStart VM This page intentionally left blank. Contents Overview... 1 Before You Begin... 1 Prerequisites... 1 Use Case: Development Sandbox for Pentaho and

More information

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

RHCE BOOT CAMP. Filesystem Administration. Wednesday, November 28, 12 RHCE BOOT CAMP Filesystem Administration PARTITIONING What is partitioning? Splitting up a hard drive into organizable chunks Why? Isolates filesystem corruption Simplifies/speeds backups Allows optimizing

More information

System Administration. Storage Systems

System Administration. Storage Systems System Administration Storage Systems Agenda Storage Devices Partitioning LVM File Systems STORAGE DEVICES Single Disk RAID? RAID Redundant Array of Independent Disks Software vs. Hardware RAID 0, 1,

More information

BT Cloud Compute. Adding a Volume to an existing VM running Linux. The power to build your own cloud solutions to serve your specific business needs

BT Cloud Compute. Adding a Volume to an existing VM running Linux. The power to build your own cloud solutions to serve your specific business needs Adding a Volume to an existing VM running Linux BT Cloud Compute The power to build your own cloud solutions to serve your specific business needs Issue 3 Introduction This guide has been designed to walk

More information

Lecture 2: The file system

Lecture 2: The file system Lecture 2: The file system Hands-on Unix System Administration DeCal 2012-01-30 1 / 19 Basic programs Basic commands 2 / 19 Basic programs Basic programs Basic commands pwd cd ls cp, mv less, vi 3 / 19

More information

Commands LVM information can be created, displayed, and manipulated with the following commands:

Commands LVM information can be created, displayed, and manipulated with the following commands: NAME lvm - Logical Volume Manager (LVM) DESCRIPTION The Logical Volume Manager (LVM) is a subsystem for managing disk space. The HP LVM subsystem offers value-added features, such as mirroring (with the

More information

MFT / Linux Setup Documentation May 25, 2008

MFT / Linux Setup Documentation May 25, 2008 MFT / Linux Setup Documentation May 25, 2008 1. Loading the MFT software. The MFT software actually uses a driver called Fast Block Device or fbd. The MFT software is designed to run from /usr/local/fbd.

More information

RH202. Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs) Exam.

RH202. Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs) Exam. REDHAT RH202 Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs) Exam TYPE: DEMO http://www.examskey.com/rh202.html Examskey REDHAT RH202 exam demo product is here for you to test the quality

More information

CST Algonquin College 2

CST Algonquin College 2 Partitions Lab due dates: Labs are due as specified usually on Page1 of the Lab document Lab due dates are expressed as: 10 min before the end of the lab period during a certain week There is a grace period

More information

CSE 265: System and Network Administration

CSE 265: System and Network Administration CSE 265: System and Network Administration Disks Partitions Volumes Filesystems Files Disk interfaces Relatively few SCSI (pronounced scuzzy ) Common, widely supported IDE a.k.a. ATA or PATA, and SATA

More information

SA3 E7 Advanced Linux System Administration III Internet Network Services and Security

SA3 E7 Advanced Linux System Administration III Internet Network Services and Security SA3 E7 Advanced Linux System Administration III Internet Network Services and Security Synopsis: This is a fast paced, level 3, advanced class for experienced administrators of Linux based hosts on a network

More information

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

More on file systems, Booting Todd Kelley CST8177 Todd Kelley 1 More on file systems, Booting Todd Kelley kelleyt@algonquincollege.com CST8177 Todd Kelley 1 bind mounts quotas Booting process and SysVinit Installation Disk rescue mode 2 A bind mount is used to mount

More information

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions

Overview LEARN. History of Linux Linux Architecture Linux File System Linux Access Linux Commands File Permission Editors Conclusion and Questions Lanka Education and Research Network Linux Architecture, Linux File System, Linux Basic Commands 28 th November 2016 Dilum Samarasinhe () Overview History of Linux Linux Architecture Linux File System

More information

Exercise 4: Access Control and Filesystem Security

Exercise 4: Access Control and Filesystem Security Exercise 4: Access Control and Filesystem Security Introduction Duration: 90 min Maximum Points: 30 Note: The solutions of theorethical assignments should be handed out before the practical part in the

More information

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

Project 3: An Introduction to File Systems. COP 4610 / CGS 5765 Principles of Operating Systems Project 3: An Introduction to File Systems COP 4610 / CGS 5765 Principles of Operating Systems Introduction Project 3 learning objectives File system design and implementation File system testing Data

More information

CIT 470: Advanced Network and System Administration. Topics. Filesystems and Namespaces. Filesystems

CIT 470: Advanced Network and System Administration. Topics. Filesystems and Namespaces. Filesystems CIT 470: Advanced Network and System Administration Filesystems Slide #1 Topics 1. Filesystems and Namespaces 2. Filesystem Types 3. Inodes and Superblocks 4. Network Filesystems Slide #2 Filesystems and

More information

Linux File System Study Guide

Linux File System Study Guide Linux File System Study Guide Copyright 1998, 1999 P. Tobin Maginnis This document is free; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the

More information

Partitioning and Formatting Reference Guide

Partitioning and Formatting Reference Guide Partitioning and Formatting Reference Guide This guide provides simple guidelines for the initial setup of your hard disk drive using the most common methods and utilities available within the following

More information

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

LiLo Crash Recovery. 1.0 Preparation Tips. 2.0 Quick Steps to recovery LiLo Crash Recovery ***** *** * I have captured this information from someone else website which I didn t record where I copied it from or when I copied it. And I ve left it as it is. The credit should

More information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

Comparison between Tru64 UNIX and HP-UX Filesystems and Volume-Managers

Comparison between Tru64 UNIX and HP-UX Filesystems and Volume-Managers Comparison between Tru64 UNIX and HP-UX Filesystems and Volume-Managers Thomas Aussmann Consultant Proactive Services Hewlett-Packard GmbH thomas.aussmann@hp.com 2004 Hewlett-Packard Development Company,

More information

TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103

TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103 TestOut Linux Pro - English 4.0.x OBJECTIVE MAPPING: CompTIA Linux+ LX0-103 CompTIA Linux+ Powered by LPI LX0-103 Objectives The Linux+ Powered by LPI Exam: LX0-103 exam covers the following topics. #

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2017 Lecture 24 File Systems Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 Questions from last time How

More information

The UNIX File System

The UNIX File System The UNIX File System Magnus Johansson May 9, 2007 1 UNIX file system A file system is created with mkfs. It defines a number of parameters for the system, such as: bootblock - contains a primary boot program

More information

Kernel Korner IBM's Journaled Filesystem

Kernel Korner IBM's Journaled Filesystem Kernel Korner IBM's Journaled Filesystem To restart a telecom server quickly, you need a journaling filesystem. Here's how you can move to IBM's AIX-derived JFS. by Steve Best, David Gordon and Ibrahim

More information

UNIX File Hierarchy: Structure and Commands

UNIX File Hierarchy: Structure and Commands UNIX File Hierarchy: Structure and Commands The UNIX operating system organizes files into a tree structure with a root named by the character /. An example of the directory tree is shown below. / bin

More information

LPI Linux LPIC1. Module 4

LPI Linux LPIC1. Module 4 LPI Linux LPIC1 Module 4 1 Evans Ikua Lead Editor Kenya ikua@fossfa.net 2 Chris Brown Content Author UK cb11840@gmail.com 3 Mark Clarke Content Author RSA mark@jumpingbean.co.za 4 Brian Ssennoga Content

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Spring 2018 Lecture 22 File Systems Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 Disk Structure Disk can

More information

File System Internals. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

File System Internals. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University File System Internals Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics File system implementation File descriptor table, File table

More information

File System. yihshih

File System. yihshih File System yihshih Files % ls l d rwx--x--x 7 wutzh gcs 1024 Sep 22 17:25 public_html File type File access mode # of links File user owner File group owner File size File last modify time 2 File name

More information

The UNIX File System

The UNIX File System The UNIX File System Magnus Johansson (May 2007) 1 UNIX file system A file system is created with mkfs. It defines a number of parameters for the system as depicted in figure 1. These paremeters include

More information

File Systems. What do we need to know?

File Systems. What do we need to know? File Systems Chapter 4 1 What do we need to know? How are files viewed on different OS s? What is a file system from the programmer s viewpoint? You mostly know this, but we ll review the main points.

More information

Unix Filesystem. January 26 th, 2004 Class Meeting 2

Unix Filesystem. January 26 th, 2004 Class Meeting 2 Unix Filesystem January 26 th, 2004 Class Meeting 2 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty at Virginia Tech Unix Filesystem! The filesystem is your interface

More information

Testpassport.

Testpassport. Testpassport http://www.testpassport.cn Exam : RH-302 Title : Red Hat Certified Engineer on Redhat Enterprise Linux 5 (Labs) Version : Demo 1 / 12 1.CORRECT TEXT Change the root Password to redtophat Boot

More information

Tru64 UNIX and HP-UX File Systems and Volume Managers

Tru64 UNIX and HP-UX File Systems and Volume Managers Tru64 UNIX and HP-UX File Systems and Volume Managers Thomas Aussmann Consultant Proactive Services Hewlett-Packard GmbH thomas.aussmann@hp.com 2004 Hewlett-Packard Dev elopment Company, L.P. The inf ormation

More information

Advanced UNIX File Systems. Berkley Fast File System, Logging File System, Virtual File Systems

Advanced UNIX File Systems. Berkley Fast File System, Logging File System, Virtual File Systems Advanced UNIX File Systems Berkley Fast File System, Logging File System, Virtual File Systems Classical Unix File System Traditional UNIX file system keeps I-node information separately from the data

More information

OPENARCHIVE The Final Destination of Your Data. Quick Start Guide

OPENARCHIVE The Final Destination of Your Data. Quick Start Guide OPENARCHIVE The Final Destination of Your Data Quick Start Guide Version 3.5 Part number: 0309 OA-QG-E-350 First edition: Februar 2009 Content 1 Content 1 Introduction 3 1.1 About this Quick Start Guide...

More information

Computer Systems Laboratory Sungkyunkwan University

Computer Systems Laboratory Sungkyunkwan University File System Internals Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics File system implementation File descriptor table, File table

More information

RH-202. RedHat. Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs)

RH-202. RedHat. Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs) RedHat RH-202 Redhat Certified Technician on Redhat Enterprise Linux 4 (Labs) Download Full Version : https://killexams.com/pass4sure/exam-detail/rh-202 QUESTION: 159 Install the dialog-* Questions asking

More information

The table below lists the domains measured by this examination and the extent to which they are represented in the examination.

The table below lists the domains measured by this examination and the extent to which they are represented in the examination. Introduction The Linux+ Certification is designed to measure the competencies of the Linux Professional with six to twelve months experience with the Linux operating system. This person provides basic

More information

Full file at https://fratstock.eu

Full file at https://fratstock.eu Guide to UNIX Using Linux Fourth Edition Chapter 2 Solutions Answers to the Chapter 2 Review Questions 1. Your company is discussing plans to migrate desktop and laptop users to Linux. One concern raised

More information

File System Internals. Jo, Heeseung

File System Internals. Jo, Heeseung File System Internals Jo, Heeseung Today's Topics File system implementation File descriptor table, File table Virtual file system File system design issues Directory implementation: filename -> metadata

More information

Welcome. A Basic Tutorial Introduction to Using. Floppy Diskettes. Not Dead Yet. By Stan Reichardt

Welcome. A Basic Tutorial Introduction to Using. Floppy Diskettes. Not Dead Yet. By Stan Reichardt Welcome A Basic Tutorial Introduction to Using Floppy Diskettes Not Dead Yet By Stan Reichardt stan2007@sluug.org 1 First "The rumors of my death have been greatly exaggerated." -- Mark Twain Consider:

More information

Linux Administration

Linux Administration Linux Administration This course will cover all aspects of Linux Certification. At the end of the course delegates will have the skills required to administer a Linux System. It is designed for professionals

More information

TDDB68 Concurrent Programming and Operating Systems. Lecture: File systems

TDDB68 Concurrent Programming and Operating Systems. Lecture: File systems TDDB68 Concurrent Programming and Operating Systems Lecture: File systems Mikael Asplund, Senior Lecturer Real-time Systems Laboratory Department of Computer and Information Science Copyright Notice: Thanks

More information

Learn Linux, 101: Control mounting and unmounting of

Learn Linux, 101: Control mounting and unmounting of Getting to your data Ian Shields January 27, 2016 (First published October 20, 2010) Learn to mount your Linux ; configure and use removable USB, IEE 1394, or other devices; and properly access floppy

More information

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

Manage Directories and Files in Linux. Objectives. Understand the Filesystem Hierarchy Standard (FHS) Manage Directories and Files in Linux Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change Directories and List Directory Contents Create and View

More information

Use the Reiser4 file system under Linux rev.2

Use the Reiser4 file system under Linux rev.2 Use the Reiser4 file system under Linux rev.2 An alternative advanced file system designed for daredevils Check out the ext2 file system (second extended file system), the ext3 (third extended file system),

More information

Manually Mount Usb Flash Drive Linux Command Line Redhat

Manually Mount Usb Flash Drive Linux Command Line Redhat Manually Mount Usb Flash Drive Linux Command Line Redhat How to Format USB in Linux using Command Line. This article will help you to format USB Flash drive in Ubuntu systems via Command line. So first

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

More information