- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Time for fsadm to Run
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
09-07-2003 09:53 PM
09-07-2003 09:53 PM
Time for fsadm to Run
I am running the following because I need to reduce size of the filesystem from 24GB to 5GB. We have OnlineJFS installed on a HP-UX 11i machine. I am running "fsadm -d -D -e -E /fileystem" and the first output is listed below.
Directory Fragmentation Report
Dirs Total Immed Immeds Dirs to Blocks to
Searched Blocks Dirs to Add Reduce Reduce
total 17870 6378 12708 47 65 109
Now to the question. How long should this take? It has been running for the last 90 minutes. Maybe, I should have just backed it up, reduced the size and restored. Also, can I break in to it without any harm?
Regards,
Emil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2003 11:16 PM
09-07-2003 11:16 PM
Re: Time for fsadm to Run
The time depends on how fast the disksystem and perhaps the CPU (and, of course of the size of the filesystem) but it will take quite a long time. I havr run this command only a few times and on bigger filesystem, it took the whole night. 90 minutes don't seems to be abnormal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2003 02:17 AM
09-08-2003 02:17 AM
Re: Time for fsadm to Run
More the usage space the more time it takes.
you could have added to option -v (verbose) to the command like to check out the output messages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2003 05:18 AM
09-08-2003 05:18 AM
Re: Time for fsadm to Run
It took about 4 hours to complete. I have never used fsadm to defrag (as far as I remember). Does it make that much of a difference? Our disk are pretty old.
Regards,
Emil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2003 05:39 AM
09-08-2003 05:39 AM
Re: Time for fsadm to Run
As defragmentation is a veru disk intensive operation I think the time is direct proportional to the average seek time for the disk. Defragmentation for a disk with 5ms average seek time will be 4 times faster the a disk with 20ms.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2003 06:40 AM
09-08-2003 06:40 AM
Re: Time for fsadm to Run
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2003 06:50 AM
09-08-2003 06:50 AM
Re: Time for fsadm to Run
I'm somewhat confused with your question.
IF your intent is to *reduce* the FS size then the command would be:
fsadm -F vxfs -b xxxx /mnt_point
Where xxxx=new *smaller* size in sectors.
But this can be a dodgy command as there's no guarantee that there's no data in the higher sectors that would be reduced. BUT, you may have helped yourself by defragmenting the FS first.
I would DEFINITELY run 2 fbackups on this FS *before* I attempt the reduction.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-08-2003 11:47 AM
09-08-2003 11:47 AM
Re: Time for fsadm to Run
Tim