SlideShare a Scribd company logo
1 of 26
Chapter 2 Installation
Overview
Planning the Installation
Questions:
– Size of partitions
– Where to put partitions
– Which software packages to install
– Install GUI or not
Hardware Requirements
RAM: 128 MB RAM for a 32 bit x86
system in text mode or 192-256 MB for
GUI
CPU: 200 MHz Pentium or equiv
600 MB to 9 GB
Fedora Core or Red Hat Enterprise
Linux?
Fedora Project is sponsored by Red Hat
and supported by the open-source
community. Releases every 6 months,
called Fedora Core, tests cutting-edge
code – not for production environments.
Red Hat is more stable and safer to use in
production environments.
Fresh Copy or Upgrading?
Upgrade attempts to preserve both system
and user data files – brings utilities that
are present in the old version up-to-date
but does not install new utilities. Existing
configuration files are preserves and new
oned added with a .rpmnew extension.
Fresh installation is more stable than
upgrade (clean install)
GUI or Text?
Anaconda utility controls both types of
installation.
Setting up the Hard Disk
Partition (slice) – a section of a hard disk
that has a device name such as /dev/hda1
so that it can be addressed independently.
Disk Druid can be used to create partitions
at installation time
LVM – Logical volumes (LV) can be set up
to function like partitions, allowing LVM
(Logical Volume Manager) to change the
size of volumes.
Setting up the Hard Disk
File Systems – Before programs can be
written to a partition, a file system must be
present. mkfs writes a file system on a
partition.
– Red Hat – ext3
– Windows – Fat and NTFS
– Apple – HFS
fsck checks the integrity of the file system
File System Independence
The state of one filesystem does not affect
other filesystems
Primary and Extended Partitions
Partitioning allows you to divide an IDE disk into
up to 63 separate partitions or subdisks; a SCSI
disk may be partitioned into 15.
Partition Rules:
– A disk can hold up to 4 primary partitions
– One of these primary partitions can be divided into
multiple logical partitions called an extended partition.
Therefore, if you want more than 4 partitions on a
drive, you must set up an extended partition.
– A typical disk is divided into 3 primary partitions and 1
extended partition. Establish the sizes of the 3
primaries and the extended will take up the rest of the
disk.
Partitioning a Disk
During installation, Anaconda calls Disk
Druid to set up disk partitions. (Druid =
wizard)
For more info:
http:/www.tldp.org/HOWTO/Partition
Planning Partitions
Many people choose at least 3 partitions:
– /boot 50-300MB – holds boot up info and
other info that the system needs to boot. Red
Hat recommends at least 100 MB
– (swap) 512MB-2+GB
– / (root) – contains the remainder of the boot
space
Disadvantage – if DOS attack occurs,
entire root partition can fill up
Additional Partition
Recommendations
Consider setting up an LVM BEFORE you
create partitions (LVs). LVM allows you to
change partition sizes after the system is
installed.
Swap partition should be at least twice the
size of RAM. Used for temporary storage
when RAM is exceeded. (Min 512MB)
Recommended Partition/Size
/boot – 100 MB or greater depending on size and
number of kernels to be stored
Swap – twice the size of RAM; min of 512MB
/var – holds system logs which can grow in size
tremendously. Very good idea to create a separate
partition. 500MB to 2GB
/home or /usr/home– good to keep user home directories
in their own partition
/ (root) min of 1 GB
/usr – useful if plan to export /usr to another system.
Size depends on package installation. Min of 1.7-5.5 GB
/tmp – min of 500 MB
/boot placement
On older systems, /boot partition must
reside completely below cylinder 1023 of
the disk.
When more than 1 hard disk, /boot must
reside:
– Multiple IDE or EIDE – primary controller
– Multiple SCSI – ID0 or ID1
– Multiple IDE and SCSI – primary IDE or SCSI
ID 0
Additional Partition Considerations
/usr/local and /opt – if many packages are
installed
RAID
Redundant Array of Inexpensive/Independent
Disks – uses 2 or more hard drives or partitions
in combination to improve fault tolerance and/or
performance. Applications and utilities see
these as a single logical device. Certain types
can be used to spread data redundantly across
the disks to protect data from hard drive failure.
RAID uses extensive CPU time. Fedora 5
introduced support for motherboard-based RAID
chips through the dmraid driver set.
RAID Levels
Disk Druid allows choices of:
– RAID Level 0 (Striping) – improves performance but
no redundancy
– RAID Level 1 (Mirroring) – simple redundancy,
improves data reliability, and read-intensive apps.
Storage capacity is equal to one of the disks
– RAID Level 5 (Disk Striping with parity) – Provides
redundancy and improves performance. Storage
capacity equal to sum of all partition minus one of the
partitions.
– RAID Level 6 (Disk Striping with double parity) –
Improves upon level 5 by protecting data when 2
disks fail at once.
LVM: Logical Volume Manager
LVM allows you to change the size of
logical volumes (LV), can use system-
config-lvm to make LVs smaller or larger
without affecting data. You must choose
to use LVM at the time you install the
system or add a disk, can’t apply to a disk
full of data. Supports IDE or SCSI drives
as well as multiple devices using RAID.
LVM
LVM groups disk components (partitions,
hard disks, or storage device arrays)
called physical volumes (PVs), into a
storage pool or virtual disk, called a
volume group (VG) You allocate a portion
of a VG to create a logical volume.
Figure 2-1 LVM: Logical Volume
Manager
How the Installation Works
Lab 1
The Medium: Where Is the Source
Data?
Formats:
– CDs, DVD, network hard disk
– CD or DVD image (ISO images)
Sources:
– CDs or DVD
Red Hat Enterprise Linux – Sold by Red Hat and
downloadable as ISO images
Fedora – DVD comes with book – no customer support, but
free
– Hard Disk
– Network
ISO Image Files
Utilities such as BitTorrent can be used to
download the ISO images. An ISO image
is an exat image of what needs to be on
the CD or DVD. Burning the CD or DVD
involves using a special selection for
burning an ISO image such as “Record
CD from CD Image” or “Burn CD Image”.
Rescue CD
The rescue CD, the first installation CD, or
the installation DVD can be booted from to
bring up the system in rescue mode.
Gather Information Before
Installation
Hard disk – manufacturer, model number, size
Memory
SCSI interface card
NIC
Video card and amount of VRAM
Sound card
Mouse (PS/2, USB, etc)
Monitor
IP addresses
– System hostname
– System address
– Network mask
– Gateway address
– DNS addresses
– Domain name (optional)

