[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::digital_unix

Title:DIGITAL UNIX(FORMERLY KNOWN AS DEC OSF/1)
Notice:Welcome to the Digital UNIX Conference
Moderator:SMURF::DENHAM
Created:Thu Mar 16 1995
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:10068
Total number of notes:35879

9466.0. "invalid argument on files" by MSBCS::REED () Thu Apr 10 1997 16:18

Hi,

I have a about 5 files on an ADVFS filesystem, that when you
do an 'ls -l' you get 'Invalid argument' on the file.

This is only when doing an 'ls -l' on the files. I can't delete
or do anything with the files.

If I do a 'file bookmarks.html' on the file
I get 'cannot open for reading'.

Interesting the 8 files that are in this funky state
are all Netscape related files. One is a bookmarks.html
file while the others are cached .gif files in the
Netscape cache.

I can't move or do anything, but Networker keeps reporting
invalid argument on these files and the backups fail.

Any help would be appreciated, I'm rather stumped.

Thanks,
Chris
T.RTitleUserPersonal
Name
DateLines
9466.1wild guessGIDDAY::STRAUSStalking through my binocularsThu Apr 10 1997 19:178
    You didn't say whether or not a plain "ls" works, but here's a wild
    guess - perhaps these filenames are listed in the parent directories,
    but the files themselves don't actually exist?
    
    Are these files all in the same domain or fileset?
    perhaps msfsck might tell you something.
    
    	leon
9466.2ls does workMSBCS::REEDWed Apr 16 1997 16:075
Yes, just an ls in the directory shows the files fine, and they are all in the same
ADVFS domain. What is msfsck, I'm not familiar with that command.

Thanks,
Chris
9466.3some info on msfsck and related toolsDECWET::DADDAMIODesign Twice, Code OnceWed Apr 16 1997 18:139
    msfsck and vchkdir check the on-disk structures for AdvFS for versions
    of Digital UNIX *before* V4.0. For V4.0 and after, they have been
    combined into 1 tool called verify. There is a manpage for verify, but
    I don't know if there is any for msfsck or vchkdir (they are in
    /usr/field where verify is in /sbin/advfs). You can get the command
    syntax for msfsck and vchkdir by issuing the command with -h. If you
    specify -f or -d with vchkdir, it will try to fix up or delete files,
    so you may want to run without either first to see if it finds anything
    wrong.