![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
General Help All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Just Give Me the Beans!
![]() Join Date: Jul 2006
My beans are hidden!
|
ext4 option "data=writeback" makes breaks my system
Hi there,
I'm new to linux so please forgive me if my questions are kinda "naive" or stupid! I've read an article on how to speed-up ext4 by using the following options when mounting: Code:
defaults,data=writeback,noatime,barrier=0,extents,journal_checksum All other options work fine however when I add data=writeback in the /etc/fstab for my root partition the system doesn't boot with the following error: Code:
Could not start the X server due to some internal error. blabla, please restart gdm when the problem is corrected |
|
|
|
|
|
#2 |
|
Just Give Me the Beans!
![]() Join Date: Jul 2006
My beans are hidden!
|
Re: ext4 option "data=writeback" makes breaks my system
wow can't believe how popular ubuntu forums are! In just a couple of hrs my thread went to page 6!
|
|
|
|
|
|
#3 |
|
Ubuntu Café con Leche
![]() Join Date: Jan 2007
Location: Buenos Aires
Beans: 3,564
Ubuntu 8.04 Hardy Heron
|
Re: ext4 option "data=writeback" makes breaks my system
Are you sure the two are related? If you tried to mount root with the wrong journal mode, you have problems very early (much earlier than trying to start gdm). Or, possibly, you've already run into the infamous ext4 bug where it zeros out files on a crash and some needed file has been zeroed.
__________________
Don't try to make something "fast" until you are able to quantify "slow". |
|
|
|
|
|
#4 |
|
Should have gone to University
![]() Join Date: Jan 2008
Location: UK
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
|
Re: ext4 option "data=writeback" makes breaks my system
I second sdennie, it looks more like you are having a display driver issue, than a filesystem issue.
Are you able to login via the console? Press Alt+Ctrl+F1 and login with your name and password. Then type in: Code:
sudo shutdown now Choose the one that says "Fix X". Then select the "Continue with Normal Boot". Regards Iain |
|
|
|
|
|
#5 |
|
Fresh Brewed Ubuntu
![]() Join Date: Jan 2007
Location: Kentucky, USA
Beans: 1,521
|
Re: ext4 option "data=writeback" makes breaks my system
I can confirm this with fresh Jaunty install using ext4. I added data=writeback to fstab for my root partition, and got the same error at next boot. Removed using recovery mode with nano, and booted normally afterwards.
__________________
"The only thing necessary for the triumph of evil is for good men to do nothing." Edmund Burke |
|
|
|
|
|
#6 |
|
Just Give Me the Beans!
![]() Join Date: Mar 2005
Beans: 75
|
Re: ext4 option "data=writeback" makes breaks my system
The problem is, that you cannot just add data=writeback to your fstab entry and expect everything to work well.
If you look at your logs, you will see that the system complains when mounting the root fs because it cannot change the journaling model by itself. It mounts the fs read-only, and it just happens that it is X that is the first process in the normal bootup sequence that throws a complete wobbly on account of this. You need to use tune2fs to change the journal if you really want to do this. With the root partition mounted readonly (e.g., after one of your failed boot attempts -- but MAKE SURE IT IS RO) do: # tune2fs -o journal_data_writeback /dev/sdXY (where sdXY is the partition of interest) Then, reboot, and all should work. Look at my /etc/fstab for a system based on an ssd and you will see that it can work. Code:
eurgain@juno:~$ cat /etc/fstab UUID=57db94de-99f2-227a-83fe-3ca75c4d7f6e / ext4 noatime,barrier=0,data=writeback,nobh,commit=100,nouser_xattr 0 1 /swapfile none swap sw 0 0 tmpfs /var/log tmpfs defaults,noatime,size=5M 0 0 fuchsia:/home /mnt/fuchsia/home nfs bg,retry=20 0 0
__________________
Time is life; speed saves it. LJK Setright |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|