- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vxfs filesystem fragmentation
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
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
тАО01-08-2007 03:01 AM
тАО01-08-2007 03:01 AM
2. Is it ok to check fragementation while filesystem is live in production (is there any noticible performance impact)?
3. What is consider "Bad" fragmentation by your favorite rule of thumb?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 03:10 AM
тАО01-08-2007 03:10 AM
Re: vxfs filesystem fragmentation
I run this once a week via cron:
for i in `bdf -l |grep -v Filesystem |awk '{ print $6 }'`
do
if [ $i != "/stand" ]; then
echo "Re-Org'ing " $i
fsadm -F vxfs -d -D -e -E $i
fi
done
This adds directory reorganization to the extent reorganization you specified. Cron'ing it in the middle of the night avoids any negative impact. Running it once a week ensures that I will not have "Bad" fragmentation.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 03:18 AM
тАО01-08-2007 03:18 AM
Solution1. Correct Syntax
2. Will impact on performance, run out-of-hours if possible
3. See http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=86624
Another way to measure: Just before the user notices it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 03:25 AM
тАО01-08-2007 03:25 AM
Re: vxfs filesystem fragmentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 03:38 AM
тАО01-08-2007 03:38 AM
Re: vxfs filesystem fragmentation
#defrag filesystems
0 22 * * 4 /usr/local/bin/fsadm.defrag >/dev/null 2>&1
# cat /usr/local/bin/fsadm.defrag
#!/bin/sh
# defrag all mounted file systems
LOG=/tmp/fsadm.defrag.log
if [ -f $LOG ]
then
mv $LOG $LOG.old
fi
cat /dev/null > $LOG
for i in `mount -l | grep -v stand |awk '{print $1}'`
do
echo "defraging " $i "at "`date` >> $LOG
fsadm -F vxfs -d -D -e -E $i >> $LOG
done
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 03:51 AM
тАО01-08-2007 03:51 AM
Re: vxfs filesystem fragmentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 04:01 AM
тАО01-08-2007 04:01 AM
Re: vxfs filesystem fragmentation
I didn't see it mentioned that Online JFS is a requirement for this.
I found that running this caused my SAN admins headaches with high I/O, so schedule it for a time that load is light.
A. Clay is always right, the performance payback isn't real huge, but every little bit helps.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 04:32 AM
тАО01-08-2007 04:32 AM
Re: vxfs filesystem fragmentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 04:42 AM
тАО01-08-2007 04:42 AM
Re: vxfs filesystem fragmentation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 04:46 AM
тАО01-08-2007 04:46 AM
Re: vxfs filesystem fragmentation
I haven't seen fragmentation being a problem on any modern unix filesystem. (That's why I know so little about defraging vxfs... because my knee-jerk reaction is always "that ain't the problem")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-08-2007 06:28 AM
тАО01-08-2007 06:28 AM
Re: vxfs filesystem fragmentation
This *ALWAYS* happens because 'some folks' only know one kind of OS and see everything else with the same viewpoint. Sort of like: If you only have a hammer in your hand then all your problems tend to look like nails.
One of the most common requests for defragmentation comes from authors of lousy SQL code.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-22-2007 12:01 AM
тАО01-22-2007 12:01 AM