<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<title>R: Re: [Linux-cluster] Sparse files in GFS</title>
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
tt
{font-family:"Courier New";}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>The idea is to do it efficiently by
manipulating the file system metadata without actually writing the data.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Doing dd to TBs of space would take a very
long time.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Bests,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Samuel.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
linux-cluster-bounces@redhat.com [mailto:linux-cluster-bounces@redhat.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Edoardo Causarano<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, December 11, 2006
2:00 AM<br>
<b><span style='font-weight:bold'>To:</span></b> wcheng@redhat.com;
linux-cluster@redhat.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> R: Re: [Linux-cluster]
Sparse files in GFS</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p><tt><font size=2 face="Courier New"><span style='font-size:10.0pt'>Wouldn't
dd do?</span></font></tt><font size=2 face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New"'><br>
<br>
<br>
<tt><font face="Courier New">-----Original Message-----</font></tt><br>
<tt><font face="Courier New">From: linux-cluster-bounces@redhat.com
<linux-cluster-bounces@redhat.com></font></tt><br>
<tt><font face="Courier New">To: linux clustering
<linux-cluster@redhat.com></font></tt><br>
<tt><font face="Courier New">Sent: Mon Dec 11 00:30:07 2006</font></tt><br>
<tt><font face="Courier New">Subject: Re: [Linux-cluster] Sparse files in GFS</font></tt><br>
<br>
<tt><font face="Courier New">Krikler, Samuel wrote:</font></tt><br>
<br>
<tt><font face="Courier New">> Hi,</font></tt><br>
<tt><font face="Courier New">></font></tt><br>
<tt><font face="Courier New">> Do you know if there is any tool that can
efficiently pad files</font></tt><br>
<tt><font face="Courier New">> (pre-allocate their space) in GFS files to
prevent the files from</font></tt><br>
<tt><font face="Courier New">> being sparse?</font></tt><br>
<tt><font face="Courier New">></font></tt><br>
<tt><font face="Courier New">> I’d like to efficiently create nice
continuous files of hundreds of</font></tt><br>
<tt><font face="Courier New">> GBs (both logically and physically) before I
start using them in my</font></tt><br>
<tt><font face="Courier New">> application.</font></tt><br>
<tt><font face="Courier New">></font></tt><br>
<tt><font face="Courier New">> Thanks,</font></tt><br>
<tt><font face="Courier New">></font></tt><br>
<tt><font face="Courier New">> Samuel.</font></tt><br>
<tt><font face="Courier New">></font></tt><br>
<tt><font face="Courier New">Sorry, not at this moment. It has been on the
to-do list. One question</font></tt><br>
<tt><font face="Courier New">though - these spaces do not need to be
zero-padded, right ?</font></tt><br>
<br>
<tt><font face="Courier New">-- Wendy</font></tt><br>
<br>
<tt><font face="Courier New">--</font></tt><br>
<tt><font face="Courier New">Linux-cluster mailing list</font></tt><br>
<tt><font face="Courier New">Linux-cluster@redhat.com</font></tt><br>
<tt><font face="Courier New"><a
href="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</a></font></tt></span></font><o:p></o:p></p>
</div>
</body>
</html>