1838458 Members
3145 Online
110126 Solutions
New Discussion

Disk Defragmentation

 
hpuxhelp
Regular Advisor

Disk Defragmentation

Does anyone know on how to do this? I 'm trying to understand this ulitity. What is AdvFs ??
8 REPLIES 8
Pete Randall
Outstanding Contributor

Re: Disk Defragmentation

Assuming you have a VxFS file system (or journalled file system), you can defrag it with a command like this:

for i in `bdf -l |grep -v Filesystem |awk '{ print $6 }'`
do
if [ $i != "/stand" ]; then
fsadm -F vxfs -d -D -e -E $i
fi
done

There is a product called Online JFS which adds additional features the base JFS product, like online re-sizing.

Pete

Pete
hpuxhelp
Regular Advisor

Re: Disk Defragmentation

I do not online JFS therefore, fsadm can't be use. Is there a man page on this so I can read it. What does AdvFs stabd for?? Advance Filesystem???
George Abraham_1
Regular Advisor

Re: Disk Defragmentation

hi Dido

Online JFS is a wonderful tool, which helps you to increase the filesystem size online...without unmounting the filesystem.

To install it you need a codeword, Comes with the first of the applications CD..

cheers
George
keep smiling
Pete Randall
Outstanding Contributor

Re: Disk Defragmentation

Sorry, I'm not sure what AdvFS might be. I thought maybe you were referring to Online JFS, but I guess not.

There is a man page for fsadm, if that's what you mean. If you're looking for info on Online JFS, try here:

http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-1878/5187-1878_top.html&con=/hpux/onlinedocs/5187-1878/00/00/6-con.html&toc=/hpux/onlinedocs/5187-1878/00/00/6-toc.html&searchterms=JFS&queryid=20021217-132349

Pete

Pete
hpuxhelp
Regular Advisor

Re: Disk Defragmentation

I find out that advfs is the local filesystem and utilities option on tru64 unix os ...on hp we are using online JFS...
thanks for your help...
Chris Vail
Honored Contributor

Re: Disk Defragmentation

Many moons ago, Digital Equipment Company purchased a license of VxFS from Veritas, and developed it on their own. DEC was bought out by Compaq, and we all know that Compaq was bought out by HP. This is known as AdvFS, and will be incorporated into future releases of HP/ux. Its not currently available as far as I know, except perhaps as a beta release. Expect it sometime next year, however. HP doesn't want to license a product that it already owns.


Chris
fengliang hu
Occasional Contributor

Re: Disk Defragmentation


AdvFs is quite different from other Unix file systems of the type journaling or traditional ufs. A file system can have multiple volumes and those volumes can be configured or extended to mirror/stripe/concatenation.

There are also a few differences between Tru64 disk group and HP-UX/AIX LVM or VxVM. The disk groups in Tru64 may share disks while almost all the other volume managers must have exclusive disks in a disk group.
Steven E. Protter
Exalted Contributor

Re: Disk Defragmentation

I have heard that since HP now owns AdvFS, it will probably be ported to HP-UX, but not for a while.

I have always been told that file fragmentation is not an issue with jfs. Am I wrong?

Steve
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com