8.21.2006

fsadm - fails with error extending file system

Encountered on HP-UX 11.00:

/$ fsadm -F vxfs -b 20448M /directory
vxfs fsadm: cannot open /directory/lost+found/.fsadm - errno 2

ls /directory   --- no lost+found there.

man mklost+found

cd /directory

/directory$ mklost+found
creating slots...
removing dummy files...
done
drwxr-x---   2 root       sys           4096 Aug 21 09:34 /directory/lost+found

now fsadm succeeds

2 comments:

head said...

Hi, this was useful for me just now ;) thanks

vj said...

Hi,

i am facing the same issue, below is the error.

# fsadm -b 644874240 /oracle/PW1/sapdata6
fsadm: /etc/default/fs is used for determining the file system type
vxfs fsadm: V-3-20305: cannot open /oracle/PW1/sapdata6/lost+found/.fsadm - errno 30

but still i am not able to do fsadm.

we usually reboot the server to reflect the fs extention.

Any idea why??

Regards,
Vijay ALur.