Is is safe to run jfs_fsck -n on a live file system?
hm, the manpage says: "-n Open the file system read only"
and "read only" *really* shouldn't alter the fs at all. i've just tried it (could not resist...) and the message
"WARNING: Checking a mounted filesystem does not produce dependable
results."says it all.
Does it even make sense?
see above WARNING message, but i'd say if there is something really wrong with the fs, it should spit out errors with "-n" too. but it won't fix it.
as a jfs-user, i'd say that running jfs_fsck *without* "-n" on a read-only fs would make more sense - but i don't know if that is a safe thing to do. maybe some jfs-guru can comment on that....
The reason I ask is beause I had an NFS kernel oops and jfs was in the stack trace. I was considering doing a read-only fsck just to make sure there were no file system issues after it.
you did not have to reboot after the oops? if you did, you [sh|c]ould've fsck'ed the disk without "-n".
Christian.
------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ Jfs-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jfs-discussion
