[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ext3



Le Mon, Jan 07, 2002 at 11:47:28AM +0100, Michel Grentzinger [mic.grentz@online.fr] a écrit:
> Le Dimanche  6 Janvier 2002 16:49, Edouard GUIRCH a écrit :
> 
> > Je voudrais savoir comment monter un ext3 avec data=writeback.
> > Pour un fs ordinaire c'est facile: mount ... -o data=writeback.
> > Mais pour / ? Le noyau monte / avec data=ordered !
> >
> > mount / -o remount,data=writeback
> > ne marche pas (=> /etc/fstab aussi) !
> 
> Déjà, il n'est pas possible de remonter la partition racine sans redémarrer.

ben zut alors, les scripts de démarrage ont pas l'air au courant...

# grep -n remount /etc/rcS.d/S10checkroot.sh
95:  mount -n -o remount,ro /
131:      echo "remount it read-write:"
133:      echo "   # mount -n -o remount,rw /"
149:#   remount the rootfs rw but do not try to change mtab because it
150:#   is on a ro fs until the remount succeeded. Then clean up old mtabs
153:mount -n -o remount,$rootopts /
158:    mount -f -o remount,$rootopts /

par contre, n'ayant pas d'e3fs, je sais pas si on peut passer de ord en
w-b à la volée avec un "-o remount"...
et le passage e2/e3 ça doit pas pouvoir se faire non plus :-)

> Ensuite, fait un tour sur http://qlui.free.fr/Linux/ext3.html, il est 

http://qliu.free.fr/Linux/ext3.html

> notament écrit :
> "pour la partition /, on rentre l'option
> LILO: linux rootflags=data=writeback
> au boot (ou ajouter apprend="rootflags=data=writeback" dans lilo.conf)"
> 
 
-- 
Dominique Rousseau <d.rousseau@nnx.com>          
Neuronnexion - http://www.neuronnexion.com            



Reply to: