SlideShare une entreprise Scribd logo
1  sur  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)

Contenu connexe

Similaire à 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
 

Similaire à 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
 

Plus de Pandiya Rajan

Plus de 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
 

Dernier

Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 

Dernier (20)

Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 

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)