- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extend filesystem by 5gb
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
10-01-2007 08:12 AM
10-01-2007 08:12 AM
I am working on HP box(ver b.11.11).I want to extend /u01 filesystem by 5gb,so please kindly assist me in steps involved in extending the filesystem.
Thanks in advance.
-
Hari
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 08:23 AM
10-01-2007 08:23 AM
Re: Extend filesystem by 5gb
1) lvextend -L larger_size /dev/vg02/lvol3
2) If you have OnlineJFS, execute fsadm -F vxfs -b newsize /myfilesystem
If you do not have OnlineFS:
a) umount /myfilesystem
b) extendfs -F vxfs -s newsize /dev/vg02/rlvol3
c) mount /myfilesystem
Man lvextend, fsadm_vxfs, extendfs_vxfs for details. I assume this is a vxfs filesystem if not look for the corresponding hfs commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 08:26 AM
10-01-2007 08:26 AM
SolutionDepends a bit on if you do don't have OnlineJFS installed.
Without OnlineJFS.
# umount /filesystem
# lvextend -L new_size_mb /dev/vgxx/lvoly
# extendfs -F vxfs /dev/vgxx/rlovy
# mount /filesystem
With OnlineJFS
# lvextend -L new_size_mb /dev/vgxx/lvoly
# fsadm -F vxfs -b "new_size"M /dev/vgXX/lvolXX
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 08:34 AM
10-01-2007 08:34 AM
Re: Extend filesystem by 5gb
Well you need to have the current size of the file system, because both lvextend and fsadm require you to submit not how much you wish to increase the file system size by, but what new total you desire.
Even if you don't have Online JFS, you can replace the fsadm step with extendfs if you umount the file system first.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 08:34 AM
10-01-2007 08:34 AM
Re: Extend filesystem by 5gb
Thanks a lot for reply.
-
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 08:38 AM
10-01-2007 08:38 AM
Re: Extend filesystem by 5gb
May I know how to check my box has online jfs.
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 08:58 AM
10-01-2007 08:58 AM
Re: Extend filesystem by 5gb
# swlist |grep -i online
search for the OnlineJFS depot in your output.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 09:00 AM
10-01-2007 09:00 AM
Re: Extend filesystem by 5gb
Getting the following error
$ swlist | grep -i onlin
sh: swlist: not found.
$
do the the needfull
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 09:05 AM
10-01-2007 09:05 AM
Re: Extend filesystem by 5gb
# /usr/sbin/swlist |grep -i online
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 09:07 AM
10-01-2007 09:07 AM
Re: Extend filesystem by 5gb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 09:22 AM
10-01-2007 09:22 AM
Re: Extend filesystem by 5gb
Verified the it is online JFS by the below o/p
_________________________________
$ swlist |grep -i online
B3929CA B.11.11 HP OnLineJFS
OnlineDiag B.11.11.10.11 HPUX 11.11 Support Tools
Bundle, Mar 2003
$
_________________________________
Now I want to extend the below mentioned filesystem.
_________________________________
$ df -k /u01/app/oracle
/u01/app/oracle (/dev/vgtivoli/lvol2 ) : 15352112 total allocated Kb
2048056 free allocated Kb
13304056 used allocated Kb
86 % allocation used
$
_________________________________
So I am executing the below commands to extend the filesystem by 5gb, please confirm wheither it is right.
$ lvextend -L 5gb /dev/vgtivoli/lvol2
and then
$ fsadm -F vxfs -b 5gb M /dev/vgtivoli/lvol2
_________________________________
Please verify and comfirm me ASAP
Thanks
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 10:27 AM
10-01-2007 10:27 AM
Re: Extend filesystem by 5gb
and
# fsadm -F vxfs -b 5120M /u01/app/oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2007 11:29 AM
10-01-2007 11:29 AM
Re: Extend filesystem by 5gb
You must put the NEW SIZE of the file system on your lvextend command line.
Doing:
# lvextend -L 5120
will just make the filesystem 5GB if it is SMALLER than that.
It appears as if you file system is currently approx. 15 GB in size. You said you want to extend by 5GB, so that would make it 20GB.
What you need to do is:
# lvextend -L 20480 /dev/vgtivoli/lvol2
and
# fsadm -F vxfs -b 20480M /u01/app/oracle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2007 05:17 AM
10-02-2007 05:17 AM
Re: Extend filesystem by 5gb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2007 05:21 AM
10-02-2007 05:21 AM