Can someone remind me how to give mount options for the root file system
to the kernel. Nothing there in the kernel docs.

Just to give a background, i have been playing around with an old 4 cpu
hypersparc beast. Making it run with reasonable stablity in smp with
everything compiled from ground up with _most aggresive optimization was,
well interesting ;) almost flunked courses for that.

Its running 2.4.20 with ext3 root file system. But the performance hit
between ext2 and ext3 is significant. I was planning to tweak 2 things,
the commit interval and the data= option.

The problem is if change the data=writeback in fstab, the thing cant boot
up cleanly. Dmesg shows that it mounts the the root filesystem initially
readonly with data=ordered and while mounting rw fails with "can't change
data parameters when remounting".

It gets more and more interesting, once i boot up using the root passwd
and invoke a

mount -t ext3 /dev/sdb4 / -0 remount,data=writeback

it fails, but if i just do a remount with no options it remounts, mtab
shows its been mounted as data=ordered but dmesg shows its been mounted
correctly as data=writeback.

So wondering if there is a way to make the kernel boot it initially in ro
with data=writeback mode. Hoping that then it would  be able to switch to
data=writeback,rw cleanly. I have to pass the root= parameter anyway for
booting, might aswell add some mount options.

-- sreangsu



-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to