- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to extend a file system in MCSG two node clust...
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-20-2001 09:48 AM
11-20-2001 09:48 AM
How to extend a file system in MCSG two node cluster
Thanks,
Dragana S-V
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 09:53 AM
11-20-2001 09:53 AM
Re: How to extend a file system in MCSG two node cluster
The best would be to use SAM, be sure no one is using the file system while you are doing such operation, sam will have to unmount the fs in order to do an lvextend...
SAM=>LVM>Increase size of logical volume...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 09:55 AM
11-20-2001 09:55 AM
Re: How to extend a file system in MCSG two node cluster
Simply unmount the file system, extend the file system and then mount it back.
#umount /file_system
#lvextend -L newsize /dev/vg??/lvol??
#extendfs /dev/vg??/rlvol??
#mount /file_system
However, there are the following things to be noted.
1. If you are adding disks to this volume group, then you need to re-import the volume group on the other node.
2. If you are monitoring your application and if you need to bringdown the application or kill any other processes that are being monitored to unmount the file system, then its better to halt the package.
To increase the file system after halting the package, do the following
#vgchange -c n vg??
#vgchange -a y vg??
#lvextend -L newsie /dev/vg??/lvol??
#extendfs /dev/vg??/rlvol??
#mount and unmount to make sure you got the space.
#vgchange -a n vg??
#vgchange -c y vg??
Start the cluster.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 10:02 AM
11-20-2001 10:02 AM
Re: How to extend a file system in MCSG two node cluster
Here's your procedure:
# cmhaltpkg
# vgchange -a e vgXX
# umount
# lvextend -L
# extendfs /dev/vgXX/rlvolY
# vgchange -a n vgXX
# cmrunpkg
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 10:08 AM
11-20-2001 10:08 AM
Re: How to extend a file system in MCSG two node cluster
Thanks !!!
I will assign the points once I am done with the change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2001 10:55 AM
11-20-2001 10:55 AM
Re: How to extend a file system in MCSG two node cluster
you have to proceed like this. Here we assume the lv and vg associated with the packge pkg_name is lv_test and vg_test. Do this on the node where the packge is currently running.
# cmhaltpkg -v pkg_name
# vgchange -a e /dev/vg_test
# lvextend -L lv_size_in_MB /dev/vg_test_lv_test
# extendfs /dev/vg_test_rlv_test
# mount /dev/vg_test/lv_test /tmp_mnt
# bdf
Once satishfied the size is okay,
# umount /tmp_mnt
# vgchange -a n /dev/vg_name
# cmmodpkg -e pkg_name
The packge should automatically start now, if not,
# cmrunpkg -v pkg_name
You may need a few more steps in case the mirror reside on specific disk and you want to keep it that way. Normally these steps should be sufficient.
Hope this helps.
Regds