- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Size of File system (/opt/oracle) should be 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
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
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-16-2005 12:14 AM
тАО11-16-2005 12:14 AM
One of my file system got 100% utilized:
/dev/vg00/lvol9 16777216 16740329 36887 100% /opt/oracle
and I need to extend this file system size.
I have 1275 free PEs of 4 MB each.
what will be steps to do it?
is there any problem if i unmount this file system, because its volume group is vg00 & filesystem /opt/oracle.
I need your suggestions,
Thanks
Vipin
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 12:17 AM
тАО11-16-2005 12:17 AM
Re: Size of File system (/opt/oracle) should be extended
Stop oracle (if you don't have online JFS
umount /opt/oracle
lvextend -L 20000 /dev/vg00/lvol9
extendfs -F vxfs /dev/vg00/rlvol9
mount /opt/oracle
restart oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 12:18 AM
тАО11-16-2005 12:18 AM
Re: Size of File system (/opt/oracle) should be extended
Once again, you should check the man pages. This time the EXAMPLES section of lvextend contains the information you need:
"Unmount the file system.
umount /dev/vg06/lvol3
Extend the file system to occupy the entire (larger) logical volume.
extendfs /dev/vg06/rlvol3
Remount the file system.
mount /dev/vg06/lvol3 /mnt"
In your case, you would obviously substitue /dev/vg00/lvol9 in place of /dev/vg06/lvol3 and /opt/oracle for /mnt. If you have problems unmounting, you might want to reboot in single user mode.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 12:21 AM
тАО11-16-2005 12:21 AM
Re: Size of File system (/opt/oracle) should be extended
"Increase the size of a file system existing on a logical volume.
First, increase the size of the logical volume.
lvextend -L 400 /dev/vg06/lvol3"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 12:31 AM
тАО11-16-2005 12:31 AM
Re: Size of File system (/opt/oracle) should be extended
So first :
umount /opt/oracle
Use lvextend -l / -L to
increase number of extents (each of 4MB usually) or (with -L) number of MBs.
Like:
lvextend -L 400 /dev/vg00/lvol9
makes this volume to be 400 Mb.
Next use extendfs to update filsystem size:
extendfs -F vxfs /dev/vg00/rlvol9.
If your filesystem is of OnlineJFS kind (swlist -l product | grep JFS) you can give up on mount/umount phase and run:
fsadm -F vxfs -b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 12:41 AM
тАО11-16-2005 12:41 AM
Re: Size of File system (/opt/oracle) should be extended
# swlist -l product | grep JFS
JFS B.11.23 The Base VxFS File System
OnlineJFS B.11.23.05 Online features of the VxFS File System
which one will be more secure, should i stop the database?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 01:05 AM
тАО11-16-2005 01:05 AM
Re: Size of File system (/opt/oracle) should be extended
du -kx /opt/oracle | sort -rn | head -20
You may discover a big mistake in one of the /opt/oracle directories and not need additional space.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 01:47 AM
тАО11-16-2005 01:47 AM
Re: Size of File system (/opt/oracle) should be extended
then plz tell me the step by step command which i need to use.
i need to extend this file system by 4Gb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 02:14 AM
тАО11-16-2005 02:14 AM
Re: Size of File system (/opt/oracle) should be extended
The procedure is allready told earlier just put the required space to be extended to in place.
Preperation -
Atleast 1000 Free PE should be there in vg00 for extending this file system by 4GB (1000PEs of 4MB each).Also you should first back up this file system atleast.
1. Stop Oracle
2. #umount /opt/oracle
3. #lvextend -L 20000 /dev/vg00/lvol9
4. #extendfs -F vxfs /dev/vg00/rlvol9
5. #mount /opt/oracle
6. #bdf (To confirm the successful completion)
7. Start and check application.(Oracle)
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-16-2005 02:22 AM
тАО11-16-2005 02:22 AM
Re: Size of File system (/opt/oracle) should be extended
lvextend - to enlarge the LV
fsadm -b newsize - to increase the file system
Pete
Pete