Hi, First thanks all responser on the hot issue,special thanks to Tony Mills,who drive me toward the right direction,and Peter Jakobi(sorry I can't list all your name here). ***************** Case Description ***************** V490+Solaris 9,On a 79GBytes file system "/usr/local", where there are 25GBytes free, system fails to create a 1GBytes file via mkfile: # df -h /usr/local Filesystem size used avail capacity Mounted on /dev/dsk/c1t1d0s6 79G 53G 25G 69% /usr/local # cd /usr/local;mkfile 1g 1g Could not set length of 1g: No space left on device # ls -l 1g -rw------- 1 root other 0 Aug 1 14:42 1g The file "1g" not be created with specified size,Suspect the inode may exhaust,check it find there are enough free inode: # df -o i /usr/local Filesystem iused ifree %iused Mounted on /dev/dsk/c1t1d0s6 6465258 34820118 16% /usr/local ***************** Action Taken ***************** Actions to be taken include: - fsck the filesystem,no issue found - Re-constructe the filesystem with smaller inode size: # newfs -i 2048 /dev/rdsk/c1t1d0s6 All above actions can't fix the issue. ***************** Solutions ***************** By "fsck" or "fstyp" to found the UFS filesystem "/usr/local" is under very heavy fragmentation (>32%) ,it caused the full blocks(8k) exhausted(nbfree=0),So we can't create any file which size lager than 8K,although there are over 25GB free space. The final solution is re-create the filesystem by: # newfs -o space <ufs_filesystem_raw_device> and then restore the data. Thanks again. Best Rgds, Simon _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagersReceived on Sun Aug 5 23:38:21 2007
This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:06 EST