<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Hard or flash drive ?</title>
        <description> Got a dockstar to run squeezebox server out of a 3 partitions hard drive. It runs better than my 800€ win7 4gb dual core ! Crazy isn&amp;#039;t it ?
Now i wonder ... The more i read on the web the more i get confused...

Is it better to boot from a usb flash stick rather than from a disk ?
Performance wise is it better ?
Or is it only for spinning down the drive When unused ? 
If yes, is it possible that squeezebox server leaves its media lib untouched long enougth for the dtive to power down ?
How do you connect a flash drive to the mini-usb (/sda) connector ? Or should i use another usb port ? If yes, how does jeff&amp;#039;s script find out what drive to format at install time then ?
Is it ok to have a swap on a flash drive ?

Thanks for all your good work</description>
        <link>https://forum.doozan.com/read.php?2,2216,2216#msg-2216</link>
        <lastBuildDate>Thu, 12 Mar 2026 01:45:41 -0500</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://forum.doozan.com/read.php?2,2216,2239#msg-2239</guid>
            <title>Re: Hard or flash drive ?</title>
            <link>https://forum.doozan.com/read.php?2,2216,2239#msg-2239</link>
            <description><![CDATA[ I benchmarked my USB flash stick and my USB-2 harddrive. Flash is faster for random access, harddrive faster for sustained. So I&#039;d say your OS will run faster on flash but use harddrive for storing large files. <br />
I have a 2GB USB flash and a 500GB USB harddrive attached, boots off the USB stick (it would NOT boot off the harddrive) but by time the mounts are occuring, it will see the harddrive and I have mount points in my /etc/fstab for the USB harddrive.<br />
Currently I have a small swap on the harddrive and then a swap on the flash, so if its swapping like crazy its getting the speed improvement of 2 storage mediums.<br />
I left Jeff&#039;s /etc/fstab as-is for its use of /dev/sda2 and just put another swap on the /etc/rc.local<br />
<pre class="bbcode">
swapon -p1 /mnt/SG500G/swap</pre>
This places the harddrive higher priority as seen by<br />
<pre class="bbcode">
$ sudo swapon -s
Filename                                Type            Size    Used    Priority

/dev/sda2                               partition       361452  0       -1
/mnt/SG500G/swap                        file            327672  65644   1
</pre>]]></description>
            <dc:creator>nigelhealy</dc:creator>
            <category>Debian</category>
            <pubDate>Thu, 04 Nov 2010 19:13:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,2216,2222#msg-2222</guid>
            <title>Re: Hard or flash drive ?</title>
            <link>https://forum.doozan.com/read.php?2,2216,2222#msg-2222</link>
            <description><![CDATA[ &gt; How do you connect a flash drive to the mini-usb (/sda) connector ?<br />
<a href="http://www.dealextreme.com/details.dx/sku.26780"  rel="nofollow">USB A-Female to Mini USB 5-Pin Female Adapter</a> but any port is fine since as of 10/3 <a href="http://forum.doozan.com/read.php?3,12"  rel="nofollow">Jeff&#039;s installer now sets up scanning all 4 ports for the boot drive.</a><br />
<br />
&gt; If yes, how does jeff&#039;s script find out what drive to format at install time then ?<br />
I always do installs with a single drive connected, the target drive only.<br />
<br />
&gt; Is it ok to have a swap on a flash drive ?<br />
Depends on who you ask it seems. Flash drives do have wear leveling &amp; some die from other causes before their flash wear lifetime is up. <a href="http://forum.doozan.com/read.php?2,1694"  rel="nofollow">Heres a thread on this question</a><br />
Depending on what your dockstar is used for it may rarely touch swap. Personally If my dockstar uses swap a lot then I would avoid swap on a flash drive if possible.]]></description>
            <dc:creator>Twi</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 03 Nov 2010 21:11:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://forum.doozan.com/read.php?2,2216,2216#msg-2216</guid>
            <title>Hard or flash drive ?</title>
            <link>https://forum.doozan.com/read.php?2,2216,2216#msg-2216</link>
            <description><![CDATA[ Got a dockstar to run squeezebox server out of a 3 partitions hard drive. It runs better than my 800€ win7 4gb dual core ! Crazy isn&#039;t it ?<br />
Now i wonder ... The more i read on the web the more i get confused...<br />
<br />
Is it better to boot from a usb flash stick rather than from a disk ?<br />
Performance wise is it better ?<br />
Or is it only for spinning down the drive When unused ? <br />
If yes, is it possible that squeezebox server leaves its media lib untouched long enougth for the dtive to power down ?<br />
How do you connect a flash drive to the mini-usb (/sda) connector ? Or should i use another usb port ? If yes, how does jeff&#039;s script find out what drive to format at install time then ?<br />
Is it ok to have a swap on a flash drive ?<br />
<br />
Thanks for all your good work]]></description>
            <dc:creator>Reniera</dc:creator>
            <category>Debian</category>
            <pubDate>Wed, 03 Nov 2010 17:48:51 -0500</pubDate>
        </item>
    </channel>
</rss>
