Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 7th February 2010, 22:04
Slicer Slicer is offline
Member
 
Join Date: Jul 2006
Posts: 42
Thanks: 2
Thanked 1 Time in 1 Post
Default mtab not holding changes after reboot

I am using the Hot To How To Set Up Software RAID1 On A Running LVM System (Incl. GRUB Configuration) (Debian Lenny) on my EBox 1.4 install. (This is using Ubuntu 8.0.4.4)

The problem is when I edit the /etc/mtab/ under section 4 Creating Our RAID Arrays it does not hold the change on reboot.

Has anyone seen this?

Here is the section from the HowTo----

Next replace /dev/sda1 with /dev/md0 in /etc/mtab:

vi /etc/mtab

/dev/mapper/debian-root / ext3 rw,errors=remount-ro 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
udev /dev tmpfs rw,mode=0755 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
/dev/md0 /boot ext3 rw 0 0
---------------------------------------------------------------

here is what my file looks like after a reboot..


/dev/mapper/hercules-root / ext3 rw,relatime,errors=remount-ro,usrquota,grpquota 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
/sys /sys sysfs rw,noexec,nosuid,nodev 0 0
varrun /var/run tmpfs rw,noexec,nosuid,nodev,mode=0755 0 0
varlock /var/lock tmpfs rw,noexec,nosuid,nodev,mode=1777 0 0
udev /dev tmpfs rw,mode=0755 0 0
devshm /dev/shm tmpfs rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/sda1 /boot ext3 rw,relatime 0 0

------------------------------------------------------------


not sure how to get the mtab file to hold the needed change.
Reply With Quote
Sponsored Links
  #2  
Old 8th February 2010, 14:14
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

What's the output of
Code:
mount
after the reboot?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 8th February 2010, 17:11
Slicer Slicer is offline
Member
 
Join Date: Jul 2006
Posts: 42
Thanks: 2
Thanked 1 Time in 1 Post
Default mount output

/dev/mapper/hercules-root on / type ext3 (rw,relatime,errors=remount-ro,usrquota,grpquota)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw,relatime)
Reply With Quote
  #4  
Old 9th February 2010, 14:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

What's in /etc/fstab?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to reboot vyatta pc router via php? torres HOWTO-Related Questions 2 1st August 2010 13:16
Reboot needs direct console input? keyvan Server Operation 1 10th March 2009 19:52
Mail & problem after upgrade and reboot hmfireball Installation/Configuration 13 11th January 2009 14:20
email sent before and after reboot drsinger111 HOWTO-Related Questions 3 29th March 2008 17:39
Debian-Sarge : Not picking up the IP address on reboot contactme HOWTO-Related Questions 10 12th January 2007 09:05


All times are GMT +2. The time now is 18:37.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.