<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
you are right, i can create a 5GB file but no more.<br>
But the trouble isn't in the file size, it is in the total free size os
the partition.<br>
<br>
For example if a i create 2 file of 2.5 GB, i can't create a third file
of 2.5 GB.<br>
<br>
If after creation, i remove and create again the file happens the same.<br>
<br>
Really, i don't know what is the problem! <br>
<br>
Tomorrow, like Sunil said me, i will open a bug report in Bugzilla
attaching the stat_sysdir.sh output.<br>
<br>
What is the url bugzilla to open the bug report about this problem?<br>
<br>
Thanks in advanced<br>
<br>
Regards,<br>
Pablo<br>
<br>
P.D: <br>
Now just i cant write ~ 2.8 GB in the same partition:<br>
<br>
df -kh | grep mail<br>
300G 239G 62G 80% /home/mail<br>
<br>
dd if=/dev/zero of=./file1 bs=100M count=25<br>
25+0 records in<br>
25+0 records out<br>
2621440000 bytes (2,6 GB) copied, 129,77 seconds, 20,2 MB/s<br>
<br>
dd if=/dev/zero of=./file2 bs=100M count=25<br>
dd: escribiendo «./file2»: No queda espacio en el dispositivo (Spanish
message about the lack of free space)<br>
3+0 records in<br>
2+0 records out<br>
251658240 bytes (252 MB) copied, 3,52704 seconds, 71,4 MB/s<br>
<br>
<br>
<br>
Srinivas Eeda escribió:
<blockquote cite="mid:4AEA1825.3040200@oracle.com" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
I don't see any problem with your filesystem configuration. df reports
63G free space, so you should be able to create files of that
size(approximately). But you are able to create one file of size 5gb
and no more? Or you are able to create another 5GB file?. Once you get
ENOSPC what happens, can't create anymore? What happens if you delete
the 5GB file, you can create that again?<br>
<br>
4k cluster size and 1k block size is good. But if your file sizes are
bigger N*4K you can set the clustersize to that so you can benefit more.<br>
<br>
Juan Pablo Marco Cardona wrote:
<blockquote cite="mid4AEA0D94.5020401@cast-info.es" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Hi Srinivas,<br>
the trouble happens creating files like this:<br>
<br>
dd if=/dev/zero of=./file bs=100M count=60<br>
<br>
When the file arrives to 5GB the filesystem outputs a error about no
more free space!<br>
<br>
Theorically there is about 63 GB of free space:<br>
<br>
df -kh | grep mail<br>
300G 238G 63G 80% /home/mail<br>
<br>
This trouble happens creating small files, too<br>
<br>
The inodes seems not to be exhausted:<br>
<br>
df -i | grep mail<br>
78642183 62365063 16277120 80% /home/mail<br>
<br>
I think, there are so few orphaned inodes and maybe it doesn't affect:<br>
<br>
echo "ls //orphan_dir:0000" | debugfs.ocfs2 /dev/sda1<br>
<br>
debugfs.ocfs2 1.4.3<br>
debugfs: 16 16 1 2 .<br>
10 16 2 2 ..<br>
79813023 28 16 1 0000000004c1d99f<br>
28472617 28 16 1 0000000001b27529<br>
8438318 28 16 1 000000000080c22e<br>
80973610 28 16 1 0000000004d38f2a<br>
213406992 28 16 1 000000000cb85510<br>
13234609 28 16 1 0000000000c9f1b1<br>
228704523 28 16 1 000000000da1c10b<br>
225968869 28 16 1 000000000d7802e5<br>
256692752 28 16 1 000000000f4cd210<br>
103224605 28 16 1 000000000627151d<br>
83675914 28 16 1 0000000004fccb0a<br>
225968588 28 16 1 000000000d7801cc<br>
278103558 28 16 1 0000000010938606<br>
256692760 28 16 1 000000000f4cd218<br>
13235439 28 16 1 0000000000c9f4ef<br>
8861985 28 16 1 0000000000873921<br>
228997031 28 16 1 000000000da637a7<br>
111786205 28 16 1 0000000006a9b8dd<br>
24850261 28 16 1 00000000017b2f55<br>
29889095 28 16 1 0000000001c81247<br>
311022924 28 16 1 000000001289d54c<br>
13235309 28 16 1 0000000000c9f46d<br>
129665645 28 16 1 0000000007ba8a6d<br>
79605831 28 16 1 0000000004beb047<br>
28104589 28 16 1 0000000001acd78d<br>
294769884 28 16 1 000000001191d4dc<br>
253519012 28 16 1 000000000f1c64a4<br>
80973232 28 16 1 0000000004d38db0<br>
13234376 28 16 1 0000000000c9f0c8<br>
312527073 28 16 1 0000000012a0c8e1<br>
25863407 28 16 1 00000000018aa4ef<br>
305612210 28 16 1 00000000123745b2<br>
226494741 28 16 1 000000000d800915<br>
228705439 28 16 1 000000000da1c49f<br>
79604433 40 16 1 0000000004beaad1<br>
80973605 28 16 1 0000000004d38f25<br>
226494890 28 16 1 000000000d8009aa<br>
80973659 28 16 1 0000000004d38f5b<br>
13236194 56 16 1 0000000000c9f7e2<br>
80973320 56 16 1 0000000004d38e08<br>
46226861 28 16 1 0000000002c15dad<br>
228995934 28 16 1 000000000da6335e<br>
294770302 28 16 1 000000001191d67e<br>
256692906 28 16 1 000000000f4cd2aa<br>
255321636 56 16 1 000000000f37e624<br>
80974273 28 16 1 0000000004d391c1<br>
209062548 56 16 1 000000000c760a94<br>
46227042 168 16 1 0000000002c15e62<br>
108197615 28 16 1 000000000672f6ef<br>
13236185 56 16 1 0000000000c9f7d9<br>
294768980 112 16 1 000000001191d154<br>
294768983 212 16 1 000000001191d157<br>
<br>
<br>
I will show you some info about the partition:<br>
<br>
Block size:<br>
<br>
tunefs.ocfs2 -q -Q "BS=%5B\n" /dev/sda1<br>
BS= 1024<br>
<br>
Cluster size:<br>
<br>
tunefs.ocfs2 -q -Q "CS=%5T\n" /dev/sda1<br>
CS= 4096<br>
<br>
Number Cluster Nodes:<br>
<br>
tunefs.ocfs2 -q -Q "CN=%5N\n" /dev/sda1<br>
CN= 5<br>
<br>
I think is better to give you more information about this partition.<br>
<br>
In this 300 GB ocfs2 partition are the maildir's of about 3K users with
a lot of small files ( ~ 62 M used inodes). <br>
In the near future we are planning to mount a 2-mail-cluster system,
because this volume is in a SAN.<br>
<br>
Perhaps the cluster and node size are to much big? Maybe the trouble is
fragmentation?<br>
What are the best ocfs2 options to format this mail volume?<br>
<br>
Thanks in advanced.<br>
<br>
Regards,<br>
Pablo<br>
<br>
<br>
<br>
<br>
Srinivas Eeda escribió:
<blockquote cite="mid:4AE9E320.8000500@oracle.com" type="cite">
<meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
Do you run into ENOSPC creating new files or extending existing files?
What is the cluster size? Don't think this may be the issue, but any
files under orphan directory? run (echo "ls //orphan_dir:000X" |
debugfs.ocfs2 <device>) to check if there are any.<br>
<br>
<br>
Juan Pablo Marco Cardona wrote:
<blockquote cite="mid4AE9E00B.3080203@cast-info.es" type="cite">Hi
Sunil,<br>
we still have problems with the ocfs2 mail partition. The old problem
with the free space still continues.<br>
Theorically we hace 62 GB free space, but we only can use about 5 GB!<br>
<br>
df -kh | grep mail<br>
300G 238G 63G 80% /home/mail<br>
<br>
Also, yesterday we have a power outage that force a fsck.ocfs2 of the
partition.<br>
<br>
We have upgraded to ocfs2 1.4.4 and ocfs2 1.4.3 tools and the kernel
version is the same:<br>
<br>
rpm -qa | grep ocfs2<br>
ocfs2-2.6.18-128.2.1.el5-1.4.4-1.el5<br>
ocfs2-tools-1.4.3-1.el5<br>
ocfs2console-1.4.3-1.el5<br>
<br>
modinfo ocfs2 | grep ^version<br>
version: 1.4.4<br>
<br>
uname -r<br>
2.6.18-128.2.1.el5<br>
<br>
What we can make? Maybe make a fsck.ocfs2 or mkfs.ocfs2 with the new
tools version (1.4.3) ??<br>
<br>
Thanks in advance.<br>
<br>
Regards,<br>
Pablo<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<div class="moz-signature">-- <br>
<!-- saved from url=(0022)http://internet.e-mail -->
<title>firm_email</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
a:link {color: #961A4E}
a:active {color: #961A4E}
a:visited {color: #961A4E}
a:hover {color: #961A4E}
body { color:#000; font-family:Arial; font-size:12px;}
table { text-align:left; width:90%}
.nom { color:#961A4E; font-size:14px; font-weight:bold; padding-left:44px; padding-top:20px}
.dades { color:#961A4E; font-size:14px; padding-left:44px}
.email { color:#961A4E; font-size:12px; padding-left:44px ;padding-top:8px}
.mobil { color:#961A4E; font-size:12px; padding-left:10px; padding-left:44px}
.logo { padding-top:10px; padding-left:10px}
.direccio { color:#961A4E; font-size:11px; padding-top:6px; padding-left:44px; padding-bottom:10px}
a { text-decoration:underline; color:#961A4E}</style><br>
</div>
<pre wrap=""><hr size="4" width="90%">
_______________________________________________
Ocfs2-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://oss.oracle.com/mailman/listinfo/ocfs2-users">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a></pre>
</blockquote>
</blockquote>
<div class="moz-signature"><br>
</div>
</blockquote>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<!-- saved from url=(0022)http://internet.e-mail -->
<title>firm_email</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
a:link {color: #961A4E}
a:active {color: #961A4E}
a:visited {color: #961A4E}
a:hover {color: #961A4E}
body { color:#000; font-family:Arial; font-size:12px;}
table { text-align:left; width:90%}
.nom { color:#961A4E; font-size:14px; font-weight:bold; padding-left:44px; padding-top:20px}
.dades { color:#961A4E; font-size:14px; padding-left:44px}
.email { color:#961A4E; font-size:12px; padding-left:44px ;padding-top:8px}
.mobil { color:#961A4E; font-size:12px; padding-left:10px; padding-left:44px}
.logo { padding-top:10px; padding-left:10px}
.direccio { color:#961A4E; font-size:11px; padding-top:6px; padding-left:44px; padding-bottom:10px}
a { text-decoration:underline; color:#961A4E}</style><br>
</div>
</body>
</html>