Solved

volume groups and linux setup

Posted on 2010-11-12
5
379 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
[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
  • 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

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

Suggested Solutions

Fine Tune your automatic Updates for Ubuntu / Debian
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.

733 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