HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- extending an LV which is mirrored
Operating System - HP-UX
1834149
Members
2244
Online
110064
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-09-2008 01:26 PM
02-09-2008 01:26 PM
extending an LV which is mirrored
Hello there,
I have got some doubt regarding lvextend.I need to extend an LV to 2816 MB which is in volume group vg00 and it is mirrored.Then should I use the below command:
lvextend -m 1 -L 2816 /dev/vg00/lvol5
fsadm -F vxfs -b 2816m /opt
And should I also need to make a copy of file /etc/lvmconf/vg00.conf as the logical volume is in vg00 which is a root volume group.
Please reply as soon as possible
Thanks a lot
Regards
Kavita
I have got some doubt regarding lvextend.I need to extend an LV to 2816 MB which is in volume group vg00 and it is mirrored.Then should I use the below command:
lvextend -m 1 -L 2816 /dev/vg00/lvol5
fsadm -F vxfs -b 2816m /opt
And should I also need to make a copy of file /etc/lvmconf/vg00.conf as the logical volume is in vg00 which is a root volume group.
Please reply as soon as possible
Thanks a lot
Regards
Kavita
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2008 07:11 PM
02-09-2008 07:11 PM
Re: extending an LV which is mirrored
Kavita,
If you have advanced JFS then you can extend online with SAM.
If not, you are going to need to boot in single user mode so that /opt can be unmounted.
Interrup the BOOT
hpux -iS
Assuming /opt is unmounted, the following two commands will extend the lv and file sytem.
lvextend -L 2816 /dev/vg00/lvol5
(you don't need to specify the mirror after it has been configured)
extendfs /dev/vg00/rlvol5
At this point you can mount the file system and continue your boot.
Regards,
Norm
If you have advanced JFS then you can extend online with SAM.
If not, you are going to need to boot in single user mode so that /opt can be unmounted.
Interrup the BOOT
hpux -iS
Assuming /opt is unmounted, the following two commands will extend the lv and file sytem.
lvextend -L 2816 /dev/vg00/lvol5
(you don't need to specify the mirror after it has been configured)
extendfs /dev/vg00/rlvol5
At this point you can mount the file system and continue your boot.
Regards,
Norm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2008 09:52 AM
02-10-2008 09:52 AM
Re: extending an LV which is mirrored
with online jfs that should take care of the filesystem level
If you extend a logical volume and it is mirrored it finds extents on the disks in the VG for the mirror. Unless you have a 2 disk vg and the first disk is all full that should not be a problem. Luckilly you are not talking about lvol1,2,3 which have certain rules about being contiguous.
If you extend a logical volume and it is mirrored it finds extents on the disks in the VG for the mirror. Unless you have a 2 disk vg and the first disk is all full that should not be a problem. Luckilly you are not talking about lvol1,2,3 which have certain rules about being contiguous.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP