LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 01-10-2007, 07:12 AM   #1
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Rep: Reputation: 15
logical volume question


hi guys,

when i do a lvdisplay /dev/vg00/lg01, it will show this :

LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 1200
Current LE 300
Allocated PE 600
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

then I do a lvextend -l 400 /dev/vg00/lg01 , the LE will become 400 and PE will become 700.

I want to know what is the relation between logical extend and physical extend?

shouldn't PE be fixed ?

Thanks.

Last edited by binary_0011; 01-10-2007 at 07:14 AM.
 
Old 01-10-2007, 09:46 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You sure PE didn't change to 800 rather than 700?

If it is mirrored then you have 400 LEs but twice as many PEs because you have 2 PEs for each LE.
 
Old 01-10-2007, 11:44 PM   #3
binary_0011
Member
 
Registered: Apr 2006
Location: Singapore
Distribution: RHEL4,FC4,FC5
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jlightner
You sure PE didn't change to 800 rather than 700?

If it is mirrored then you have 400 LEs but twice as many PEs because you have 2 PEs for each LE.
i see, because it is mirror so the extend will double, if it is not mirror the pe will not double.
 
Old 01-11-2007, 08:43 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Correct.

PE = "physical" extent. You have two "physical" disks for each extent.

LE = "logical" extent. Essentially this is "usable" space. So 2 GB mirrored = 1 GB "usable".

By the way it sounds as if you're discussing HP-UX. If so you should know there are other forums with higher visibility than this one for HP-UX.

HP has forums at itrc.hp.com.

Also there is a mailing list called Dutchworks. Details for it:
To subscribe/unsubscribe to this list, contact
majordomo@dutchworks.nl
Name: hpux-admin@dutchworks.nl
Owner: owner-hpux-admin@dutchworks.nl

Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only)
http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)


For whatever reason the folks that run Linuxquestions.org don't seem to think HP-UX worthy of its own forum so there's no reason to use them for it.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logical Volume Management 2 XaViaR Linux - General 5 08-20-2005 07:48 AM
Logical volume management question smoker Linux - Software 2 08-17-2005 12:50 AM
cloning logical volume with dd astrowill Linux - General 3 07-13-2005 09:59 AM
Logical Volume Manager sidmark-2850 Linux - General 3 01-02-2004 01:25 PM
Logical Volume Groups concoran Linux - General 3 06-03-2001 06:29 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX

All times are GMT -5. The time now is 05:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration