147 lines
5.6 KiB
HTML
147 lines
5.6 KiB
HTML
<!--startcut ======================================================= -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html>
|
|
<head>
|
|
<META NAME="generator" CONTENT="lgazmail v1.2N.d">
|
|
<TITLE>The Answer Guy 46: Large File Support Under Linux/x86</TITLE>
|
|
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
|
LINK="#3366FF" VLINK="#A000A0">
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<H4>"The Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
|
|
<P> <hr> <P>
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<center>
|
|
<H1><A NAME="answer">
|
|
<img src="../../gx/dennis/qbubble.gif" alt="(?)"
|
|
border="0" align="middle">
|
|
<font color="#B03060">The Answer Guy</font>
|
|
<img src="../../gx/dennis/bbubble.gif" alt="(!)"
|
|
border="0" align="middle">
|
|
</A></H1>
|
|
<BR>
|
|
<H4>By James T. Dennis,
|
|
<a href="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</a><BR>
|
|
LinuxCare,
|
|
<A HREF="http://www.linuxcare.com/">http://www.linuxcare.com/</A>
|
|
</H4>
|
|
</center>
|
|
|
|
<p><hr><p>
|
|
<!-- endcut ======================================================= -->
|
|
<!-- begin 6 -->
|
|
<H3 align="left"><img src="../../gx/dennis/qbubble.gif"
|
|
height="50" width="60" alt="(?) " border="0"
|
|
>Large File Support Under Linux/x86</H3>
|
|
|
|
|
|
<p><strong>From Tim on Wed, 08 Sep 1999
|
|
</strong></p>
|
|
<!-- ::
|
|
Large File Support Under Linux/x86
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
:: -->
|
|
<P><STRONG>
|
|
Hello,
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
I have a box on my network running RedHat 6.0 (x86) that is going to be
|
|
used primarily for backing up large database files. These files are
|
|
presently 25 gigs in size. While attempting a backup over Samba, I
|
|
realized that the file system would not allow me to write a file > 2gig to
|
|
disk. I tried using an large file system patch for kernel 2.2.9, but that
|
|
only allowed me to write 16 gigs, and it seemed buggy when it was doing
|
|
that even. Doing an '<tt>ls -l</tt>' would show me that the file size of
|
|
the backup was about 4 gig, but the total blocks in the directory with no
|
|
other files there indicated a much higher number like so:
|
|
</STRONG></P>
|
|
<Pre><STRONG><BlockQuote>
|
|
[root@backup ]# ls -l
|
|
total 16909071
|
|
-rwxr--r-- 1 ntuser ntuser 4294967295 Sep 2 19:45 file.DAT
|
|
</BlockQuote></STRONG></Pre>
|
|
<P><STRONG>
|
|
I am well aware that a 64 bit system would be the best solution at this
|
|
point, but unfortunately i do not have those resources. I know BSDi can
|
|
write files this big, as well as NT on 32 bit systems.. i am left
|
|
wondering, why can't linux?
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Thanks
|
|
-Tim
|
|
</STRONG></P>
|
|
<BLOCKQUOTE><IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Linux doesn't currently support large files on 32-bit
|
|
platforms. I wouldn't trust an experimental patch to this job.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Use <A HREF="http://www.freebsd.org/">FreeBSD</A> for this
|
|
(I've heard that it does support 63-bit
|
|
<tt>lseek()</tt> offsets). Samba works just as well on FreeBSD as Linux.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
If you really need to use Linux for this project then use it
|
|
on an Alpha.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Note: You could back these up to raw partitions (without
|
|
filesystems made on them). However, I wouldn't recommend that.
|
|
</BLOCKQUOTE>
|
|
<!-- sig -->
|
|
|
|
<!-- end 6 -->
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr> <P>
|
|
<H5 align="center"><a href="http://www.linuxgazette.com/copying.html"
|
|
>Copyright ©</a> 1999, James T. Dennis
|
|
<BR>Published in <I>The Linux Gazette</I> Issue 46 October 1999</H5>
|
|
<H6 ALIGN="center">HTML transformation by
|
|
<A HREF="mailto:star@starshine.org">Heather Stern</a> of
|
|
Starshine Technical Services,
|
|
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
|
|
</H6>
|
|
<P> <hr> <P>
|
|
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<TABLE WIDTH="96%"><TR VALIGN="center" ALIGN="center">
|
|
<TD colspan="2" align="left"><A
|
|
HREF="../lg_answer46.html"
|
|
><IMG SRC="../../gx/dennis/answernew.gif"
|
|
ALT="[ Answer Guy Current Index ]"></A></td>
|
|
<TD WIDTH="12%"><A HREF="1.html">1</A></TD>
|
|
<TD WIDTH="12%"><A HREF="2.html">2</A></TD>
|
|
<TD WIDTH="12%"><A HREF="3.html">3</A></TD>
|
|
<TD WIDTH="12%"><A HREF="4.html">5</A></TD>
|
|
<TD WIDTH="12%"><A HREF="5.html">5</A></TD>
|
|
<TD WIDTH="12%"><A HREF="6.html">6</A></TD>
|
|
</TR><TR VALIGN="center" ALIGN="center">
|
|
<TD WIDTH="12%"><A HREF="7.html">7</A></TD>
|
|
<TD WIDTH="12%"><A HREF="8.html">8</A></TD>
|
|
<TD WIDTH="12%"><A HREF="9.html">9</A></TD>
|
|
<TD WIDTH="12%"><A HREF="10.html">10</A></TD>
|
|
<TD WIDTH="12%"><A HREF="11.html">11</A></TD>
|
|
<TD WIDTH="12%"><A HREF="12.html">12</A></TD>
|
|
<TD align="right" colspan="2"><A
|
|
HREF="../../tag/kb.html"
|
|
><IMG SRC="../../gx/dennis/answertoc.gif"
|
|
ALT="[ Index of Past Answers ]"></A></td>
|
|
</TR></TABLE>
|
|
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<P> <hr> <P>
|
|
<!-- begin lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<A HREF="../index.html"
|
|
><IMG SRC="../../gx/indexnew.gif" ALT="[ Table Of Contents ]"></A>
|
|
<A HREF="/index.html"
|
|
><IMG SRC="../../gx/homenew.gif" ALT="[ Front Page ]"></A>
|
|
<A HREF="../lg_bytes46.html"
|
|
><IMG SRC="../../gx/back2.gif" ALT="[ Previous Section ]"></A>
|
|
<A HREF="../../faq/index.html"
|
|
><IMG SRC="../../gx/dennis/faq.gif"
|
|
ALT="[ Linux Gazette FAQ ]"></A>
|
|
<A HREF="../lg_tips46.html"
|
|
><IMG SRC="../../gx/fwd.gif" ALT="[ Next Section ]"></A>
|
|
<!-- end lgnav ::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
</BODY></HTML>
|
|
<!--endcut ========================================================= -->
|