clri, dcopy — Clear Inode

Synopsis

/usr/sbin/clri [-F FSType][-V] special
						i-number
/usr/sbin/dcopy [-F FSType][-V] special
						i-number
					

Description

Use the clri command to clear a bad inode that fsck is unable to fix. clri writes zeros on the inodes with the decimal i-number on the file system stored on special. After clri is run, any blocks in the affected file show up as missing in an fsck(1M) of special and any data is lost. You cannot clear an inode on a mounted file system.

Read and write permission are required on the specified file system device. The inode becomes allocatable.

Note

The primary purpose of this command is to remove a file that, for some reason, appears in no directory. If you use clri to clear an inode that does appear in ...

Get Solaris™ 8 System Administrator's Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.