- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- using lvm to extend mirror drive
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 02:40 AM
04-22-2005 02:40 AM
9000/800/A500-7X
Hello All,
What is the correct command to extend the LV on the mirror drive after increasing the primary LV. I increased the primary LV (/dev/vg00/auditlog ).
# bdf /auditlog
Filesystem kbytes used avail %used Mounted on
/dev/vg00/auditlog 2097152 8099 1958541 0% /auditlog
root[/]
**********************************************
--- Logical volumes ---
LV Name /dev/vg00/auditlog
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 4096
Current LE 512
Allocated PE 1024
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/dsk/c1t15d0 512 512
/dev/dsk/c3t15d0 512 512
--- Logical extents ---
LE PV1 PE1 Status 1 PV2 PE2 Status 2
00000 /dev/dsk/c1t15d0 02768 current /dev/dsk/c3t15d0 02768 current
**********************************************
# lvextend -L 4096 /dev/vg00/auditlog
Logical volume "/dev/vg00/auditlog" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
roor[/]
# fsadm -F vxfs -b 4194304 /auditlog
vxfs fsadm: /dev/vg00/rauditlog is currently 2097152 sectors - size will be increased
root[/]
# bdf /auditlog
Filesystem kbytes used avail %used Mounted on
/dev/vg00/auditlog 4194304 8613 3924139 0% /auditlog
root@[/]
# vgdisplay -v /dev/vg00 | egrep "PE Size|Free"
PE Size (Mbytes) 8
Free PE 1289
Free PE 613
Free PE 676
root[/]
***********************************************
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 02:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 02:46 AM
04-22-2005 02:46 AM
Re: using lvm to extend mirror drive
lvdisplay -v /dev/vg00/auditlog
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 02:47 AM
04-22-2005 02:47 AM
Re: using lvm to extend mirror drive
No need, check with below command
# lvdisplay -v /dev/vg00/auditlog
You will see that the volume has automaticly been extended on both disks.
Hope this helps,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 02:49 AM
04-22-2005 02:49 AM
Re: using lvm to extend mirror drive
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2005 02:57 AM
04-22-2005 02:57 AM
Re: using lvm to extend mirror drive
No need to extend the LV on the mirror disk after extending the Lv.It will do automatically
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2005 04:19 PM
04-23-2005 04:19 PM
Re: using lvm to extend mirror drive
Extending a lvol when it is mirrored increase the size on both copies so no need to do it seperately. Check it with "lvdisplay -v /dev/vg00/auditlog" and see the state of all physical extents.
00000 /dev/dsk/c1t15d0 02768 current /dev/dsk/c3t15d0 02768 current
00001 /dev/dsk/c1t15d0 02769 current /dev/dsk/c3t15d0 02769 current
.
.
.
All physical extents should be availabe on both disks
HTH,
Devender