<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for dd if=/dev/random of=/dev/null bs=always</title>
	<atom:link href="http://blog.petroskoutoupis.com/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.petroskoutoupis.com</link>
	<description>The Official Blog of Petros Koutoupis</description>
	<lastBuildDate>Fri, 25 Nov 2011 20:22:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.3b Stable release by pkoutoupis</title>
		<link>http://blog.petroskoutoupis.com/?p=453#comment-453</link>
		<dc:creator>pkoutoupis</dc:creator>
		<pubDate>Fri, 25 Nov 2011 20:22:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=453#comment-453</guid>
		<description>&lt;a href=&quot;#comment-449&quot; rel=&quot;nofollow&quot;&gt;@Simon Ball &lt;/a&gt; 

Thank you very much for the suggestions. I will see what I can do with the features you are asking for.

I do apologize for the late reply but regarding your comment on testing it on your netbook, I wanted to share with you that in my development of all releases, my netbook and also a VirtualBox guest on that same netbook were used. Although, nothing would compare to utilizing the power of a 64-bit server...</description>
		<content:encoded><![CDATA[<p><a href="#comment-449" rel="nofollow">@Simon Ball </a> </p>
<p>Thank you very much for the suggestions. I will see what I can do with the features you are asking for.</p>
<p>I do apologize for the late reply but regarding your comment on testing it on your netbook, I wanted to share with you that in my development of all releases, my netbook and also a VirtualBox guest on that same netbook were used. Although, nothing would compare to utilizing the power of a 64-bit server&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.3b Stable release by Simon Ball</title>
		<link>http://blog.petroskoutoupis.com/?p=453#comment-449</link>
		<dc:creator>Simon Ball</dc:creator>
		<pubDate>Thu, 24 Nov 2011 11:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=453#comment-449</guid>
		<description>Apologies for spam with third post. With regards to error code index as described above.

My reason for such a suggestion would be that a location will never be just an integer, so whether returning an error or location, it would be very simple to differentiate between the two</description>
		<content:encoded><![CDATA[<p>Apologies for spam with third post. With regards to error code index as described above.</p>
<p>My reason for such a suggestion would be that a location will never be just an integer, so whether returning an error or location, it would be very simple to differentiate between the two</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.3b Stable release by Simon Ball</title>
		<link>http://blog.petroskoutoupis.com/?p=453#comment-448</link>
		<dc:creator>Simon Ball</dc:creator>
		<pubDate>Thu, 24 Nov 2011 11:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=453#comment-448</guid>
		<description>Another small suggestion for the project, to quote the man page a moment:

rxadm returns a zero exit status if no error occurs during operation. A non- zero value is returned on error.

Instead of returning a zero, might I suggest returning the location of the rxdsk device. This would allow piping for any further operations outside of the program scope. Admittedly, this entails checking that what gets returned isn&#039;t an error through current modus operandi, but that&#039;s not so much a problem.

For the case where errors do occur, initial speculation presents two methods to make this work:

- Return a 0 on failure. User can call &quot;rxadm --errors&quot; for feedback
- Have an index of error codes:
   0 - success
   1 - Operation failed due to permissions
   2 - Operation failed due to insufficient space
   3 - Mounting archive failed due to read problems

Just some food for thought. Kudos :)</description>
		<content:encoded><![CDATA[<p>Another small suggestion for the project, to quote the man page a moment:</p>
<p>rxadm returns a zero exit status if no error occurs during operation. A non- zero value is returned on error.</p>
<p>Instead of returning a zero, might I suggest returning the location of the rxdsk device. This would allow piping for any further operations outside of the program scope. Admittedly, this entails checking that what gets returned isn&#8217;t an error through current modus operandi, but that&#8217;s not so much a problem.</p>
<p>For the case where errors do occur, initial speculation presents two methods to make this work:</p>
<p>- Return a 0 on failure. User can call &#8220;rxadm &#8211;errors&#8221; for feedback<br />
- Have an index of error codes:<br />
   0 &#8211; success<br />
   1 &#8211; Operation failed due to permissions<br />
   2 &#8211; Operation failed due to insufficient space<br />
   3 &#8211; Mounting archive failed due to read problems</p>
<p>Just some food for thought. Kudos <img src='http://blog.petroskoutoupis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.3b Stable release by Simon Ball</title>
		<link>http://blog.petroskoutoupis.com/?p=453#comment-446</link>
		<dc:creator>Simon Ball</dc:creator>
		<pubDate>Thu, 24 Nov 2011 09:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=453#comment-446</guid>
		<description>I&#039;m very glad to see you are pursuing this project pkoutoupis. I look forward to testing this release next week when i have some more free time. I can at the moment test it under the following circumstances:

- LAMP stack with multimedia deliverables
- Virtualbox deployment

I am currently away from a big rig but will be able to test it out using my netbook and would happily provide some feedback. I wonder if using such a resource constrained device will make a bigger difference.

Again, thank you for your great work</description>
		<content:encoded><![CDATA[<p>I&#8217;m very glad to see you are pursuing this project pkoutoupis. I look forward to testing this release next week when i have some more free time. I can at the moment test it under the following circumstances:</p>
<p>- LAMP stack with multimedia deliverables<br />
- Virtualbox deployment</p>
<p>I am currently away from a big rig but will be able to test it out using my netbook and would happily provide some feedback. I wonder if using such a resource constrained device will make a bigger difference.</p>
<p>Again, thank you for your great work</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.2b Stable release by pkoutoupis</title>
		<link>http://blog.petroskoutoupis.com/?p=442#comment-438</link>
		<dc:creator>pkoutoupis</dc:creator>
		<pubDate>Wed, 28 Sep 2011 18:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=442#comment-438</guid>
		<description>Although a second thought came to me...
It would be possible to limit the amount of syslog writes into your /var/log path and reconfigure syslog-ng (or whatever logger you use) to write the more critical levels of messages to /var/log and in the meantime, using rxdsk or tmpfs mount a new volume to /var/tmplog (or whatever), and have it write the more informative and lesser critical messages to that. And when complete and gracefully shutting the system down, use logrotate to then archive those back into /var/log. In every scenario that I can think of, you will always run the risk of not preserving all messages which can cause headaches down the road. I will still spend some more time thinking about this unique setup.

If you wish to optimize other portions of your OS (especially to limit the writes to an SSD), check out one of my earlier postings (also read through the readers&#039; comments): &lt;a href=&quot;http://blog.petroskoutoupis.com/?p=245&quot; rel=&quot;nofollow&quot;&gt;http://blog.petroskoutoupis.com/?p=245&lt;/a&gt;. You will find a lot of useful info.</description>
		<content:encoded><![CDATA[<p>Although a second thought came to me&#8230;<br />
It would be possible to limit the amount of syslog writes into your /var/log path and reconfigure syslog-ng (or whatever logger you use) to write the more critical levels of messages to /var/log and in the meantime, using rxdsk or tmpfs mount a new volume to /var/tmplog (or whatever), and have it write the more informative and lesser critical messages to that. And when complete and gracefully shutting the system down, use logrotate to then archive those back into /var/log. In every scenario that I can think of, you will always run the risk of not preserving all messages which can cause headaches down the road. I will still spend some more time thinking about this unique setup.</p>
<p>If you wish to optimize other portions of your OS (especially to limit the writes to an SSD), check out one of my earlier postings (also read through the readers&#8217; comments): <a href="http://blog.petroskoutoupis.com/?p=245" rel="nofollow">http://blog.petroskoutoupis.com/?p=245</a>. You will find a lot of useful info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.2b Stable release by pkoutoupis</title>
		<link>http://blog.petroskoutoupis.com/?p=442#comment-437</link>
		<dc:creator>pkoutoupis</dc:creator>
		<pubDate>Tue, 27 Sep 2011 20:49:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=442#comment-437</guid>
		<description>Matt,

Thank you very much for your interest. It has been suggested earlier by someone else to add support for mirroring (archiving)/restoring to/from persistent storage. This would potentially be the same thing, at least how I view it; that is (&lt;em&gt;not necessarily in this order&lt;/em&gt;), create the ramdisk, mount it, copy data from other path to it and when time comes to unmount the device, you can then do some sort of copy back (or rsync, etc.) to the original persistent location. The problem in this scenario would be, that you would have to first mount it to a temporary location, copy /var/log contents to it, umount the rxdsk from the temporary location and then mount it to /var/log. In turn, to copy the new data back to the persistent location, it would need to copy that data to a temp location and then umount the device before taking the data from the temp and copying it to the original.

I don&#039;t think there is a real easy way to do this in realtime, specifically because while all of this is happening, syslog is adding these umount/mount entries into a messages file and anything else in-between, and vital could be missed. It does require some thinking and if I come up with anything I will be sure to let you know.

Also, if you have anything else to add, feel free to contact me at &lt;a href=&quot;mailto:devel@petroskoutoupis.com&quot; rel=&quot;nofollow&quot;&gt;devel@petroskoutoupis.com&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>Matt,</p>
<p>Thank you very much for your interest. It has been suggested earlier by someone else to add support for mirroring (archiving)/restoring to/from persistent storage. This would potentially be the same thing, at least how I view it; that is (<em>not necessarily in this order</em>), create the ramdisk, mount it, copy data from other path to it and when time comes to unmount the device, you can then do some sort of copy back (or rsync, etc.) to the original persistent location. The problem in this scenario would be, that you would have to first mount it to a temporary location, copy /var/log contents to it, umount the rxdsk from the temporary location and then mount it to /var/log. In turn, to copy the new data back to the persistent location, it would need to copy that data to a temp location and then umount the device before taking the data from the temp and copying it to the original.</p>
<p>I don&#8217;t think there is a real easy way to do this in realtime, specifically because while all of this is happening, syslog is adding these umount/mount entries into a messages file and anything else in-between, and vital could be missed. It does require some thinking and if I come up with anything I will be sure to let you know.</p>
<p>Also, if you have anything else to add, feel free to contact me at <a href="mailto:devel@petroskoutoupis.com" rel="nofollow">devel@petroskoutoupis.com</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.2b Stable release by Matt</title>
		<link>http://blog.petroskoutoupis.com/?p=442#comment-436</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 26 Sep 2011 15:54:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=442#comment-436</guid>
		<description>Hi Petros,

This module sounds very interesting! Thanks for your hard work. I have an idea/question:

I am interested in using a ramdisk of some type to hold log files (to minimise disk wear on an SSD-based system). At the moment you can do this quite easily with startup scripts, but the result is quite brittle and distro-dependent.

I would be very interested if rxdsk would allow me to mount a ramdisk at some mountpoint (/var/log in this case), but optionally copy all of the existing files under that mount point into the ramdisk so they can be modified by the system logger.
Then, at detach time, rxdsk would copy all of the files in its volume back into the mount point&#039;s underlying storage. Perhaps there could be a &quot;sync&quot; option added to rxadm to manually do this - which could possibly be put in cron job.

Bonus points if you are able to perform the attach/detach process transparently while the logger is adding to them! (no idea if this is possible)

Do you think this is possible? Of course, it might be well outside the scope of what you think rxdsk should do. However, for what it&#039;s worth, I would love to see this feature.

Thanks a lot :)</description>
		<content:encoded><![CDATA[<p>Hi Petros,</p>
<p>This module sounds very interesting! Thanks for your hard work. I have an idea/question:</p>
<p>I am interested in using a ramdisk of some type to hold log files (to minimise disk wear on an SSD-based system). At the moment you can do this quite easily with startup scripts, but the result is quite brittle and distro-dependent.</p>
<p>I would be very interested if rxdsk would allow me to mount a ramdisk at some mountpoint (/var/log in this case), but optionally copy all of the existing files under that mount point into the ramdisk so they can be modified by the system logger.<br />
Then, at detach time, rxdsk would copy all of the files in its volume back into the mount point&#8217;s underlying storage. Perhaps there could be a &#8220;sync&#8221; option added to rxadm to manually do this &#8211; which could possibly be put in cron job.</p>
<p>Bonus points if you are able to perform the attach/detach process transparently while the logger is adding to them! (no idea if this is possible)</p>
<p>Do you think this is possible? Of course, it might be well outside the scope of what you think rxdsk should do. However, for what it&#8217;s worth, I would love to see this feature.</p>
<p>Thanks a lot <img src='http://blog.petroskoutoupis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.2b Stable release by pkoutoupis</title>
		<link>http://blog.petroskoutoupis.com/?p=442#comment-405</link>
		<dc:creator>pkoutoupis</dc:creator>
		<pubDate>Mon, 29 Aug 2011 13:29:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=442#comment-405</guid>
		<description>&lt;a href=&quot;#comment-402&quot; rel=&quot;nofollow&quot;&gt;@simon &lt;/a&gt; 
I think you offer some excellent suggestion and procedure. I will need to do some research (for instance) with the mirroring concept and see if there is any benefit to rewrite the logic as opposed to utilizing rsync. Having the logic built into rxdsk may make the sync&#039;ing to the mirror location a lot more elegant. I would just need to figure out appropriate moments to ensure that the latest of rxdsk data is written to disk. I would imagine that the majority of functionality would reside in userspace with the possibility of some hooks in the rxdsk module code to handle some &quot;extra functionality.&quot; Again, thank you.
</description>
		<content:encoded><![CDATA[<p><a href="#comment-402" rel="nofollow">@simon </a><br />
I think you offer some excellent suggestion and procedure. I will need to do some research (for instance) with the mirroring concept and see if there is any benefit to rewrite the logic as opposed to utilizing rsync. Having the logic built into rxdsk may make the sync&#8217;ing to the mirror location a lot more elegant. I would just need to figure out appropriate moments to ensure that the latest of rxdsk data is written to disk. I would imagine that the majority of functionality would reside in userspace with the possibility of some hooks in the rxdsk module code to handle some &#8220;extra functionality.&#8221; Again, thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.2b Stable release by simon</title>
		<link>http://blog.petroskoutoupis.com/?p=442#comment-403</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Sun, 28 Aug 2011 17:49:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=442#comment-403</guid>
		<description>I would please have it be known when i specified location, I didn&#039;t just mean a network address. Poor use of English there, apologies.

At simplest, it could be:

- Initiate RAMDisk
- Check location disk usage (Another example = /home/username/folder/)
- Adjust RAMDisk size
- After use, try to write changes back to original location, if specified

Positives :

+ Faster every day computing in terms of IO
+ Easy to set up a disposable computing environment</description>
		<content:encoded><![CDATA[<p>I would please have it be known when i specified location, I didn&#8217;t just mean a network address. Poor use of English there, apologies.</p>
<p>At simplest, it could be:</p>
<p>- Initiate RAMDisk<br />
- Check location disk usage (Another example = /home/username/folder/)<br />
- Adjust RAMDisk size<br />
- After use, try to write changes back to original location, if specified</p>
<p>Positives :</p>
<p>+ Faster every day computing in terms of IO<br />
+ Easy to set up a disposable computing environment</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Announcement: RapidDisk (rxdsk) 1.2b Stable release by simon</title>
		<link>http://blog.petroskoutoupis.com/?p=442#comment-402</link>
		<dc:creator>simon</dc:creator>
		<pubDate>Sun, 28 Aug 2011 16:12:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.petroskoutoupis.com/?p=442#comment-402</guid>
		<description>Another release so soon, it&#039;s a good job the seasons are changing in favour of cooler times as you are on fire.

Suggestion:
The user passes a parameter to system referable location at disk attachment, and the RAM disk matches that in size as a readable location. An administrator could just dump what they like in the store and it would be readily available.

For example:
sudo rxadm --mirror 192.168.100.0/24(r) --target /home/mymirror/

In my humble (and hypothetical) opinion, it would make thin desktops quite a bit swifter in terms of operation after the initial boot. Just an idea from a follower.</description>
		<content:encoded><![CDATA[<p>Another release so soon, it&#8217;s a good job the seasons are changing in favour of cooler times as you are on fire.</p>
<p>Suggestion:<br />
The user passes a parameter to system referable location at disk attachment, and the RAM disk matches that in size as a readable location. An administrator could just dump what they like in the store and it would be readily available.</p>
<p>For example:<br />
sudo rxadm &#8211;mirror 192.168.100.0/24(r) &#8211;target /home/mymirror/</p>
<p>In my humble (and hypothetical) opinion, it would make thin desktops quite a bit swifter in terms of operation after the initial boot. Just an idea from a follower.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