More Related Content

Similar to logical volume manager.ppt

How to install gentoo distributed
How to install gentoo distributedHow to install gentoo distributed
How to install gentoo distributedSongWang54
 
HARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATINGHARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATINGchiju chinnu
 
101 2.1 design hard disk layout
101 2.1 design hard disk layout101 2.1 design hard disk layout
101 2.1 design hard disk layoutAcácio Oliveira
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in LinuxHenry Osborne
 
Linux fundamentals Training
Linux fundamentals TrainingLinux fundamentals Training
Linux fundamentals TrainingLove Steven
 
UNIX(Essential needs of administration)
UNIX(Essential needs of administration)UNIX(Essential needs of administration)
UNIX(Essential needs of administration)Papu Kumar
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.pptRakesh Kadu
 
Recipe of a linux Live CD (archived)
Recipe of a linux Live CD (archived)Recipe of a linux Live CD (archived)
Recipe of a linux Live CD (archived)Bud Siddhisena
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case studyLavanya G
 
Asiabsdcon2013
Asiabsdcon2013Asiabsdcon2013
Asiabsdcon2013krispcbsd
 
Unit3 ppt3 hard drive
Unit3 ppt3 hard driveUnit3 ppt3 hard drive
Unit3 ppt3 hard driveFarhanMalik93
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorialDru Lavigne
 
Best Practices for Deploying Hadoop (BigInsights) in the Cloud
Best Practices for Deploying Hadoop (BigInsights) in the CloudBest Practices for Deploying Hadoop (BigInsights) in the Cloud
Best Practices for Deploying Hadoop (BigInsights) in the CloudLeons Petražickis
 

