<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=293006&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / Optimisation pour disque dur ssd (fstab notament).]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=293006</link>
		<description><![CDATA[Les sujets les plus récents dans Optimisation pour disque dur ssd (fstab notament)..]]></description>
		<lastBuildDate>Thu, 11 Oct 2012 20:20:30 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11090271#p11090271</link>
			<description><![CDATA[<p>Salut Yahoé,</p><p>Félicitation ta déterré un sujet vieux de 1284 jours soit 3 ans, 6 mois et 5 jours <img src="http://forum.ubuntu-fr.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>C&#039;est vrai quand je regarde cela de maintenant je me dis que l&#039;on peut faire beaucoup mieux mais faut pas oublié que les SSD arrivait seulement dans les mains des particuliers et qu&#039;il n&#039;y avait pas la documentation actuelle les concernant.</p><p>Le pc n&#039;étant pas un serveur le risque est donc moindre sur les options de montage mais tu as tout a fait raison, tu peux même sans tmpfs séparer /var/tmp quand même (CCE-14584-7).</p><p>TRIM a seulement commencé à montré le bout de son nez fin 2009 et de nombreux mois après pour les particuliers donc difficile d&#039;en parlé avant <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (HacKurx)]]></author>
			<pubDate>Thu, 11 Oct 2012 20:20:30 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11090271#p11090271</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11071251#p11071251</link>
			<description><![CDATA[<p><strong>/var/tmp ne devrait absolument pas se trouver dans tmpfs</strong>, erreur commune qui circule sur la toile. Vous pouvez le confirmer ici :<br /><a href="http://linuxers.org/article/differences-between-tmp-and-vartmp">http://linuxers.org/article/differences … and-vartmp</a><br /><a href="http://ubuntuone.com/6KWd2jN40GRqdVkVpQFOv0">http://ubuntuone.com/6KWd2jN40GRqdVkVpQFOv0</a> mentionne :<br />&quot;...for programs that require temporary files or directories that are preserved between system reboots. Therefore, data stored in /var/tmp is more persistent than data in /tmp. Files and directories located in /var/tmp must not be deleted when the system is booted. Although data stored in/var/tmp is typically deleted in a site-specific manner, it is recommended that deletions occur at a less frequent interval than /tmp.&quot; So, I deleted that line in the community docs.&quot;<br />Par ailleurs /var/run et /var/lock sont redirigés par défaut dans tmps, donc les inscrire dans le fstab est redondant. Par ailleurs, noexec (qui n&#039;est pas une option de sécurité) est un outils qui empêche aux pages perl et php de faire tourner du code malicieux dans le /tmp, donc dans ce sens il accroît la sécurité.<br />Voici un exemple fonctionnel :</p><div class="codebox"><pre><code>tmpfs     	/tmp                            tmpfs	nodev,nosuid,noexec,noatime,mode=1777,size=25%   0   0
tmpfs		/var/log                        tmpfs	defaults,noatime,mode=0755,size=5%               0   0
tmpfs		/var/log/apt                    tmpfs	defaults,noatime                                 0   0
tmpfs		/var/log/unattended-upgrades    tmpfs	defaults,noatime                                 0   0</code></pre></div><p>Il est aussi recommandé d&#039;activer la fonction &quot;trim&quot; qui pour ext4, Btrfs, FAT, GFS2 et XFS permet à Ubuntu (à partir du noyau 2.6.33) d&#039;éviter que les performances ne se dégradent avec le temps. Elle sert à notifier le SSD lors de l&#039;effacement d&#039;un fichier. Le contrôleur du SSD peut alors effacer les cellules de mémoire flash anciennement utilisées afin d&#039;optimiser les écritures ultérieures qui pourront alors être effectuées sans avoir à réaliser l&#039;effacement préalable imposé par la technologie de la mémoire flash. On l&#039;active avec &quot;discard&quot; :</p><div class="codebox"><pre><code># / was on /dev/sda3 during installation
UUID=f31affda-b1ad-40af-9926-8a3415d3ff19    /  ext4   noatime,discard,errors=remount-ro   0   1</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (Yahoé)]]></author>
			<pubDate>Wed, 10 Oct 2012 08:52:14 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11071251#p11071251</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2539373#p2539373</link>
			<description><![CDATA[<p>Quelqu&#039;un à fais des modifications de son fstab sous jaunty?<br />Si oui partager le avec nous merci. Actuellement voici le miens:<br />(Note j&#039;ai utiliser une carte sd en 3 partitions pour la gestion des fichiers temporaires)</p><div class="codebox"><pre><code># /etc/fstab: static file system information.
#
# Use &#039;vol_id --uuid&#039; to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=895b6164-ab53-4ea3-82b7-aab61b91ea4a /               ext4    noatime,errors=remount-ro 0       1
# /tmp was on /dev/mmcblk0p3 during installation
UUID=ad9c9664-e6d3-4946-905a-d0643cdcb932 /tmp            ext4    relatime        0       2
# /var was on /dev/mmcblk0p2 during installation
UUID=8cf137f3-c4e7-49d0-bd94-77ccb01d3abe /var            ext4    relatime        0       2
# swap was on /dev/mmcblk0p1 during installation
UUID=2621ed3a-32b7-445a-b8b8-50b022fcf05e none            swap    sw              0       0</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (HacKurx)]]></author>
			<pubDate>Sun, 05 Apr 2009 11:35:38 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2539373#p2539373</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2500254#p2500254</link>
			<description><![CDATA[<p>ah ok</p>]]></description>
			<author><![CDATA[dummy@example.com (antistress)]]></author>
			<pubDate>Tue, 17 Mar 2009 15:41:37 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2500254#p2500254</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2499935#p2499935</link>
			<description><![CDATA[<p>J&#039;avais modifier le fstab et désactiver klogd et sysklogd dans système, administration, services et au redemarrage xorg plantait me disant de contacter mon administrateur réseau que gdm ne se lancerai pas tant que ca n&#039;est pas corriger etc...<br />Bref il ne demarrait seulement en mode texte.<br />A testé sur une config de test, mais je pense que l&#039;erreur vient de la désactivation klogd et sysklogd. Hors pour les réctiver en mode texte sans interface graphique...pas facile.</p>]]></description>
			<author><![CDATA[dummy@example.com (HacKurx)]]></author>
			<pubDate>Tue, 17 Mar 2009 12:09:40 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2499935#p2499935</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2499414#p2499414</link>
			<description><![CDATA[<p>ah bon ?!</p>]]></description>
			<author><![CDATA[dummy@example.com (antistress)]]></author>
			<pubDate>Tue, 17 Mar 2009 00:04:10 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2499414#p2499414</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2498774#p2498774</link>
			<description><![CDATA[<p>ok, attention au manipulation du fstab sous jaunty ca fait planter l&#039;os!</p>]]></description>
			<author><![CDATA[dummy@example.com (HacKurx)]]></author>
			<pubDate>Mon, 16 Mar 2009 18:59:57 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2498774#p2498774</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2486339#p2486339</link>
			<description><![CDATA[<p>j&#039;ai fait un récap de ce que j&#039;ai trouvé<br />http://forum.hardware.fr/hfr/OSAlternatifs/Logiciels-2/reglages-ssd-netbook-sujet_69104_1.htm</p>]]></description>
			<author><![CDATA[dummy@example.com (antistress)]]></author>
			<pubDate>Wed, 11 Mar 2009 00:26:33 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2486339#p2486339</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2486268#p2486268</link>
			<description><![CDATA[<p>tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0<br />tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0<br />tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0</p><p>c&#039;est pour quoi ?</p><p>J&#039;avais lu</p><div class="quotebox"><blockquote><div><p>Pour monter /tmp et /var/tmp dans la RAM, modifiez /etc/fstab :</p><p>&#160; &#160;tmpfs&#160; &#160;/var/tmp&#160; &#160; &#160; &#160; tmpfs&#160; &#160;noatime 0&#160; &#160; &#160; &#160;0<br />&#160; &#160;tmpfs&#160; &#160;/tmp&#160; &#160; tmpfs&#160; &#160;noatime 0</p></div></blockquote></div><p>http://wiki.mandriva.com/fr/Magnum03_installer_mandriva_sur_eee#Monter_.2Ftmp_et_.2Fvar.2Flog_dans_la_m.C3.A9moire_RAM</p><p>ou </p><p>none /media/tmpfs tmpfs defaults 0 0</p><p>ou</p><p>tmpfs /tmp tmpfs defaults 0 0</p><p>et aussi </p><p>dans /etc/fstab j’ai ajouté<br />none /tmp tmpfs defaults 0 0<br />éventuellement sudo mount -a<br />puis dans firefox créer la clé valeur chaine<br />“browser.cache.disk.parent_directory” avec comme valeur “/tmp/$USER”<br />c’est ptet plus simple</p>]]></description>
			<author><![CDATA[dummy@example.com (antistress)]]></author>
			<pubDate>Tue, 10 Mar 2009 23:17:11 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2486268#p2486268</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2485664#p2485664</link>
			<description><![CDATA[<p>examine mon fstab et mon grub tu découvrira ce qu&#039;il faut faire.</p>]]></description>
			<author><![CDATA[dummy@example.com (HacKurx)]]></author>
			<pubDate>Tue, 10 Mar 2009 19:14:49 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2485664#p2485664</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2484878#p2484878</link>
			<description><![CDATA[<p>et aussi http://forum.ubuntu-fr.org/viewtopic.php?id=293426</p>]]></description>
			<author><![CDATA[dummy@example.com (antistress)]]></author>
			<pubDate>Tue, 10 Mar 2009 13:11:15 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2484878#p2484878</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2484869#p2484869</link>
			<description><![CDATA[<p>ça peut aider :<br />le gars derrière ext4 dit qu&#039;il faut surtout activer l&#039;option de<br />montage noatime si j&#039;ai bien compris<br />http://thunk.org/tytso/blog/2009/03/01/ssds-journaling-and-noatimerelatime/</p><p>voir aussi http://feedblog.org/2008/02/20/ssd-without-noatime-mount-option-considered-harmful-huge-performance-boost/</p><p>et aussi http://blogs.zdnet.com/perlow/?p=9190<br />http://robert.penz.name/137/no-swap-partition-journaling-filesystem-on-a-ssd/</p><p>perso j&#039;y comprend pas grand chose mais j&#039;ai un mini 9 ça m&#039;interesse aussi !</p>]]></description>
			<author><![CDATA[dummy@example.com (antistress)]]></author>
			<pubDate>Tue, 10 Mar 2009 13:07:22 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2484869#p2484869</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2472066#p2472066</link>
			<description><![CDATA[<p>SVP quelqu&#039;un peut certifier mes manipulations, merci.</p>]]></description>
			<author><![CDATA[dummy@example.com (HacKurx)]]></author>
			<pubDate>Wed, 04 Mar 2009 17:51:27 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2472066#p2472066</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2462533#p2462533</link>
			<description><![CDATA[<p><img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /> c&#039;est pas grave par contre je peux avoir vos avis sur mon /boot/grub/menu.lst et mon fstab, SVP.<br />Car j&#039;ai essayé d&#039;optimiser à fond la durer de vie de mon disque dur SSD et je voudrais savoir si c&#039;est correct mes modifications.</p><p>J&#039;ai aussi proposé un idée sur ubuntu Brainstorm:<br />http://brainstorm.ubuntu.com/idea/17652/</p>]]></description>
			<author><![CDATA[dummy@example.com (HacKurx)]]></author>
			<pubDate>Sat, 28 Feb 2009 16:10:25 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2462533#p2462533</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Optimisation pour disque dur ssd (fstab notament).]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2462366#p2462366</link>
			<description><![CDATA[<div class="quotebox"><cite>ubuntosaure a écrit&#160;:</cite><blockquote><div><p>C&#039;est fait regarde mon fstab ci-dessus.</p></div></blockquote></div><p>excuse moi, j&#039;ai lu en diagonale, j&#039;avoue:/</p>]]></description>
			<author><![CDATA[dummy@example.com (dahu_fou)]]></author>
			<pubDate>Sat, 28 Feb 2009 14:34:01 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2462366#p2462366</guid>
		</item>
	</channel>
</rss>
