in reply to unlink : reclaim inodes, etc.?
fsck -n /dev/rdsk/c......
which will check the partiton without making any changes and give you some stats at the end including percentage fragmentation. If the fragmentation value is above single figures then consider doing a ufsdump of the partition, remaking it with newfs and doing a ufsrestore -rvf. It is extremely rare in my experience to need to do this.
If on the other hand you actually want to unlink all of the directories and files on the partition, don't bother, just newfs it.
I hope this is useful.
Cheers,
JohnGG
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: unlink : reclaim inodes, etc.?
by camelcom (Sexton) on Oct 04, 2007 at 09:26 UTC | |
by johngg (Canon) on Oct 04, 2007 at 10:23 UTC | |
by bruceb3 (Pilgrim) on Oct 05, 2007 at 00:02 UTC | |
by johngg (Canon) on Oct 05, 2007 at 08:44 UTC |