- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- degragmentation on disk or ram
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
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-27-2006 06:30 PM
тАО01-27-2006 06:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 06:38 PM
тАО01-27-2006 06:38 PM
SolutionYes you can defragment files on a Vxfs file system. To achive this you should use
#fsadm -F vxfs -D /home (For directory fragmentation report)
#fsadm -F vxfs -d -D -s /home (Reorganization)
man fsadm_vxfs for details.
I do not think it is possible for RAM.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 06:39 PM
тАО01-27-2006 06:39 PM
Re: degragmentation on disk or ram
Yes, It happens on HP-UX if you installed OnlineJFS. Check man page of "fsadm" for more information.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 08:04 PM
тАО01-27-2006 08:04 PM
Re: degragmentation on disk or ram
defragmenation on RAM is not really possible.
Defragmentation on disks can happen. Most of the time you will have to manage your disk space at your application level efficiently (e.g. LMT in oracle).
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 09:23 PM
тАО01-27-2006 09:23 PM
Re: degragmentation on disk or ram
Deframentation of RAM is not rellay needed in HP-UX since it is based on Unix. Where as windows third party tools are available to do so.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 09:33 PM
тАО01-27-2006 09:33 PM
Re: degragmentation on disk or ram
Some threads about Deframentation of HP-UX disks.
http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=140574
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=691864
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=78706
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2006 01:53 AM
тАО01-28-2006 01:53 AM
Re: degragmentation on disk or ram
#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 >> $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-28-2006 05:06 AM
тАО01-28-2006 05:06 AM
Re: degragmentation on disk or ram
regards,
shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2006 05:21 AM
тАО01-28-2006 05:21 AM
Re: degragmentation on disk or ram
I run a script once a month that checks for it, and generates the report, but then does not defrag. (We only have OnlineJFS for our DB machines...)
#!/bin/ksh
# Filesystem fragmentation checker
# written by jjp 22 May 2003
# To defrag a fragmented filesystem, do a 'fsadm -D -d -E -e /filesystem'
# This will run a report on the fragmentation before and after the run
rm /home/ucs/jjp/fragmentreport
touch /home/ucs/jjp/fragmentreport
for i in `bdf -l |grep -v Filesystem |awk '{print $6}'`
do
if [ $i != "/stand" ]; then
uname -n
print $i
fsadm -F vxfs -D -E $i
fi
done
The report lets you know what kind of fragmentation you have. (You have to extrapolate from the report.) I run the script each month, then have one of my student employees pore over the reports to see what's starting to become fragmented. I have a little paper I can dig up for you that explains what to look for if you can't figure it out ffrom the man page. (man fsadm)
Hope it helps
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2006 05:21 AM
тАО01-28-2006 05:21 AM
Re: degragmentation on disk or ram
Maybe this link can help, see the reply from Mr. Ferguson:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=102143&admit=-682735245+1138472183916+28353475
Regards,
Zigor