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
Solved

partition layout on redhat and Linux

Posted on 2010-11-11
5
630 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
  • 3
  • 2
5 Comments
 
LVL 77

Accepted Solution

by:
arnold earned 500 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 77

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 77

Assisted Solution

by:arnold
arnold earned 500 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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 find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

856 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