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
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
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
тАО07-22-2010 12:04 AM
тАО07-22-2010 12:04 AM
Vgextend
One of my Server filesystem,which is in vg00 need to be extended as it is 80% full.
/dev/vg00/lvol15 10485760 8298527 2051877 80% /usr/sap/DBI
And the vgdisplay vg00 output is the following--
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 16
Open LV 16
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 4465
VGDA 2
PE Size (Mbytes) 64
Total PE 4455
Alloc PE 3146
Free PE 1309
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
Can anyone please share what all steps need to be done for ths to achieve.As root VG is having free PEs,I think I can directly go for an lvextend.Pls help..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2010 02:37 AM
тАО07-22-2010 02:37 AM
Re: Vgextend
Do you have Online - JFS .? if not
need to go to single user mode do
extendfs -F vxfs /dev/vg00/rlvolx (pelase the Filesystem type )
if u have on-line JFS..then go for fsadm....ie,
fsadm -F vxfs -b
The -o option cannot be used with the -b option.
hope this helps..
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2010 03:55 AM
тАО07-22-2010 03:55 AM
Re: Vgextend
Why you have 16 disks in vg00, and what looks like maybe some application loaded in there - IMHO not a good setup.
But, your question is lvextend.
You have a little space left (1309)
lvdisplay -v /dev/vg00/lvol5 |more
I'm going to use the -l option here..and I'm going to say your going from 1000 pe to 1500 pe.
Find your lvol15 and how many physical extents used (pe).
Now if you don't want to specific which disk to use then:
lvextend -l 1500 /dev/vg00/lvol15
To do it specifying disk:
lvextend -l 1500 /dev/vg00/lvol15 /dev/dsk/c1t2d3
If you have online JFS than:
lvdisplay -v /dev/vg00/lvol15 | more
Get the Mb total of lvol15
fsadm -F vxfs -b
...and yes that is a small "m" right after the sizeinMB - no space.....
If you have On-lineJFS then you do have umount the file system. Since it looks like maybe it's an appl mountpoint, you might not have to go into single user. However, if it's more /usr, than just /usr/sap...(some application) then you will have to go into single user to extend the old way.
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2010 03:57 AM
тАО07-22-2010 03:57 AM
Re: Vgextend
If you have OnLineJFS than you don't have to umount the file system.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2010 07:59 PM
тАО07-22-2010 07:59 PM
Re: Vgextend
Current number of physical volumes in the volume group VG00 is one in vgdispaly output, then why he can't add anymore disk as maximim PV is set for 16.
Hi Kunjuttan,
I think you can go for extending the VG size by adding more PV, if u need. And you can extend your filesystem /usr/sap/DBI size as your VG has currently 1309*64MB size free.
If you dont ahve online JFS:
First, increase the size of the logical volume.
#lvextend -L desired LV size in MB /dev/vg00/lvol15
Unmount the file system.
#umount /dev/vg00/lvol15
Extend the file system to occupy the entire LV size you extended.
#extendfs -F vxfs /dev/vg00/rlvol15
Remount the file system.
#mount /dev/vg00/lvol15 /usr/sap/DBI..
If you have onlie JFS:
First, increase the size of the logical volume.
#lvextend -L desired LV size in MB /dev/vg00/lvol15
Extend the file system to occupy the entire LV size you extended.
#fsadm -F vxfs -b
All the best...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2010 09:57 PM
тАО07-22-2010 09:57 PM
Re: Vgextend
your PE size is 64 and your Free PE is 1309 that means you are having a free space of around 83776 Mb of space.if you requirement will suite inside this space then go for an lvextend
otherwise you need to add an extra disk as your maximum no of pv is 16 and you had used only 1 in that you can add another disk to extend the vg
pls go through this doc
http://staff.ustc.edu.cn/~lywang/handbook/HP_Unix/%C2%DF%BC%AD%BE%ED%B9%DC%C0%ED/swrc16.pdf go through
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-23-2010 12:55 AM
тАО07-23-2010 12:55 AM
Re: Vgextend
- Stop app SAP/DBI
# umount /dev/vg00/lvol15
# lvextend -l total_extends_for_fs /dev/vg00/lvol15
# extendfs /dev/vg00/rlvol15
# mount /dev/vg00/lvol15 /usr/sap/DBI
# bdf /usr/sap/DBI
- Start application
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-27-2010 09:17 PM
тАО07-27-2010 09:17 PM