- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vg extend
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
11-02-2010 09:38 PM
11-02-2010 09:38 PM
our server is running with mc/sg.the shared lv is going to full so i need to extend the lv in the servers.how can i extend the lv in cluster?where i need to enter the lv details in sg?could you any one help me?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 10:09 PM
11-02-2010 10:09 PM
Re: vg extend
If you have space in that VG, you can simply do a lvextend followed by fsadm (OnlineJFS) on active node. That is all. Nothing is required to be done on other nodes.
If onlineJfs is not present then you have to unmount the file system (downtime).
Regds..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 10:12 PM
11-02-2010 10:12 PM
Re: vg extend
So, you need to do something like:
1) cmhaltpkg
2) vgchange -a e
3) lvextend (to the size you want)
4) extendfs
5) mount
6) Use bdf to check the file sstem is now the size you need
7) umount
8) vgchange -a n
9) cmrunpkg
10) cmmodpkg -e
Please assign points each of us.
Regards,
Ani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 10:12 PM
11-02-2010 10:12 PM
SolutionStep 1) If there are no enough free extends, you need to get a new pv (disk or lun from the storage- depending on your env)Once PV is available then do the following steps . If you have enough space in your vg Start with step 2.
# pvcrerate /dev/rdsk/cxtxdx (New PV)
# vgextend vgname /dev/dsk/cxtxdx
# vgdisplay vgname
to see the added free extends.
Step 2) Please check whether you have enough free extends in your vg. If available you can direcly use lvextend to extend the filesystems.
# vgdisplay vgname
# lvextend -L XXXXM /dev/vgname/lvname
XXXXM stands for the size in Mb
Step 3) Further steps depend o the availability of online JFS. If online jfs not available follow the steps below. If online JFS is available skip to step 4 :
unmount the filesystem ( may need the related application to be shutdown first.)
# umount /app
# extendfs /dev/vgname/lvname
# mount /dev/vgname/lvname /app.
Step 4) If online JFS is available skip the above step "3", 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)
Step 5) 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
Step 6) 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 10:17 PM
11-02-2010 10:17 PM
Re: vg extend
Please note; Vgexport and vgimport is applicable only if a new pv is used (as suggested by RK above).
Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 11:11 PM
11-02-2010 11:11 PM
Re: vg extend
we need to add the any entries in the cluster conf file or some where else?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2010 11:25 PM
11-02-2010 11:25 PM
Re: vg extend
Nothing to add/modify cluster config files.
Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2010 04:15 AM
11-04-2010 04:15 AM
Re: vg extend
Adding or removing a disk in an LVM volume group changes /etc/lvmtab on one node, but does not update other nodes. For this reason, you must vgexport and vgimport the VG on the other nodes manually.
Growing or shrinking a logical volume only changes the LVM metadata on-disk and does not affect any LVM files in a file system.
Growing a file system only changes the VxFS file system metadata on-disk.