1838491 Members
3021 Online
110126 Solutions
New Discussion

Re: .fsadm

 
SOLVED
Go to solution
roger_114
Occasional Contributor

.fsadm

I've noticed on one of our servers that the lost+found directories contain the following:
-r-------- 1 root sys 0 May 6 2004 .fsadm

Why is this file (.fsadm) in these folders)?

Thanks

7 REPLIES 7
Robert-Jan Goossens
Honored Contributor
Solution

Re: .fsadm

Hi,

If you use fsadm to extend a filesystem, fsadm will lock this filesystem with a lost+found/.fsadm lock file. So this looks like a failed attempt to extend the filesystem.

Hope this helps,
Robert-Jan
Florian Heigl (new acc)
Honored Contributor

Re: .fsadm

Hmmm.. I don't quite remember what it's function is, but I'm used to it being there.
If You run mklost+found I think it's also placed there again, so it has *some* function, but where I now looked, it doesn't exist.

have a look at the following snippet from the mklost+found man page:
DESCRIPTION
The mklost+found command creates a directory named lost+found in the
current directory. It also creates several empty files which are then
removed to provide empty slots for the fsck command (see fsck(1M)).

I just tried it, but no .fsadm stayed.

I hope someone has better educated information on this...
yesterday I stood at the edge. Today I'm one step ahead.
TwoProc
Honored Contributor

Re: .fsadm

I believe that I've also seen that after doing a reorg of an online jfs filesystem...
We are the people our parents warned us about --Jimmy Buffett
A. Clay Stephenson
Acclaimed Contributor

Re: .fsadm

It's the lock file for the fsadm command. Man fsadm_vxfs for details. A zero length file (or no file) indicates no fsadm is running on the filesystem. Leave it there and certainly do not remove the loct+found directory.
If it ain't broke, I can fix that.
Stuart Abramson
Trusted Contributor

Re: .fsadm

As noted above, it's the fsadm lock file.

BTW, if you remove the lost+found directory, fsadm will no longer work. Also, I think that other features of online JFS won't work, like extend or reduce on the fly.
James George_1
Trusted Contributor

Re: .fsadm

Hi

when you do an fsck , it also dumps some thing in our lost+found directory ..

Rgds / AJmes
forum is for techies .....heaven is for those who are born again !!
Florian Heigl (new acc)
Honored Contributor

Re: .fsadm

James - if fsck dumps something in lost+found then Your fs was a bit broken :)
yesterday I stood at the edge. Today I'm one step ahead.