Solved

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

Posted on 2008-10-25
9
444 Views
Last Modified: 2010-04-21
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?
0
Comment
Question by:sshujaat
  • 4
  • 3
  • 2
9 Comments
 
LVL 40

Expert Comment

by:omarfarid
ID: 22805813
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
0
 
LVL 3

Expert Comment

by:Saranyakkali
ID: 22806558
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:
http://www.experts-exchange.com/OS/Unix/Solaris/Q_23803967.html
0
 

Author Comment

by:sshujaat
ID: 22807021
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.

0
 
LVL 40

Expert Comment

by:omarfarid
ID: 22807516
but you did not use the -i option with the newfs command!
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Expert Comment

by:Saranyakkali
ID: 22810698
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
0
 
LVL 3

Expert Comment

by:Saranyakkali
ID: 22810703
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
0
 
LVL 3

Assisted Solution

by:Saranyakkali
Saranyakkali earned 500 total points
ID: 22829330
Hi sshujaat,

Did you tryed  to created with as "newfs -m 0 " ?

Old:
/dev/md/dsk/d100       825G    64M   817G     1%    /mountx
New:
/dev/md/dsk/d100       825G    64M   825G     1%    /test

are you facing any issues still ?

0
 

Accepted Solution

by:
sshujaat earned 0 total points
ID: 22829701
When I called sun, they Eng. found a doc, which says that if you have very large number of small number of files, and re-creation & re-storing still show fragmentattion, then you try tunning file system after re-creating it and before re-stogin as follows:
tunefs -o space <raw devie name>.
What it does is preserve the space taken by i-node block which is by default is 521K.  Rest, I did same as -m 1 -i 8192 while creation of filesystem.  Filesystem was at 22.2 fragmentation, after this it is at 1.3%.

0
 

Author Comment

by:sshujaat
ID: 22867410
I want to close this question
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
removing nim resources 5 48
Oracle Finace 3 67
How to calculate the current use of PVU on my TSM server. 4 61
unix solaris snoop command 6 85
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now