Similar to logical volume manager.ppt (20)

How to install gentoo distributed
How to install gentoo distributedHow to install gentoo distributed
How to install gentoo distributed
 
HARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATINGHARD DISK PARTITIONING,FORMATING
HARD DISK PARTITIONING,FORMATING
 
Red Hat Training
Red Hat   TrainingRed Hat   Training
Red Hat Training
 
PC Hardware Servicing Hand Out 2
PC Hardware Servicing Hand Out 2PC Hardware Servicing Hand Out 2
PC Hardware Servicing Hand Out 2
 
101 2.1 design hard disk layout
101 2.1 design hard disk layout101 2.1 design hard disk layout
101 2.1 design hard disk layout
 
Xen time machine
Xen time machineXen time machine
Xen time machine
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 
Linux fundamentals Training
Linux fundamentals TrainingLinux fundamentals Training
Linux fundamentals Training
 
FreeBSD Portscamp, Kuala Lumpur 2016
FreeBSD Portscamp, Kuala Lumpur 2016FreeBSD Portscamp, Kuala Lumpur 2016
FreeBSD Portscamp, Kuala Lumpur 2016
 
UNIX(Essential needs of administration)
UNIX(Essential needs of administration)UNIX(Essential needs of administration)
UNIX(Essential needs of administration)
 
Storage Management in Linux OS.ppt
Storage Management in Linux OS.pptStorage Management in Linux OS.ppt
Storage Management in Linux OS.ppt
 
Recipe of a linux Live CD (archived)
Recipe of a linux Live CD (archived)Recipe of a linux Live CD (archived)
Recipe of a linux Live CD (archived)
 
HARD DISK DRIVE ppt
HARD DISK DRIVE pptHARD DISK DRIVE ppt
HARD DISK DRIVE ppt
 
Hard disk PPT
Hard disk PPTHard disk PPT
Hard disk PPT
 
I/O System and Case study
I/O System and Case studyI/O System and Case study
I/O System and Case study
 
Asiabsdcon2013
Asiabsdcon2013Asiabsdcon2013
Asiabsdcon2013
 
Unit3 ppt3 hard drive
Unit3 ppt3 hard driveUnit3 ppt3 hard drive
Unit3 ppt3 hard drive
 
windows.pptx
windows.pptxwindows.pptx
windows.pptx
 
Dru lavigne servers-tutorial
Dru lavigne servers-tutorialDru lavigne servers-tutorial
Dru lavigne servers-tutorial
 
Best Practices for Deploying Hadoop (BigInsights) in the Cloud
Best Practices for Deploying Hadoop (BigInsights) in the CloudBest Practices for Deploying Hadoop (BigInsights) in the Cloud
Best Practices for Deploying Hadoop (BigInsights) in the Cloud
 

More from Pandiya Rajan

More from Pandiya Rajan (20)

CICD.pptx
CICD.pptxCICD.pptx
CICD.pptx
 
HTML-Advance.pptx
HTML-Advance.pptxHTML-Advance.pptx
HTML-Advance.pptx
 
css1.pptx
css1.pptxcss1.pptx
css1.pptx
 
HTML-Basic.pptx
HTML-Basic.pptxHTML-Basic.pptx
HTML-Basic.pptx
 
UNIT-I Introduction to CICD.pptx
UNIT-I Introduction to CICD.pptxUNIT-I Introduction to CICD.pptx
UNIT-I Introduction to CICD.pptx
 
UNIT-I Introduction to Ansible.pptx
UNIT-I Introduction to Ansible.pptxUNIT-I Introduction to Ansible.pptx
UNIT-I Introduction to Ansible.pptx
 
UNIT-I Introduction to CICD.pptx
UNIT-I Introduction to CICD.pptxUNIT-I Introduction to CICD.pptx
UNIT-I Introduction to CICD.pptx
 
page_fault pbm.ppt
page_fault pbm.pptpage_fault pbm.ppt
page_fault pbm.ppt
 
