1833555 Members
2949 Online
110061 Solutions
New Discussion

Filesystem Usage

 
Olebile
Frequent Advisor

Filesystem Usage

Gentlemen,

How is it possible that my bdf output shows usage more than just the overhead on a filesystem but when I "cd" into that filesystem there is absolutely nothing. How can I recover the files? The server runs HP-UX 10.20.

rgds

Olebile
Perfomance Monitoring is not always easy
5 REPLIES 5
Christian Gebhardt
Honored Contributor

Re: Filesystem Usage

Hi
if you have files deletetd which were opened by a process you cannot see the file with ls, but the files still exist, you can see it with command "lsof".

(http://hpux.asknet.de/)

Another reason is if you have a mountpoint with files in it. You cannot ssee the files, but they are still there. Umount the filesytsem an delete this files.

Chris
Michael Tully
Honored Contributor

Re: Filesystem Usage

Hi,

The deleted file are not recoverable except from backup tape.

Once the process terminates, so will the file contents that was in memory. This is no undelete feature in HPUX.

I read a posting here, that had such a thing, it may work I haven't tried it.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2692ee3e323bd5118fef0090279cd0f9,00.html

Regards
Michael
Anyone for a Mutiny ?
Michael Tully
Honored Contributor

Re: Filesystem Usage

Hi,

The deleted file are not recoverable except from backup tape.

Once the process terminates, so will the file contents that was in memory. This is no undelete feature in HPUX.

I read a posting here, that had such a thing, it may work, but I haven't tried it.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x2692ee3e323bd5118fef0090279cd0f9,00.html

Regards
Michael
Anyone for a Mutiny ?
Frank Slootweg
Honored Contributor

Re: Filesystem Usage

You can not recover *deleted* files, but you can *orphaned* files. Orphaned files are files which have an inode (i.e. size, date/time, etc.) and one or more datablocks, but do not have a *name* (i.e. no directory entry).

You can recover orphaned files with fsck(1M).

Do you have any idea *why* and *how* you lost these files?
Armin Feller
Honored Contributor

Re: Filesystem Usage

Hi,

please have a look here:

http://www.samag.com/documents/s=1441/sam0111b/0111b.htm

Regards,
Armin