Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

partition layout on redhat and Linux

Posted on 2010-11-11
5
Medium Priority
?
638 Views
Last Modified: 2012-05-10
could someone in simple Englist explain what is going on in these two lines word by word.  They are taken from a  Kickstart config file and relate to partition sises.  I want to modify them but dont understand them.  


part pv.100000 --size=8000 --grow
volgroup vg0 --pesize=32768 pv.100000
0
Comment
Question by:enigma1234567890
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 79

Accepted Solution

by:
arnold earned 2000 total points
ID: 34115919
Create a partition of 8000 MB
Create a Volume group vg0 with physical extent size of 32768 (not sure of the units bytes,kbytes,mbytes) versus the default 4MB  using the pv.10000

Then you would likely have lvm instruction to create the logical volumes within the Volgroup VG0.

http://linuxgazette.net/issue43/nielsen.kickstart.html
http://www.faqs.org/docs/Linux-HOWTO/KickStart-HOWTO.html

An example of a kickstart with LVM which is a closer match to your situation.
Your setup relies on a single disk being in the system .
http://www.redhat.com/archives/rhelv5-list/2007-October/msg00007.html
0
 
LVL 79

Expert Comment

by:arnold
ID: 34116099
pe will create 32768MB of extents.

http://linux.die.net/man/8/vgchange
0
 

Author Comment

by:enigma1234567890
ID: 34118482
what does this bit do --> part pv.100000 -
0
 

Author Comment

by:enigma1234567890
ID: 34118740
sorry for got to past the complete pat I want to know what this line does
part pv.100000 --size=8000 --grow
0
 
LVL 79

Assisted Solution

by:arnold
arnold earned 2000 total points
ID: 34121300
It creates partition and ceates a reference to it as pv.100000 of size 8000 MB --grow I think means is equivalent to create.

using the label eliminates the need to know which partition on which drive this process was running on.

i.e. the drive is /dev/sda
so when the part command rans, the partition could be /dev/sda1 /dev/sda2 etc. depending on whether there are other part commands before it.  Assigning the label to the partition means that when you want to create/define a volumegroup you would use the label instead of maintaining the count of the part command .

Please look at the link I posted, I think it does a much better job at illustrating and describing the whole process.
It further adds a RAID overlay to the LVM

In the example, the --ondisk=/dev/hda is used to direct a specific partition to a specific disk that is supposed to be in the system.  If this disk is not in the system this instruction will fail and so will the install attempt.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question