<br><br><div><span class="gmail_quote">On 8/17/07, <b class="gmail_sendername">Les Mikesell</b> &lt;<a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
David Frascone wrote:<br>&gt; Ok -- this is not really distribution specific, but I figure you guys may<br>&gt; know the answer :)<br>&gt;<br>&gt; I have a couple of diskless machines that I boot off of one server.&nbsp;&nbsp;Today,
<br>&gt; one of them mis-behaved, and dropped a huge log file, filling my server&#39;s<br>&gt; disk.<br>&gt;<br>&gt; I want to prevent this in the future.&nbsp;&nbsp;So, I&#39;m looking for suggestions.<br>&gt;<br>&gt; I immediately thought of quotas, but, since the filesystems aren&#39;t owned by
<br>&gt; one user (they&#39;re full unix filesystems), that wouldn&#39;t work well.<br>&gt;<br>&gt; I&#39;m now trying to decide if it would be best to create a filesystem in a<br>&gt; file, mount that, and share that over NFS for the root.
<br>&gt;<br>&gt; i.e.:<br>&gt; dd if=/dev/zero of=/tftpboot/disk1.img count=whatever bs=whatever<br>&gt; mkfs -t ext3 /tftpboot/disk1.img<br>&gt; mount -o loop /tftpboot/disk1.img /tftpboot/disk1.mnt<br>&gt; cp -a /tftpboot/oldDiskRoot/* /tftpboot/disk1.mnt
<br>&gt;<br>&gt; then share /tftpboot/disk1.mnt, instead of /tftpboot/OlddiskRoot<br>&gt;<br>&gt;<br>&gt;<br>&gt; Any other suggestions?<br><br>If the server can handle it, boot the diskless machines as thin<br>terminals with the ltsp package and run the desktop on the server.
</blockquote><div><br>They&#39;re MythTV frontends -- the server won&#39;t be able to handle it :)<br><br>-Dave<br></div><br></div><br><br clear="all"><br>-- <br>David Frascone<br><br>Help! I&#39;m trapped in a Chinese computer factory!