Solved

partition layout on redhat and Linux

Posted on 2010-11-11
5
633 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 78

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 78

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 78

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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 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