process syn.ppt
process syn.pptprocess syn.ppt
process syn.ppt
 
Selenium.pptx
Selenium.pptxSelenium.pptx
Selenium.pptx
 
selinuxbasicusage.pptx
selinuxbasicusage.pptxselinuxbasicusage.pptx
selinuxbasicusage.pptx
 
lvm.pptx
lvm.pptxlvm.pptx
lvm.pptx
 
SSH.ppt
SSH.pptSSH.ppt
SSH.ppt
 
environmentalpollution-.pptx
environmentalpollution-.pptxenvironmentalpollution-.pptx
environmentalpollution-.pptx
 
DM.pptx
DM.pptxDM.pptx
DM.pptx
 
thermal pollution.pptx
thermal pollution.pptxthermal pollution.pptx
thermal pollution.pptx
 
marinepollution.pptx
marinepollution.pptxmarinepollution.pptx
marinepollution.pptx
 
Presentation1.pptx
Presentation1.pptxPresentation1.pptx
Presentation1.pptx
 
c-c++-java-python programs.docx
c-c++-java-python programs.docxc-c++-java-python programs.docx
c-c++-java-python programs.docx
 
CMMI.pptx
CMMI.pptxCMMI.pptx
CMMI.pptx
 

Recently uploaded

EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxRaymartEstabillo3
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationAadityaSharma884161
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 

Recently uploaded (20)

EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptxEPANDING THE CONTENT OF AN OUTLINE using notes.pptx
EPANDING THE CONTENT OF AN OUTLINE using notes.pptx
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 
DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint PresentationROOT CAUSE ANALYSIS PowerPoint Presentation
ROOT CAUSE ANALYSIS PowerPoint Presentation
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 

