- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VG and lvol
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-12-2010 06:16 AM
04-12-2010 06:16 AM
VG and lvol
/dev/vg08/lvol4 /export/sapmnt/PRD
but this are in cluster, the pkg is sapprd, the nodes are prd and app, the cluster is visible in prd server, can somebody help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 06:57 AM
04-12-2010 06:57 AM
Re: VG and lvol
Do you have installed "Online JFS"? If so you simply have to increase the lvol first:
(lets suppose the final size is 10Gb)
# lvextend -L 1024 /dev/vg08/lvol4
and then the FS:
# fsadm -b 1024M /export/sapmnt/PRD
If you do not have installed "Online JFS", you must unmount the FS first, so you have to stop all the applications/processes accesing the FS. Once done, you will be able to unmount and resize:
# umount /export/sapmnt/PRD
# lvextend -L 1024 /dev/vg08/lvol4
# extendfs /dev/vg08/rlvol4
# mount (-o options) /dev/vg08/lvol4 /export/sapmnt/PRD
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 09:30 AM
04-12-2010 09:30 AM
Re: VG and lvol
2.pvcreate persistent dsf
3.vgextend vgname diskname
4.lvextend -L size lvname
5.fsadm -F vxfs -b size mountpoint
6.vgexport -p -s -v -m /tmp/vgname.map vgname
7.rcp -p /tmp/vgname.map failover:/tmp
in failover
1.vgexport vgname
2.vgimport -s -v -N -m /tmp/vgname.map /vgname
halt the package in main server and run in fail over
after that check with bdf
regards
MC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 08:03 PM
04-12-2010 08:03 PM
Re: VG and lvol
1. Check (do you have enough free space to extent /increase the File system)
2. swlist -l product |grep -i jfs -> check Online JFS has been installed.(if you have you do the extend / increase FS on fly. other wise, hence its part of cluster aware FS, additonal steps are included.(cmhaltpkg) check man pages for examples, lvextend,extendfs,cmrunpkg.
3. if d'not have enough space (left) You need add disks to increase / extend FS.
(pvcreate,vgextend,lvextend,extendfs / fsadm,) on above steps can be done ONLINE w/o halting pkg, if you have (Online JFS)
(vgexport -p -v -s -m) -> Primary Node
rcp/ftp/scp
alternative node.
vgexport /dev/vgname
mkdir /dev/vgname
mknod /dev/vgname/group c 64 0x0X0000
vgimport -p -v -m -s
vgimport -v -m -s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 09:10 PM
04-12-2010 09:10 PM
Re: VG and lvol
Before doing this activity u should halt package, after that run package, follow below steps,
node1
# vgchange -c n /dev/vg08
# vgchange -a y /dev/vg08
# lvextend -L
# extendfs -F vxfs /dev/vg08/rlvol4
# vgchange -a n /dev/vg08
#vgexport â m /tmp/vg08_new.map â s -p /dev/vg08
#rcp /tmp/vg08_new.map NOde02:/tmp
node2
#ll /dev/*/group
#vgexport â m /tmp/vg08_old.map /dev/vg08
#mkdir /dev/vg08
#mknod /dev/vg08/group c 64 0x(minor number)
#vgimport â m /tmp/vg08_new.map -s /dev/vg08
# vgchange -a y /dev/vg08
# vgchange -a n /dev/vg08
# vgchange -c y /dev/vg08
Cheers//
Taifur
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2010 09:24 PM
04-12-2010 09:24 PM
Re: VG and lvol
If you have space in volume group no need to halt package or un mount file system.
DO lvextend
FSadm
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2010 09:01 AM
04-30-2010 09:01 AM
Re: VG and lvol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2010 10:14 AM
04-30-2010 10:14 AM
Re: VG and lvol
I am attaching a very neat procedure giving the ways to add VG & LVs in an MC SG environment.
Take the basics what Johnson has mentioned.
Then take a print out of this doc (from Stephen Doud). Read it well, and perform the steps that is needed as per your question
HTH
SNS
And pls pls assign points to all the good folks who have given their time to Help You! :-)
Just login in with your user name and assign points as from the Drop down ;-)