[SUMMARY] Solaris 2.6 file size limitation

From: Osama Ahmed <osamaahmed_at_yahoo.com>
Date: Wed Nov 14 2001 - 16:35:58 EST
This is a multi-part message in MIME format.

------=_NextPart_000_0015_01C16D65.1EB753A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Well, I got a flood of replies to my query. Thanks to everyone . 
 
Jonathan Jackson,Marc Alvidrez ,Thomas Knox,Darren Dunham,Jay Lessert
,Vern Walls,Ozgur C. Demir ,Mirko Schlottke, 
Jeff Kennedy, Hichael Morton, Micheal Wilkinson, John T. Douglass, Buddy
Lumpkin,Greg [greg@cheers.bungi.com],
Sampath Kari ,Rajendra More ,Riddoch, John E SITI-ITDSEP3,Carsten B.
Knudsen ,Panesar Tajinder ,
Kendall Lloyd ,Capser Dik, Steve Hammond, David Foster, Trevor Paquette.
 
Special thanks to Buddy Lumpkin who send a piece of code to test with.
if any body interesting in this code please contact 
Buddy at : [Buddy.Lumpkin@nordstrom.com]
 
My original post is below.
 
Summary:
- Solaris 2.6 sure can handle files > 2 GB but applications may have to
be compiled against the appropriate system/interface calls in order for
it to work.
 
- Try to use largefiles mount option to mount file system where large
files reside and reuse the application. mount -o largfiles
/dev/dsk/c0t0d0s0  /mnt
 
 - Solaris 2.6 _cannot_ use SWAP partitions > 2GB. You can have bigger
ones, but it will only use 2GB of the partition.
 
- Read more about largefiles at:
    <http://www.sun.com/software/solaris/2.6/faqs/faq-largefiles.html>
http://www.sun.com/software/solaris/2.6/faqs/faq-largefiles.html
   man largefiles,man lfcompile,man interface64,man lfcompile64, man
mount_ufs
 
- The problem was seen before with Oracle,
 
Quote Marc Alvidrez [ <mailto:cram@greenavenger.com>
cram@greenavenger.com] :

I had this problem with Oracle. I was exporting a db that was much
larger than 2GB, and by default Oracle attempts to create a single file
to hold the entire export. It could not do so; it kept failing at the
2GB mark. To make sure that largefile support was active, we
successfully tried making files >2GB with dd. In the end we had to use a
work-around suggested by Oracle. It was not the underlying OS that was
to blame for the problem with 2GB files, it was Oracle.

Unquote Marc Alvidrez

Thanks again.

Osama Ahmed

-----Original Message-----
From: Osama Ahmed [mailto:osamaahmed@yahoo.com] 
Sent: Monday, November 12, 2001 9:53 PM
To: 'sunmanagers@sunmanagers.org'
Subject: Solaris 2.6 file size limitation


Hi,
Is it true that Solaris 2.6 can not handle file sizes > 2GB ?
I can issue the command "mkfile 3g test.dat " successfully , On the
other hand an application can not read/write files > 2GB.
 
Can anyone of the Gurus out there please explain this ?
 
Sorry if this question sounds primitive.
 
Appreciate any input.
 
Thanks
 
Osama Ahmed
 