logical volume manager.ppt

  • 2. Planning the Installation Questions: – Size of partitions – Where to put partitions – Which software packages to install – Install GUI or not
  • 3. Hardware Requirements RAM: 128 MB RAM for a 32 bit x86 system in text mode or 192-256 MB for GUI CPU: 200 MHz Pentium or equiv 600 MB to 9 GB
  • 4. Fedora Core or Red Hat Enterprise Linux? Fedora Project is sponsored by Red Hat and supported by the open-source community. Releases every 6 months, called Fedora Core, tests cutting-edge code – not for production environments. Red Hat is more stable and safer to use in production environments.
  • 5. Fresh Copy or Upgrading? Upgrade attempts to preserve both system and user data files – brings utilities that are present in the old version up-to-date but does not install new utilities. Existing configuration files are preserves and new oned added with a .rpmnew extension. Fresh installation is more stable than upgrade (clean install)
  • 6. GUI or Text? Anaconda utility controls both types of installation.
  • 7. Setting up the Hard Disk Partition (slice) – a section of a hard disk that has a device name such as /dev/hda1 so that it can be addressed independently. Disk Druid can be used to create partitions at installation time LVM – Logical volumes (LV) can be set up to function like partitions, allowing LVM (Logical Volume Manager) to change the size of volumes.
  • 8. Setting up the Hard Disk File Systems – Before programs can be written to a partition, a file system must be present. mkfs writes a file system on a partition. – Red Hat – ext3 – Windows – Fat and NTFS – Apple – HFS fsck checks the integrity of the file system
  • 9. File System Independence The state of one filesystem does not affect other filesystems
  • 10. Primary and Extended Partitions Partitioning allows you to divide an IDE disk into up to 63 separate partitions or subdisks; a SCSI disk may be partitioned into 15. Partition Rules: – A disk can hold up to 4 primary partitions – One of these primary partitions can be divided into multiple logical partitions called an extended partition. Therefore, if you want more than 4 partitions on a drive, you must set up an extended partition. – A typical disk is divided into 3 primary partitions and 1 extended partition. Establish the sizes of the 3 primaries and the extended will take up the rest of the disk.
  • 11. Partitioning a Disk During installation, Anaconda calls Disk Druid to set up disk partitions. (Druid = wizard) For more info: http:/www.tldp.org/HOWTO/Partition
  • 12. Planning Partitions Many people choose at least 3 partitions: – /boot 50-300MB – holds boot up info and other info that the system needs to boot. Red Hat recommends at least 100 MB – (swap) 512MB-2+GB – / (root) – contains the remainder of the boot space Disadvantage – if DOS attack occurs, entire root partition can fill up
  • 13. Additional Partition Recommendations Consider setting up an LVM BEFORE you create partitions (LVs). LVM allows you to change partition sizes after the system is installed. Swap partition should be at least twice the size of RAM. Used for temporary storage when RAM is exceeded. (Min 512MB)
  • 14. Recommended Partition/Size /boot – 100 MB or greater depending on size and number of kernels to be stored Swap – twice the size of RAM; min of 512MB /var – holds system logs which can grow in size tremendously. Very good idea to create a separate partition. 500MB to 2GB /home or /usr/home– good to keep user home directories in their own partition / (root) min of 1 GB /usr – useful if plan to export /usr to another system. Size depends on package installation. Min of 1.7-5.5 GB /tmp – min of 500 MB
  • 15. /boot placement On older systems, /boot partition must reside completely below cylinder 1023 of the disk. When more than 1 hard disk, /boot must reside: – Multiple IDE or EIDE – primary controller – Multiple SCSI – ID0 or ID1 – Multiple IDE and SCSI – primary IDE or SCSI ID 0
  • 16. Additional Partition Considerations /usr/local and /opt – if many packages are installed
  • 17. RAID Redundant Array of Inexpensive/Independent Disks – uses 2 or more hard drives or partitions in combination to improve fault tolerance and/or performance. Applications and utilities see these as a single logical device. Certain types can be used to spread data redundantly across the disks to protect data from hard drive failure. RAID uses extensive CPU time. Fedora 5 introduced support for motherboard-based RAID chips through the dmraid driver set.
  • 18. RAID Levels Disk Druid allows choices of: – RAID Level 0 (Striping) – improves performance but no redundancy – RAID Level 1 (Mirroring) – simple redundancy, improves data reliability, and read-intensive apps. Storage capacity is equal to one of the disks – RAID Level 5 (Disk Striping with parity) – Provides redundancy and improves performance. Storage capacity equal to sum of all partition minus one of the partitions. – RAID Level 6 (Disk Striping with double parity) – Improves upon level 5 by protecting data when 2 disks fail at once.
  • 19. LVM: Logical Volume Manager LVM allows you to change the size of logical volumes (LV), can use system- config-lvm to make LVs smaller or larger without affecting data. You must choose to use LVM at the time you install the system or add a disk, can’t apply to a disk full of data. Supports IDE or SCSI drives as well as multiple devices using RAID.
  • 20. LVM LVM groups disk components (partitions, hard disks, or storage device arrays) called physical volumes (PVs), into a storage pool or virtual disk, called a volume group (VG) You allocate a portion of a VG to create a logical volume.
  • 21. Figure 2-1 LVM: Logical Volume Manager
  • 22. How the Installation Works Lab 1
  • 23. The Medium: Where Is the Source Data? Formats: – CDs, DVD, network hard disk – CD or DVD image (ISO images) Sources: – CDs or DVD Red Hat Enterprise Linux – Sold by Red Hat and downloadable as ISO images Fedora – DVD comes with book – no customer support, but free – Hard Disk – Network
  • 24. ISO Image Files Utilities such as BitTorrent can be used to download the ISO images. An ISO image is an exat image of what needs to be on the CD or DVD. Burning the CD or DVD involves using a special selection for burning an ISO image such as “Record CD from CD Image” or “Burn CD Image”.
  • 25. Rescue CD The rescue CD, the first installation CD, or the installation DVD can be booted from to bring up the system in rescue mode.
  • 26. Gather Information Before Installation Hard disk – manufacturer, model number, size Memory SCSI interface card NIC Video card and amount of VRAM Sound card Mouse (PS/2, USB, etc) Monitor IP addresses – System hostname – System address – Network mask – Gateway address – DNS addresses – Domain name (optional)