HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- add disk to VG and extend FS
Operating System - HP-UX
1832964
Members
2653
Online
110048
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
Go to solution
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
11-02-2010 11:39 AM
11-02-2010 11:39 AM
Hello fellow UXers!
Could someone please help me and explain how to add a new disk to an existing VG thats used by a two node cluster Service Guard?
HP-UX version on both nodes is 11.11, I would need to add a disk to an existing VG and extend a LV inside that VG.
Thanks a lot
Could someone please help me and explain how to add a new disk to an existing VG thats used by a two node cluster Service Guard?
HP-UX version on both nodes is 11.11, I would need to add a disk to an existing VG and extend a LV inside that VG.
Thanks a lot
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 06:29 PM
11-02-2010 06:29 PM
Solution
Hi
Do you have Online JFS?
I will mention the Steps here.
# pvcrerate /dev/rdsk/cxtxdx (New PV)
# vgextend vgname /dev/dsk/cxtxdx
# vgdisplay vgname
to see the added free extends.
# lvextend -L XXXXM /dev/vgname/lvname
XXXXM stands for the size in Mb
Further steps depend o the availability of online JFS. If online jfs not available follow the steps below. Else skip next 3 steps.
unmount the filesystem ( may need the related application to be shutdown first.)
# umount /app
# extendfs /dev/vgname/lvname
# mount /dev/vgname/lvname /app.
If online JFS is available skip the above 3 steps, then follow the steps below.
# fsadm -F vxfs -b XXXXM /mnt_point
XXXXm stands for the size in MB and using the M/G is a must while using -b , if not used it will take the value as Kb (default)
Once the filesystem is extended, vg changes should be replicated to other cluster node.
Create the map file in preview mode
vgexport -p -v -s -m vgname.map /dev/vgname
copy it to the other node. you may need to remove and recreate the vg information on the other node where the vg is inactive.
# scp vgname.map user@clusternode2:/tmp
on other node
# vgexport /dev/vgname
# mkdir /dev/vgname; mknode /dev/vgname/group c 64 0x0X0000
( 0X0000: use the same minor number as in the other cluster node)
# vgimport -v -s -m /tmp/vgname.map /dev/vgname
regards
Jayakrishnan G Naik
Do you have Online JFS?
I will mention the Steps here.
# pvcrerate /dev/rdsk/cxtxdx (New PV)
# vgextend vgname /dev/dsk/cxtxdx
# vgdisplay vgname
to see the added free extends.
# lvextend -L XXXXM /dev/vgname/lvname
XXXXM stands for the size in Mb
Further steps depend o the availability of online JFS. If online jfs not available follow the steps below. Else skip next 3 steps.
unmount the filesystem ( may need the related application to be shutdown first.)
# umount /app
# extendfs /dev/vgname/lvname
# mount /dev/vgname/lvname /app.
If online JFS is available skip the above 3 steps, then follow the steps below.
# fsadm -F vxfs -b XXXXM /mnt_point
XXXXm stands for the size in MB and using the M/G is a must while using -b , if not used it will take the value as Kb (default)
Once the filesystem is extended, vg changes should be replicated to other cluster node.
Create the map file in preview mode
vgexport -p -v -s -m vgname.map /dev/vgname
copy it to the other node. you may need to remove and recreate the vg information on the other node where the vg is inactive.
# scp vgname.map user@clusternode2:/tmp
on other node
# vgexport /dev/vgname
# mkdir /dev/vgname; mknode /dev/vgname/group c 64 0x0X0000
( 0X0000: use the same minor number as in the other cluster node)
# vgimport -v -s -m /tmp/vgname.map /dev/vgname
regards
Jayakrishnan G Naik
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