- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Reducing OnlineJFS File System
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
03-28-2001 05:58 AM
03-28-2001 05:58 AM
looked fsadm up in man pages but these options are not listed. Can someone please explain to me how to reduce the lvol on the 3rd disk?
I am on a N4000, HPUX 11.0.
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 06:12 AM
03-28-2001 06:12 AM
Solutionfsadm -D Report on directory fragmentation
fsadm -d Reorganize directories to reduce fragmenting
fsadm -E Report on extent fragmentation within f/s
fsadm -e Reorganize (defrag) a f/s extents to reduce
fragmenting.
fsadm -b Resize (in blocks of size 1024) a file system
Hope that helps,
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 06:16 AM
03-28-2001 06:16 AM
Re: Reducing OnlineJFS File System
fsadm -F vxfs -b yyyyy /mount_point
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 06:29 AM
03-28-2001 06:29 AM
Re: Reducing OnlineJFS File System
To reduce lv's out of a volume group you would use lvreduce.
Ex: lvreduce /dev/vg00/lvol9
To reduce an lv from a specific disk in a vg:
lvreduce /dev/vg00/lvol9 /dev/dsk/c?t?d?
Hope this helps
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 07:33 AM
03-28-2001 07:33 AM
Re: Reducing OnlineJFS File System
proper steps to reduce when using online jfs:
1) lvreduce ... (see man lvreduce)
2) fsadm ... (see man fsadm_vxfs)
The big advantage of online jfs is that you can run the commands on a mounted filesystem.
Steffi Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2001 07:40 AM
03-28-2001 07:40 AM
Re: Reducing OnlineJFS File System
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2001 12:12 AM
03-29-2001 12:12 AM
Re: Reducing OnlineJFS File System
#fsadm -F vxfs -b 1000M /mountpoint
this resizes to 1 gigabytes.
note: most documentation says the -b parameter uses blocks. So 1000 * 1024 = 1024000
or -b 1024000
instead you can specify in megabytes directly:
-b 1000M (Ihave never seen this documented, but it works)
You do need OnlineJFS in order to use fsadm.
Get the Disk & File Management Task on HP-UX by Tom Madell (ISBN 0-13-518861-X)
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2001 10:49 AM
03-31-2001 10:49 AM
Re: Reducing OnlineJFS File System
be careful, because it migth happen that "fsadm" is NOT
able to move all used blocks to the beginning of the LV.
Usually some i-nodes are left where they were, and then
"fsadm" will complain about not being able to reduce!
Even multiple "passed" with "-E -e -D -d" will not help...
HTH,
Wodisch