------=_NextPart_000_0015_01C16D65.1EB753A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D597283816-14112001>Well, =
I got a flood=20
of replies to my query. Thanks to everyone . </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D597283816-14112001>Jonathan=20
Jackson,</SPAN></FONT><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>Marc Alvidrez ,</SPAN></FONT><FONT =
face=3DArial=20
size=3D2><SPAN class=3D597283816-14112001>Thomas =
Knox,</SPAN></FONT><FONT face=3DArial=20
size=3D2><SPAN class=3D597283816-14112001>Darren =
Dunham,</SPAN></FONT><FONT=20
face=3DArial size=3D2><SPAN class=3D597283816-14112001>Jay Lessert=20
,</SPAN></FONT><FONT face=3DArial size=3D2><SPAN =
class=3D597283816-14112001>Vern=20
Walls,</SPAN></FONT><FONT face=3DArial size=3D2><SPAN =
class=3D597283816-14112001>Ozgur=20
C. Demir ,</SPAN></FONT><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>Mirko Schlottke, </SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D597283816-14112001>Jeff =
Kennedy,=20
</SPAN></FONT><FONT face=3DArial size=3D2><SPAN =
class=3D597283816-14112001>Hichael=20
Morton, </SPAN></FONT><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>Micheal Wilkinson, </SPAN></FONT><FONT =
face=3DArial=20
size=3D2><SPAN class=3D597283816-14112001>John T. Douglass, =
</SPAN></FONT><FONT=20
face=3DArial size=3D2><SPAN class=3D597283816-14112001>Buddy <FONT =
face=3DArial=20
size=3D2><SPAN =
class=3D597283816-14112001>Lumpkin,</SPAN></FONT></SPAN></FONT><FONT=20
color=3D#000000 face=3DArial size=3D2><SPAN =
class=3D597283816-14112001>Greg [<A=20
href=3D"mailto:greg@cheers.bungi.com">greg@cheers.bungi.com</A>],</SPAN><=
/FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>Sampath Kari ,</SPAN></FONT><FONT =
color=3D#000000=20
face=3DArial size=3D2><SPAN class=3D597283816-14112001>Rajendra More=20
,</SPAN></FONT><FONT color=3D#000000 face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>Riddoch, John E =
SITI-ITDSEP3,</SPAN></FONT><FONT=20
color=3D#000000 face=3DArial size=3D2><SPAN =
class=3D597283816-14112001>Carsten B.=20
Knudsen ,</SPAN></FONT><FONT color=3D#000000 face=3DArial size=3D2><SPAN =

class=3D597283816-14112001>Panesar Tajinder ,</SPAN></FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>Kendall Lloyd ,</SPAN></FONT><FONT =
color=3D#000000=20
face=3DArial size=3D2><SPAN class=3D597283816-14112001>Capser Dik, =
</SPAN></FONT><FONT=20
color=3D#000000 face=3DArial size=3D2><SPAN =
class=3D597283816-14112001>Steve Hammond,=20
</SPAN></FONT><FONT color=3D#000000 face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>David Foster, </SPAN></FONT><FONT =
color=3D#000000=20
face=3DArial size=3D2><SPAN class=3D597283816-14112001>Trevor=20
Paquette.</SPAN></FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>Special thanks to Buddy Lumpkin who send a =
piece of=20
code to test with. if any body interesting in this code please contact=20
</SPAN></FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>Buddy&nbsp;at : [<A=20
href=3D"mailto:Buddy.Lumpkin@nordstrom.com">Buddy.Lumpkin@nordstrom.com</=
A>]</SPAN></FONT></DIV>
<DIV><FONT color=3D#000000 face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT><FONT face=3DArial =
size=3D2><SPAN=20
class=3D597283816-14112001>My original post is =
below.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001>Summary:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D597283816-14112001>- =
Solaris 2.6 sure=20
can handle files &gt; 2 GB but applications <FONT size=3D2>may have to =
be compiled=20
against the appropriate system/interface calls in order for it to=20
work.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D597283816-14112001>- Try =
to use=20
largefiles mount option to mount file system&nbsp;where large files =
reside and=20
reuse the application. mount -o largfiles /dev/dsk/c0t0d0s0&nbsp;=20
/mnt</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT>&nbsp;</DIV>
<DIV>&nbsp;<FONT face=3DArial size=3D2><SPAN =
class=3D597283816-14112001>- <FONT=20
size=3D2>Solaris 2.6 _cannot_ use SWAP partitions &gt; 2GB. You can have =
bigger=20
ones, but it will only use 2GB of the =
partition.</FONT></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D597283816-14112001>- Read =
more about=20
largefiles at:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D597283816-14112001>&nbsp; =
&nbsp;<A=20
href=3D"http://www.sun.com/software/solaris/2.6/faqs/faq-largefiles.html"=
><FONT=20
color=3D#000000=20
size=3D2><STRONG>http://www.sun.com/software/solaris/2.6/faqs/faq-largefi=
les.html</STRONG></FONT></A></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D597283816-14112001><FONT =
size=3D2>&nbsp;=20
&nbsp;<FONT size=3D2>man largefiles,man lfcompile,man interface64,man =
lfcompile64,=20
man <FONT size=3D2>mount_ufs</FONT></FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D597283816-14112001>- The =
problem was=20
seen before with Oracle,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D597283816-14112001></SPAN></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D597283816-14112001><FONT face=3DArial size=3D2>Quote =
Marc Alvidrez=20
[</FONT><A href=3D"mailto:cram@greenavenger.com"><FONT color=3D#000000 =
face=3DArial=20
size=3D2>cram@greenavenger.com</FONT></A><FONT face=3DArial><FONT =
size=3D2>]=20
:</FONT></FONT></DIV>
<P><FONT face=3DArial size=3D2>I had this problem with Oracle. I was =
exporting a db=20
that was much larger than 2GB, and by default Oracle attempts to create =
a single=20
file to hold the entire export. It could not do so; it kept failing at =
the 2GB=20
mark. To make sure that largefile support was active, we successfully =
tried=20
making files &gt;2GB with dd. In the end we had to use a work-around =
suggested=20
by Oracle. It was not the underlying OS that was to blame for the =
problem with=20
2GB files, it was Oracle.</FONT></P>
<P><FONT size=3D2><FONT face=3DArial><SPAN =
class=3D597283816-14112001>Unquote=20
</SPAN>Marc Alvidrez</FONT></FONT></P>
<P><FONT face=3DArial size=3D2><SPAN class=3D597283816-14112001>Thanks=20
again.</SPAN></FONT></P>
<DIV align=3Dleft dir=3Dltr><FONT color=3D#000080 face=3DScript =
size=3D4><STRONG><EM>Osama=20
Ahmed</EM></STRONG></FONT></DIV></SPAN>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr =
lang=3Den-us><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
Osama Ahmed=20
  [mailto:osamaahmed@yahoo.com] <BR><B>Sent:</B> Monday, November 12, =
