Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

LVM

Posted on 2006-04-08
5
Medium Priority
?
668 Views
Last Modified: 2012-08-13
can someone recommend me a very good site that talk about LVM, for example :

it will talk about

1. volume group (VG)
2. physical volume (PV)
3. logical volume (LV)
4. physical extent (PE)
5. logical extent (LE)

most important of all, a comprehensive guide on how to create them.

Thanks.
0
Comment
Question by:binary_1001010
  • 3
  • 2
5 Comments
 
LVL 16

Accepted Solution

by:
xDamox earned 300 total points
ID: 16407658
0
 
LVL 9

Author Comment

by:binary_1001010
ID: 16411903
i dont understand what is physical/logical extent.

I heard about 4mb entent, 88 extents...etc...

if i got a 200GB of hard disk. what does this extent mean to me?

Thanks.
0
 
LVL 16

Expert Comment

by:xDamox
ID: 16411985
Hi,

With partition in Linux you can have a total of 4 physical partitions. However you may want more partitions
so you are require to use logical extentions e.g.


/                  <--- Physical
/home        <--- Physical
/usr            <--- Physical
/opt           <---- Physical

Now you need to create a logical partitions if you want more

/usr/local <-- Logical

so your whole layout should be like:


/                  <--- Physical
/home        <--- Physical
/usr            <--- Physical
/opt            <---- Physical
/usr/local  <-- Logical
0
 
LVL 9

Author Comment

by:binary_1001010
ID: 16412100
but that doesn't explain what 4mb extent(the default) mean.
that also doesn't explain the size of the extent vs the number of extents.

if i got 200 gb of HDD, does that mean 200,000 divide 4mb = 50000 extents
i can have 50,000 extents?
0
 
LVL 16

Expert Comment

by:xDamox
ID: 16412133
Hi,

Behind the scenes, the LVM system allocates storage in equal-sized "chunks", called extents. We can specify the particular extent size to use at volume group creation time. The size of an extent defaults to 4Mb, which is perfect for most uses. One of the beauties of LVM is that the physical storage locations of the extents used for one of our logical volumes (in other words, what disk they're stored on) can be dynamically changed while our logical volume is mounted and in use! The LVM system ensures that our logical volumes continue to operate perfectly while allowing the administrator to physically change where everything is stored.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month21 days, 7 hours left to enroll

810 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