HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Files uses more disk space than file system size.
Operating System - HP-UX
1828225
Members
2323
Online
109975
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 10:14 PM
07-06-2004 10:14 PM
Hi
I found a VxFS file system (where Oracle DB creates its temporary data files) whose size is smaller than the total amount of all files. Moreover, du command shows smaller sizes for those files:
Filesystem kbytes used avail %used Mounted on
/dev/vg_oracle/TEMP 8253440 8081463 161234 98% /sgbd/temp
The contents of this file system is:
# ll pindb
total 16156676
-rw-r--r-- 1 oracle dba 9744 Abr 22 2003 alter_pctincrease.sql
-rw-r----- 1 root sys 1073741824 Jul 7 09:37 test
-rw-r----- 1 oracle dba 2147491840 Jul 7 03:21 temporal01.bdf
-rw-r----- 1 oracle dba 2147491840 Jul 7 03:34 temporal02.bdf
-rw-r----- 1 oracle dba 2147491840 Jul 7 03:25 temporal03.bdf
-rw-r----- 1 oracle dba 2147491840 Jul 7 03:59 temporal04.bd
You may compute total amount: 9437216 KB (aprox 9 GB)... but bdf command shows near 8 GB.
I unmounted and fsck'ed using -o full option... but no error is found.
'du' command shows file sizes other than 'ls -l' command.
# du -ks *
10 alter_pctincrease.sql
1048584 test
1791800 temporal01.bdf
1767224 temporal02.bdf
1742560 temporal03.bdf
1728160 temporal04.bdf
My account ingeneer says this issue is found where Oracle uses 'sparse files'... what are those ? where can I read tutorials/info about they ? Is it a feature from Oracle or from VxFS ?
Thanx in advance
I found a VxFS file system (where Oracle DB creates its temporary data files) whose size is smaller than the total amount of all files. Moreover, du command shows smaller sizes for those files:
Filesystem kbytes used avail %used Mounted on
/dev/vg_oracle/TEMP 8253440 8081463 161234 98% /sgbd/temp
The contents of this file system is:
# ll pindb
total 16156676
-rw-r--r-- 1 oracle dba 9744 Abr 22 2003 alter_pctincrease.sql
-rw-r----- 1 root sys 1073741824 Jul 7 09:37 test
-rw-r----- 1 oracle dba 2147491840 Jul 7 03:21 temporal01.bdf
-rw-r----- 1 oracle dba 2147491840 Jul 7 03:34 temporal02.bdf
-rw-r----- 1 oracle dba 2147491840 Jul 7 03:25 temporal03.bdf
-rw-r----- 1 oracle dba 2147491840 Jul 7 03:59 temporal04.bd
You may compute total amount: 9437216 KB (aprox 9 GB)... but bdf command shows near 8 GB.
I unmounted and fsck'ed using -o full option... but no error is found.
'du' command shows file sizes other than 'ls -l' command.
# du -ks *
10 alter_pctincrease.sql
1048584 test
1791800 temporal01.bdf
1767224 temporal02.bdf
1742560 temporal03.bdf
1728160 temporal04.bdf
My account ingeneer says this issue is found where Oracle uses 'sparse files'... what are those ? where can I read tutorials/info about they ? Is it a feature from Oracle or from VxFS ?
Thanx in advance
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 10:23 PM
07-06-2004 10:23 PM
Solution
Check this link:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=101146
sks
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=101146
sks
A rigid mind is very sure, but often wrong. A flexible mind is generally unsure, but often right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2004 10:29 PM
07-06-2004 10:29 PM
Re: Files uses more disk space than file system size.
Both ll/bdf and du are right.
Oracle preallocates space for its temp file. For efficient use, these are not designed the same way as datafile (all filled with zeros at creation). Only used space is physically written. "du" shows you this size.
To be sure noone uses the space Oracle will possibly use, it preallocates this space (tempfile size). This is what ll/bdf show you.
Regards,
Fred
Oracle preallocates space for its temp file. For efficient use, these are not designed the same way as datafile (all filled with zeros at creation). Only used space is physically written. "du" shows you this size.
To be sure noone uses the space Oracle will possibly use, it preallocates this space (tempfile size). This is what ll/bdf show you.
Regards,
Fred
--
"Reality is just a point of view." (P. K. D.)
"Reality is just a point of view." (P. K. D.)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP