- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to expand /opt filesystem 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
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
12-04-2003 12:46 AM
12-04-2003 12:46 AM
L3000, VxFS/OnlineJFS, HP-UX 11.11
I need to grow the /opt filesystem.
Can this be done with the /opt filesystem mounted or will OnlineJFS be able to do this
with the filesystem mounted?
10 points to any good answer.
Thank you
Gino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 12:52 AM
12-04-2003 12:52 AM
SolutionFrom "man fsadm_vxfs":
/usr/sbin/fsadm [-F vxfs] [-V] [-b newsize] [-r rawdev] mount_point
If the -b option is specified, fsadm resizes the file system whose
mount point is mount_point. If newsize is larger than the current size
of the file system, the file system is expanded to newsize sectors.
Similarly, if newsize is smaller than the current size of the file
system, fsadm shrinks the file system to newsize sectors.
I don't believe you have to unmount the file system, but that should be easy enough to find out - just try it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 12:55 AM
12-04-2003 12:55 AM
Re: How to expand /opt filesystem using OnlineJFS?
# fsadm -F vxfs -b [lv_size_MB]M /mountdirectory
NOTE: You need to add M directly to the lv_size_MB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 12:56 AM
12-04-2003 12:56 AM
Re: How to expand /opt filesystem using OnlineJFS?
Before you can extend the FS you have to:
1) Make sure you have free extents in the VG & if not add a PV to the VG with vgextend
2) lvextend the /opt LV
Then you can extend the FS with fsadm.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:03 AM
12-04-2003 01:03 AM
Re: How to expand /opt filesystem using OnlineJFS?
Will there be any issues if there are any open files on that (/opt) filesystem?
I ran 'lsof +D /opt' and it does show some open files.
10 points to any good answer.
Thank you
Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:05 AM
12-04-2003 01:05 AM
Re: How to expand /opt filesystem using OnlineJFS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:07 AM
12-04-2003 01:07 AM
Re: How to expand /opt filesystem using OnlineJFS?
The only time you run into issues is when reducing a file system, enlarging should be fine.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:11 AM
12-04-2003 01:11 AM
Re: How to expand /opt filesystem using OnlineJFS?
The boot disk is mirrored (MirrorDisk/UX)
so there should not be a problem, correct?
10 points to any good answer.
Thank you
Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:13 AM
12-04-2003 01:13 AM
Re: How to expand /opt filesystem using OnlineJFS?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2003 01:15 AM
12-04-2003 01:15 AM
Re: How to expand /opt filesystem using OnlineJFS?
Bill Hassell, sysadmin