2001 9:53=20
  PM<BR><B>To:</B> 'sunmanagers@sunmanagers.org'<BR><B>Subject:</B> =
Solaris 2.6=20
  file size limitation<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D368055418-12112001>Hi,</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D368055418-12112001>Is =
it true that=20
  Solaris 2.6 can not handle file sizes &gt; 2GB ?</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D368055418-12112001>I =
can issue the=20
  command "mkfile 3g test.dat " successfully , On the other hand an =
application=20
  can not read/write files &gt; 2GB.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D368055418-12112001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN class=3D368055418-12112001>Can =
anyone of the=20
  Gurus out there please explain this ?</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D368055418-12112001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT size=3D2><FONT face=3DArial><SPAN=20
  class=3D368055418-12112001>Sorry&nbsp;</SPAN><SPAN=20
  class=3D368055418-12112001>if&nbsp;</SPAN></FONT><SPAN=20
  class=3D368055418-12112001><FONT face=3DArial>this question sounds=20
  primi</FONT></SPAN><SPAN class=3D368055418-12112001><FONT=20
  face=3DArial>tive</FONT></SPAN><SPAN class=3D368055418-12112001><FONT=20
  face=3DArial>.</FONT></SPAN></FONT></DIV>
  <DIV><FONT size=3D2><SPAN =
class=3D368055418-12112001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN =
class=3D368055418-12112001>Appreciate any=20
  input.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D368055418-12112001></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial size=3D2><SPAN=20
  class=3D368055418-12112001>Thanks</SPAN></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV align=3Dleft dir=3Dltr><FONT color=3D#000080 face=3DScript=20
  size=3D4><STRONG><EM>Osama Ahmed</EM></STRONG></FONT></DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0015_01C16D65.1EB753A0--


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Received on Wed Nov 14 21:35:58 2001

This archive was generated by hypermail 2.1.8 : Wed Mar 23 2016 - 16:32:35 EDT