Solved

volume groups and linux setup

Posted on 2010-11-12
5
378 Views
Last Modified: 2012-05-10
I want to slice up a  150GB hard disk that is mirrored in hardware  can someone recommend a good generic partition layout that I can add to a kickstart file.

I would like to use volume groups.  Please explain why you have used the recommended layout.  

Thanks
0
Comment
Question by:enigma1234567890
  • 2
  • 2
5 Comments
 
LVL 1

Accepted Solution

by:
reichhartkg earned 500 total points
ID: 34118761
Here's my partition config.  It creates a 512MB /boot partition and then creates a volume group (VG) with the remainder of sda.  The VG is divided up into a 2GB swap partition, a 30208MG / (30GB - 512MB for / and 2GB for swap).
I then allocate the remainder of the VG from custom RPMs, depending on the type of server.

zerombr
ignoredisk --drives=sdb,sdc,sdd,sde,sdf
bootloader --location=mbr --driveorder=sda
clearpart --drives=sda --initlabel
part /boot --fstype ext3 --size=512 --ondisk=sda
part pv.0 --size=0 --grow --ondisk=sda
volgroup VolGroup00 --pesize=8192 pv.0
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=2048
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --maxsize=28160 --grow
0
 

Author Comment

by:enigma1234567890
ID: 34119067
I take it the line pv.0 means the physical disk what does the pv0 mean can i call it anything ?
0
 
LVL 1

Assisted Solution

by:reichhartkg
reichhartkg earned 500 total points
ID: 34119182
It should be named pv.<id>, with id increasing if there are more than one pv.  It may work if they have arbitrary names, but I've never tried anything else, so I can't say if there's an actual technical requirement or if it's just a guideline.
0
 

Author Comment

by:enigma1234567890
ID: 34119230
Hi

Last question I have a config from a server in work and it reads see below.  Would you know what this is all about.


part pv.100000 --size=8000 --grow
0
 
LVL 19

Expert Comment

by:jools
ID: 34120484
reccomended layout would really depend on the server use, for instance, if it's a web server you would likely allow a lot of space in /var/www, if it's a file server or mail server then this would also have a bearing on your layout.

for your last question the initial size would be 8gb but would then grow to fill the disk whatever that may be. you could use maxsize to limit this as in the example above.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Centos 7 User to Start Apache, MariaDB, LDAP 5 48
Help With Shell Script Centos 6 6 69
Why  my code (program) build with old compiler? 11 76
Samba Question 11 75
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
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.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

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