Operating System - HP-UX
1837524 Members
3954 Online
110117 Solutions
New Discussion

Problems with fsadm (again!) - HPUX 10.20

 
SOLVED
Go to solution
Francisco Mancardi_1
Frequent Advisor

Problems with fsadm (again!) - HPUX 10.20

I want to defrag /var (I'm using NNM OpenView in this system and it
use a lot /var), then from a window I've issued the following command:

# fsadm -F vxfs -E -e /var

I've got:
Extent Fragmentation Report
Total Average Average Total
Files File Blks # Extents Free Blks
18398 148 70 325532
blocks used for indirects: 23679
% Free blocks in extents smaller than 64 blks: 84.43
% Free blocks in extents smaller than 8 blks: 80.82
% blks allocated to extents 64 blks or larger: 27.00
Free Extents By Size
1: 241302 2: 9745 4: 579 8: 277
16: 201 32: 197 64: 82 128: 61
256: 37 512: 27 1024: 14 2048: 0
4096: 0 8192: 0 16384: 0 32768: 0

vxfs fsadm: setting file system reorg lock: Not a typewriter
lock is held by pid 1073900024 on path /var/lost+found/.fsadm

From the last two lines, it seems to me (if I dont misunderstand it)
the operation can't be done.

I've supossed the operation failed due to some processes using /var.

Then I've tried with the system in single user.
I've used lsof to verify no process were using /var but again
I've got the same message.

Any hint/suggestion is welcome.


Minor problem:
man fsadm_vxfs
No manual entry for fsadm_vxfs
(i've got the man page from docs.hp.com).


Best Regards

Francisco
5 REPLIES 5
erics_1
Honored Contributor

Re: Problems with fsadm (again!) - HPUX 10.20

Fransisco,

Do you have Online JFS installed on the system? It is required.

Eric
Helen French
Honored Contributor

Re: Problems with fsadm (again!) - HPUX 10.20

Francisco Mancardi_1
Frequent Advisor

Re: Problems with fsadm (again!) - HPUX 10.20

More data

Following the instructions present in doc id: KBRC00000301
# swlist -l fileset -a state | grep -i vxfs
JournalFS.VXFS-BASE-KRN configured
JournalFS.VXFS-BASE-RUN configured
JournalFS.VXFS-PRG configured


excuse my ignorance, but with only this software installed
can I use fsadm ?

( I'm becoming a HPUX sysadmin, in the hard way
i.e. hands-on practice and forums help)
Darrell Allen
Honored Contributor
Solution

Re: Problems with fsadm (again!) - HPUX 10.20

Hi,

From man fsadm_vxfs:

The online reorganization and online resize features of fsadm are available only with the Advanced VxFS package.

If "swlist | grep JFS" doesn't show OnlineJFS (also known as Advanced VxFS or Advanced JFS) then you won't be able to use fsadm to defrag your filesystems.

I'd place a software call to HP asking them to send the man page for fsadm_vxfs. I just did that last week.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
S.K. Chan
Honored Contributor

Re: Problems with fsadm (again!) - HPUX 10.20

The location of thoe man pages would be in the following directory.

/usr/share/man/man1m.Z/fsadm_vxfs.1m
/usr/share/man/cat1m.Z/fsadm_vxfs.1m

You can check if you have OnlineJFS by

# swlist -l bundle |grep JFS