1834514 Members
2722 Online
110068 Solutions
New Discussion

Problems with OnLine JFS

 
SOLVED
Go to solution
Kevin Lamb
Frequent Advisor

Problems with OnLine JFS

Hi,

I am trying to reduce a filesystem with OnLineJFS version2 but am running into problems:

When I run the fsadm command I get the following error:
fsadm -F vxfs -b 307200 /systemdata
fsadm: cannot shrink /dev/vg02/rlvol2 - upgraded fs - inodes are currently in use.

I have ran a defrag (fsadm -d -D -e -E) and this reports as clean, I am able to unmount the directory without a problem.

I have ran lsof and there is no-one accessing the area.

Any ideas why this is failing?

Thx

Kev
2 REPLIES 2
Stefan Farrelly
Honored Contributor
Solution

Re: Problems with OnLine JFS


The version of OFS you are using cannot cope with data on the extents you are trying to reduce. You need the later version of OJFS (3.3) which can do this. Running defrag was a good idea to try to free up the data on the extents but if it doesnt work youre out of luck.

Only option now is to create a new filesystem at the new size you want and cpio all the data over, then swap the entries in the fstab file.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Kevin Lamb
Frequent Advisor

Re: Problems with OnLine JFS

Stefan,

Thanks for the info, I will try and organise an upgrade of the OJFS.

Thx

Kev