Sponsored Content
Homework and Emergencies Emergency UNIX and Linux Support [Solved] Need help with HP-UX 11.31 LVM! Post 302529064 by zixzix01 on Wednesday 8th of June 2011 12:01:00 PM
Old 06-08-2011
I don't know if that matters, but I was supposed to use vg00 to create 3 LV's (250 MB, 750MB, and 1GB):

So i did:

Code:
lvcreate -L 250 vg00
lvcreate -L 750 vg00
lvcreate -L 1024 vg00

After which I created the mount points /scratch1 /scratch2 and /scratch3. I then created the file system with makefs command.

---------- Post updated at 12:01 PM ---------- Previous update was at 11:54 AM ----------

Here are the outputs...

Code:
(root):/home2/root# lvdisplay -v /dev/vg00/lvol5
--- Logical volumes ---
LV Name                     /dev/vg00/lvol5
VG Name                     /dev/vg00
LV Permission               read/write                
LV Status                   available/syncd           
Mirror copies               1            
Consistency Recovery        MWC                 
Schedule                    parallel      
LV Size (Mbytes)            8192            
Current LE                  256       
Allocated PE                512         
Stripes                     0       
Stripe Size (Kbytes)        0                   
Bad block                   on           
Allocation                  strict                    
IO Timeout (Seconds)        default             

   --- Distribution of logical volume ---
   PV Name                 LE on PV  PE on PV  
   /dev/disk/disk9_p2      256       256       
   /dev/disk/disk5_p2      256       256       

   --- Logical extents ---

Code:
(root):/home2/root# lvdisplay -v /dev/vg00/lvol8
--- Logical volumes ---
LV Name                     /dev/vg00/lvol8
VG Name                     /dev/vg00
LV Permission               read/write                
LV Status                   available/syncd           
Mirror copies               0            
Consistency Recovery        MWC                 
Schedule                    parallel      
LV Size (Mbytes)            544             
Current LE                  17        
Allocated PE                17          
Stripes                     0       
Stripe Size (Kbytes)        0                   
Bad block                   on           
Allocation                  strict                    
IO Timeout (Seconds)        default             

   --- Distribution of logical volume ---
   PV Name                 LE on PV  PE on PV  
   /dev/disk/disk9_p2      17        17        

   --- Logical extents ---

Code:
(root):/home2/root# lvdisplay -v /dev/vg00/lvol9
--- Logical volumes ---
LV Name                     /dev/vg00/lvol9
VG Name                     /dev/vg00
LV Permission               read/write                
LV Status                   available/syncd           
Mirror copies               0            
Consistency Recovery        MWC                 
Schedule                    parallel      
LV Size (Mbytes)            1536            
Current LE                  48        
Allocated PE                48          
Stripes                     0       
Stripe Size (Kbytes)        0                   
Bad block                   on           
Allocation                  strict                    
IO Timeout (Seconds)        default             

   --- Distribution of logical volume ---
   PV Name                 LE on PV  PE on PV  
   /dev/disk/disk9_p2      48        48        

   --- Logical extents ---

Code:
(root):/home2/root# lvdisplay -v /dev/vg00/lvol10
--- Logical volumes ---
LV Name                     /dev/vg00/lvol10
VG Name                     /dev/vg00
LV Permission               read/write                
LV Status                   available/syncd           
Mirror copies               0            
Consistency Recovery        MWC                 
Schedule                    parallel      
LV Size (Mbytes)            2080            
Current LE                  65        
Allocated PE                65          
Stripes                     0       
Stripe Size (Kbytes)        0                   
Bad block                   on           
Allocation                  strict                    
IO Timeout (Seconds)        default             

   --- Distribution of logical volume ---
   PV Name                 LE on PV  PE on PV  
   /dev/disk/disk9_p2      65        65        

   --- Logical extents ---


Last edited by pludi; 06-08-2011 at 04:28 PM..
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

When to use LVM?

Having first encountered LVM in HP-UX and now experimenting with it in Redhat and Gentoo, I am wondering, when is it actually good practice to use LVM? Obviously LVM doesn't work for boot partitions, so that question is a pretty easy answer: Not for /boot in Linux. While trying to figure out... (1 Reply)
Discussion started by: deckard
1 Replies

2. Red Hat

lvm with -- on the name

Hi All, I created an lvm filesystem with a name with dash in the middle, like xxx-yyy (note, that it's only one dash). I was able to create it smoothly with this instructions. lvcreate -L 1G uservg -n xxx-yyy ls /dev/uservg/xxx-yyy (check) mkfs.ext3 /dev/uservg/xxx-yyy mount... (1 Reply)
Discussion started by: itik
1 Replies

3. AIX

lvm

Hi. can anyone define about VGDA,VGSA,and quorum in aix.. (1 Reply)
Discussion started by: sumathi.k
1 Replies

4. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

5. AIX

Help with lvm

i have os 5.1 and i do mirror with hdisk0 and hdisk1 on rootvg at the end i get error in mail that: At least one partition mirror is broken please call sysadmin hd5 boot 1 2 2 closed/stale N/A the other fs seems ok and sync what to do about the hd5??? (4 Replies)
Discussion started by: amitt74
4 Replies

6. Shell Programming and Scripting

[solved] merging two files and writing to another file- solved

i have two files as file1: 1 2 3 file2: a b c and the output should be: file3: 1~a 2~b 3~c (1 Reply)
Discussion started by: mlpathir
1 Replies

7. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

8. UNIX for Dummies Questions & Answers

[Solved] Help with LVM?

Hi How do you configure LVM to linux? How to create logic volume using LVM? On a new VM system, just install RHEL 5.8 gave 200 gig for / and 10 gig for swap. Now I want to configure LVM? is that too late, do I need to delete and start all over again ? (1 Reply)
Discussion started by: samnyc
1 Replies

9. Red Hat

[Solved] Problem while working with LVM

Hi I am getting the following error while executing any command related to LVM - # vgs vgs: symbol lookup error: vgs: undefined symbol: pvcreate Can any one please advise how to get rid of this problem? Thanks (6 Replies)
Discussion started by: atanubanerji
6 Replies

10. AIX

Need LVM Help

Hello, I need some help, it is slightly urgent so any help is appreciated. We were doing a data migration, during a migratepv command, our SAN ran out of quota space and locked all of the filesystems, now I'm left with a few errors and am not able to do migratepv again. /:migratepv... (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies
All times are GMT -4. The time now is 03:13 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy