- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to entend a file system using onlinejfs
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
тАО07-16-2010 06:07 AM
тАО07-16-2010 06:07 AM
Need to extend a file system from 81gb to new size of 160gb. I have not used the online jfs but I think it is preferred to using SAM and I dont have to unmount the filesystem.
Current Stats:
lvol= gexdata01
volume group= vg01
Type=LVM
USE: VxFS
Total Mbytes=80000
Mount Dir=/h/data
Mbytes available: 206056 of 286056
What do I need to extend /h/data to 160GB
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2010 06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2010 06:21 AM
тАО07-16-2010 06:21 AM
Re: How to entend a file system using onlinejfs
lvextend -L 163840M /dev/vg01/gexdata01
fsadm -b 163840M /h/data
check it by using,
bdf /h/data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2010 06:24 AM
тАО07-16-2010 06:24 AM
Re: How to entend a file system using onlinejfs
fsadm -F vxfs -b 163840M /h/data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2010 06:36 AM
тАО07-16-2010 06:36 AM
Re: How to entend a file system using onlinejfs
You need to fist extend the logical volume.
If you use '-L' you specify the size of the LV in MB. For 160GB, you can use:
lvextend -L 160000 /dev/vb01/gexdata01
To extend the file system using fsadm you can use:
fsadm -F vxfs -b 160000m /h/data
Note that fsadm can use the 'm' after the size so you can specify in MB rather than blocks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2010 06:41 AM
тАО07-16-2010 06:41 AM
Re: How to entend a file system using onlinejfs
Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2010 06:56 AM
тАО07-16-2010 06:56 AM
Re: How to entend a file system using onlinejfs
After I lvextend the logical volume I do this, to avoid block calculations which I NEVER get right.
lvdisplay
There is a display of size in megabytes.
If the figure is 18254
fsadm -F vxfs -b 18254m /filesystem_name
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com