<br><br><div><span class="gmail_quote">On 8/17/07, <b class="gmail_sendername">Les Mikesell</b> <<a href="mailto:lesmikesell@gmail.com">lesmikesell@gmail.com</a>> 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>> Ok -- this is not really distribution specific, but I figure you guys may<br>> know the answer :)<br>><br>> I have a couple of diskless machines that I boot off of one server. Today,
<br>> one of them mis-behaved, and dropped a huge log file, filling my server's<br>> disk.<br>><br>> I want to prevent this in the future. So, I'm looking for suggestions.<br>><br>> I immediately thought of quotas, but, since the filesystems aren't owned by
<br>> one user (they're full unix filesystems), that wouldn't work well.<br>><br>> I'm now trying to decide if it would be best to create a filesystem in a<br>> file, mount that, and share that over NFS for the root.
<br>><br>> i.e.:<br>> dd if=/dev/zero of=/tftpboot/disk1.img count=whatever bs=whatever<br>> mkfs -t ext3 /tftpboot/disk1.img<br>> mount -o loop /tftpboot/disk1.img /tftpboot/disk1.mnt<br>> cp -a /tftpboot/oldDiskRoot/* /tftpboot/disk1.mnt
<br>><br>> then share /tftpboot/disk1.mnt, instead of /tftpboot/OlddiskRoot<br>><br>><br>><br>> 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're MythTV frontends -- the server won'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'm trapped in a Chinese computer factory!