Link to home
Start Free TrialLog in
Avatar of sshujaat
sshujaat

asked on

102 Gigs ufs filesystem showing full around 81 G with i-nodes 4096

Hi,
As per Vendore we have to use inode parameter inodes in Solaris 8 ufs filesystem set at 4096, This filesystem has close to 151 Meg number of files when we run fsck, Total filesystem size is 102 Gigs, but running out of room around 81 Gigs.  WHats the best soloution, should I backup, re-create with 8192 inodes number, or do not use inodes flag at all, leave it as default, or should changing the block size to 2048 would help?
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

You need to backup your file system and recreate it using newfs with the -i option with lower number (since it reflects the expected file size and hence give more inodes) then restore your backup. Please see:

http://docs.sun.com/app/docs/doc/806-0625/6j9vfilrf?a=view
i had the same issue with svm file system, it solved after recrating with block size 2048 and the file system you must need to take a backup of full volume.

refer bellow:
https://www.experts-exchange.com/questions/23803967/FTp-issue-in-solaris10.html
Avatar of sshujaat
sshujaat

ASKER

I have tried re-creating file system with 2048 inode also, it is still having same problem, I am using following command to create file system:

newfs -m 1 /dev/md/rdsk/d50, setting minfree to 1%
when i run fsck I get following:
root@icms-uat-ts01 # fsck /local
** /dev/md/rdsk/d50
** Last Mounted on /local
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3a - Check Connectivity
** Phase 3b - Verify Shadows/ACLs
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cylinder Groups
5990775 files, 81104620 used, 23210778 free (23210778 frags, 0 blocks, 22.2% fragmentation)

Could it be 5990775 files causing it? Below is the output of filesystem size;
/dev/md/dsk/d50      104380942 81170166 22166967    79%    /local

I would really appreciate if someone could help me out.

but you did not use the -i option with the newfs command!
Today morning i had the same issue.. at my end.. i did as bellow..

/dev/md/dsk/d100       825G    64M   817G     1%    /mountx

which is 8G missing..

i used as bellow..

newfs -M 0 /dev/md/dsk/d100  

that's all
Today morning i had the same issue.. at my end.. i did as bellow..

/dev/md/dsk/d100       825G    64M   817G     1%    /mountx

which is 8G missing..

i used as bellow..

newfs -m 0 /dev/md/dsk/d100  

that's all
SOLUTION
Avatar of Saranyakkali
Saranyakkali
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I want to close this question