1829735 Members
2059 Online
109992 Solutions
New Discussion

File system problem

 
SOLVED
Go to solution
Sudhaadm
Regular Advisor

File system problem

Hi all,
Thanks in advance.
/dev/vg02_baan/lvbspadmn
10485760(Kbytes) 19030(Used) 9812567(available) 0%(%Used) /bspadmn



/dev/vg02_baan/lvapps
9437184(Kbytes) 18773(Used) 8829768(Available) 0%(%Used) /apps

--------------
Filesystem %Used is showing that 0 bytes and the usde space for /dev/vg02_baan/lvbspadmn(19030),but there is no data and the same like apps file system also.The dat is also unable to find on the filesystem.
Please help us to resolve.
4 REPLIES 4
Bill Hassell
Honored Contributor
Solution

Re: File system problem

For /bspadmn, the used space (19,030) as a percentage of the total space (10,485,760) is less than 1% (0.18%) so 0% is correct. If your question is:

Why is there something used when the filesystem is empty?

This is a common feature of Unix filesystems. When you store thousands of file and directories in a filesystem, the directories must be expanded to accomodate the new files. When all these files are removed, the entries in the directories are marked as empty but the size of the directory remains the same. A directory is also a file so it occupies space. Thus, an empty directory may show several thousand bytes of usage.

If this is a concern, you can reformat the filesystem with newfs.


Bill Hassell, sysadmin
Devender Khatana
Honored Contributor

Re: File system problem

Hi,

Apart from the above clarification, one more point to note will be that there will be some space always used in file system when you create it and this seems to be the case here. This space will always depend on the size of the file system. More is the size of file system more will be this space.

HTH,
Devender
Impossible itself mentions "I m possible"
Mark Ellzey
Valued Contributor

Re: File system problem

Sudhaadm,

Keep in mind that when you create a filesystem, a lost+found directory is also created, which takes space. In addition, the default minimum free space of a newly created filesystem is 10%. This is so that when a filesystem is filled to 100%, you still have 10% free space left. This allows you to correct the problem in the full filesystem.

Regards,
Mark
Sudhaadm
Regular Advisor

Re: File system problem

##Thanks for the great support.