- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Filesystem Defragmentation Question
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
01-20-2005 07:36 AM
01-20-2005 07:36 AM
Filesystem Defragmentation Question
TIA!
"fsadm -F vxfs -D -E /interfaces"
Directory Fragmentation Report
Dirs Total Immed Immeds Dirs to Blocks to
Searched Blocks Dirs to Add Reduce Reduce
total 3280 218842 518 196 1255 68161
Extent Fragmentation Report
Total Average Average Total
Files File Blks # Extents Free Blks
11450869 1 1 6725426
blocks used for indirects: 3626
% Free blocks in extents smaller than 64 blks: 23.99
% Free blocks in extents smaller than 8 blks: 3.32
% blks allocated to extents 64 blks or larger: 1.83
Free Extents By Size
1: 17932 2: 12995 4: 2944 8: 7114
16: 7979 32: 5079 64: 4187 128: 2692
256: 1217 512: 390 1024: 105 2048: 8
4096: 3 8192: 0 16384: 1 32768: 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 09:58 AM
01-20-2005 09:58 AM
Re: Filesystem Defragmentation Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 10:03 AM
01-20-2005 10:03 AM
Re: Filesystem Defragmentation Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 10:11 AM
01-20-2005 10:11 AM
Re: Filesystem Defragmentation Question
As rules go:
1) Anytime you get into 6 digits or more in dir entries performance will *always* suffer.
You just can't cache or hache that many!
This is a *very* poor design & you need to change this.
2) Fragmentation is not really a problem until you've approached/exceeded 90% usage at some point in time.
3) Can't hurt (except CPU/disk usage) to run the actual defrag command & *always* use -d -D & -e -E when doing so so you can see the before/after results. And I generally run it *at least* twice. As it can be a step-by-step process to get to optimum. BUT with those dir entry numbers...hell it could take you 4-5 times or more.
You REALLY need to trim those directories or frankly you'll be battling this problem - forever.
For details on the output run
man fsadm_vxfs
It'll explain it all.
My 2 cents,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 11:16 AM
01-20-2005 11:16 AM
Re: Filesystem Defragmentation Question
I like to use the defrag as follows;
fsadm -F vxfs -deDE /interfaces.
-e reorganizes & consolidates extents
-d reorganizes & optimizes directories
-E reports extent fragmentation
-D reports directory fragmentation
Under the Imends to Add, Dirs to Reduce & Blocks to Reduce, you want them as close to zero as possible.
Under % Free blocks in extents smaller than 64 blks: & % Free blocks in extents smaller than 8 blks:, you want these numbers to be as low as possible.
Under % blks allocated to extents 64 blks or larger:, you want this as large as possible.
Hope that this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 04:01 AM
01-21-2005 04:01 AM
Re: Filesystem Defragmentation Question
Thanks again for the information!