1827520 Members
2598 Online
109965 Solutions
New Discussion

fsadm error 16!

 
Amit Manna_6
Regular Advisor

fsadm error 16!

HI,
We are getting fsadm error 16 while trying to reduce a Vxfs file system. Can anybody help n this.
4 REPLIES 4
Peter Godron
Honored Contributor

Re: fsadm error 16!

Amit,
Cut from a web doc:

There are three primary causes for this error:

1. The file system is too busy to be resized
· Although resizing a file system requires that the file system be mounted, fsadm must "freeze" the file system to actually
perform the resize
· Freezing will temporarily prevent new accesses to the file system and fsadm must wait for pending I/O's to complete
· If fsadm is unable to freeze the file system quickly, it gives up stating that the file system is too busy
2. The file system has a snapshot file system mounted on it
· If a snapshot file system was mounted that is a "snapof" the file system being resized, the resize will fail
· File systems that have snapshots mounted on them cannot be resized
3. The file system may have corruption and needs to be fsck'd
· A file system that has experienced structural damage and is marked for full file system check cannot be resized
Error # 16 - Resolution
· Make sure that the file system does not have any snapshot file system mounted on it
· Attempt the resize when the file system has less of a load on it
· If fsadm continues to fail with "errno 16" then unmount the file system, perform a "fsck", remount and try again
RAC_1
Honored Contributor

Re: fsadm error 16!

Is error code 16 from OS or from fsadm? OS error code 16 refer to following.

#define EBUSY 16 /* Mount device busy */


Do you have enough space to reduce a FS? Reducing a file systems is not good, unless you have a good backup.

fsadm -F vxfs -b xxxxM /mount_point (if you have online jfs)
lvreduce -L xxxM /dev/vgxx/lvolx


Is that what you are doing?
There is no substitute to HARDWORK
Amit Manna_6
Regular Advisor

Re: fsadm error 16!

yes. I did that steps.
Sandman!
Honored Contributor

Re: fsadm error 16!

Please tell us your OS type, version of OnlineJFS and the filesystem layout of the mount point you are trying to reduce.

# uname -a
# swlist -l product OnlineJFS
# fstyp -v /dev/vgxx/lvolx

thanks