[Solved] How to extend a mirrored logical volume?


 
Thread Tools Search this Thread
Operating Systems HP-UX [Solved] How to extend a mirrored logical volume?
# 1  
Old 11-10-2012
[Solved] How to extend a mirrored logical volume?

Want to extend the /home filesystem:


Code:
 
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol4 262144 260088 2056 99% /home
 
root@server:./root # vgdisplay vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 11
Open LV 11
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4384
VGDA 4
PE Size (Mbytes) 16
Total PE 8748
Alloc PE 2220
Free PE 6528
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
 
root@server:./root # lvdisplay /dev/vg00/lvol4
--- Logical volumes ---
LV Name /dev/vg00/lvol4
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 256
Current LE 16
Allocated PE 32
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

I am a novice in hp-ux, any help will be highly apreciated.
# 2  
Old 11-10-2012
Hi, you can use lvextend to extend the logical volume. Then you would need to extend the file system. If your system has online JFS then you can use fsadm -b Otherwise you would need to unmount /home and use extendfs.
# 3  
Old 11-10-2012
I have online JFS. So the process of extending a normal LVM is same as that of a mirrored LVM?
# 4  
Old 11-12-2012
Yes... And if you have doubts, then use sam to do the job..
You can then look at the logs generated by sam to see how it was done...
# 5  
Old 11-13-2012
Is the LV for /home all you want to do? Or do you want to create a mirrored boot disk?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Cannot extend logical volume

Dear All, We have an Oracle running on AIX 6.1, now there have an disk spaces issue and we found that we cannot perform to extend the logical volume. Could help to review and make some suggestions. Status: we already provisioned some disks to the host, new disks can be scan and add into the... (11 Replies)
Discussion started by: lckdanny
11 Replies

2. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

3. AIX

How to extend mirrored VG?

Hi all, I need to extend a lv, but unfortunately I do not have enough space on my mirrored Volume group. I've planned to add 2 more disks to this vg (for mirroring) But ... what's the next steps to extend my lv using these 2 disks with a valid mirroring ? 1. extendvg myvg disk1 disk2... (3 Replies)
Discussion started by: unclefab
3 Replies

4. HP-UX

Unable To Extend the Size of a Logical Volume File System

Background: # uname -a HP-UX deedee B.11.23 U ia64 4294967295 unlimited-user license deedee.rsn.hp.com:/ # bdf /opt Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol6 6553600 6394216 158144 98% /opt /opt is almost full... (3 Replies)
Discussion started by: Rob Sandifer
3 Replies

5. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

Hi! Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes? What items should I check, like where do I look at in smit? Or are there commands that I should execute? I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Discussion started by: chipahoys
1 Replies

6. AIX

logical volume partially mirrored

Hello I have a question On one of my aix servers if I type lsvg -l rootvg I got this 0516-1147 : Warning - logical volume waslv may be partially mirrored. waslv jfs2 277 477 3 open/syncd /usr/WebSphere If I type lslv -m waslv |more waslv:/usr/WebSphere... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

7. AIX

Help - can't extend logical volume ?

Hi, Smit "Increase the Size of a Logical Volume" command failed. Output: ---------------------------------------------------------- Command: failed stdout: yes stderr: no Before command completion, additional instructions may appear below. The distribution of this command (111) failed on... (2 Replies)
Discussion started by: vilius
2 Replies

8. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

Hello, I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB. If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information Regards Himanshu (3 Replies)
Discussion started by: ghimanshu
3 Replies

9. AIX

Extend one Logical Volume

Hi All, I am new to AIX. I need to extend one Logical Volume it is jfs type on On AIX 5.1. I have enough free space on the volume group for this extension Can I use smitty chjfs , will this do it without interruptions to the application that is using this Logical Volume. Thanks Scampi (1 Reply)
Discussion started by: scampi
1 Replies

10. AIX

checking to see if logical disks are mirrored.

I have AIX 5.1 I ran these commands and was not able to see what disk were mirrored to what. I thought this is what I should do? lslv -m rd |more lslv -m db |more I get a error stating that it can't find or in the device configuation databse. Is there another way to look? I have a physcal... (1 Reply)
Discussion started by: rocker40
1 Replies
Login or Register to Ask a Question