SlideShare una empresa de Scribd logo
1 de 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)

Más contenido relacionado

Similar a 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 a 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
 

Más de Pandiya Rajan

Más 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
 

Último

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
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
 
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
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
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
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 

Último (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
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
 
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
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
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
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
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"
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 

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)