Well, I had the first use of the recovery mode on the RH 8.0 install CD today on a dev system. I changed the mount option for the root partition to data=writeback to see what all the claimed speed increases are about, and the system failed to mount the partition r/w, so the resulting boot failed. After search usenet, it seems other RH folks have had this problem, possibly because it is built as a module, and not into the kernel. Do I have to recompile the kernel to get the root partition to mount in writeback journal mode, or is there a way to keep ext3 as a module, and enable writeback mode? Other partitions mount fine in writeback mode on this machine. TIA- Bruce
Christopher J. PeBenito
2003-Apr-02 15:48 UTC
Re: data=writeback option on root partition - RH 8.0
My first guess would be that you have data=writeback in your /etc/fstab, for root, but don't have rootflags=data=writeback on your kernel command line. eg: (from grub): kernel /boot/bzImage root=/dev/sda2 ro rootflags=data=writeback On Mon, 2003-03-31 at 16:26, Bruce S. Garlock wrote:> Well, I had the first use of the recovery mode on the RH 8.0 install CD > today on a dev system. I changed the mount option for the root > partition to data=writeback to see what all the claimed speed increases > are about, and the system failed to mount the partition r/w, so the > resulting boot failed. > > After search usenet, it seems other RH folks have had this problem, > possibly because it is built as a module, and not into the kernel. Do I > have to recompile the kernel to get the root partition to mount in > writeback journal mode, or is there a way to keep ext3 as a module, and > enable writeback mode? Other partitions mount fine in writeback mode on > this machine. > > TIA- > > Bruce > > > > _______________________________________________ > Ext3-users mailing list > Ext3-users@redhat.com > https://listman.redhat.com/mailman/listinfo/ext3-users-- Chris PeBenito <pebenito@ieee.org> AIM: PeBenito78 ICQ#: 10434387 "Engineering does not require science. Science helps a lot, but people built perfectly good brick walls long before they knew why cement works."-Alan Cox
Bruce S. Garlock
2003-Apr-02 18:14 UTC
Re: data=writeback option on root partition - RH 8.0
Bill Rugolsky Jr. wrote:>If you are using ext3 as a module, you need to remake your initrd: > > mv /boot/initrd-`uname -r`.img /boot/initrd-`uname -r`.img.bak > mkinitrd -v /boot/initrd-`uname -r`.img `uname -r` > >If you have ext3 built into the kernel, add the following to the >kernel commandline: > > rootflags=data=writeback > >Regards, > > Bill Rugolsky > >This did the trick - thanks! -Bruce