#1  
Old 9th July 2013, 22:07
John Ford John Ford is offline
Member
 
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 37
Thanks: 5
Thanked 2 Times in 2 Posts
Default How does fstab work?

I've been following the great tutorial found here,
http://www.howtoforge.com/perfect-se...ispconfig-3-p5

When I enter
Code:
/dev/mapper/server1-swap_1 none            swap    sw              0       0
on reboot it gives me a mountall error.
The default(original) fstab on install contained two uuid #'s for each portion of my hard drive one /dev/sda1 and one for swap /dev/sda5

this portion the system is fine with

Code:
/dev/mapper/server1-root /               ext4    errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0       1
but when I enter the swap label it gets all cranky with and without the uuid #'s. BTW I changed the labels to reflect my system name.

Does anyone know why it would behave this way and does anyone know a good fstab tutorial?

Last edited by John Ford; 9th July 2013 at 22:10.
Reply With Quote
Sponsored Links
  #2  
Old 10th July 2013, 05:25
id10t id10t is offline
Senior Member
 
Join Date: Nov 2008
Posts: 242
Thanks: 2
Thanked 22 Times in 22 Posts
Default

Not enough swaps in there... here's one of mine:

Code:
UUID=d23eeb31-11e3-43ed-a2d6-2c395587ef97	swap	  swap	sw	0	0
device/label/uuid of fs then mount point then fs type then options then dump and pass
__________________
I'm a very happy linode.com customer, I'm sure you will be too!
Reply With Quote
  #3  
Old 10th July 2013, 18:11
John Ford John Ford is offline
Member
 
Join Date: Jan 2010
Location: Kingston, Ontario, Canada
Posts: 37
Thanks: 5
Thanked 2 Times in 2 Posts
 
Default

Adding in "swap" in replacement for "none" doesn't seem to change anything.
for the UUID# indicating the swap partition

Code:
/dev/mapper/server1-swap_1 none            swap    sw              0       0
Its this line that makes it grumpy that the system is not ready or not yet present and then gives me a mountall error.

From what I have been able to determine this line is the only line that Ubuntu 12.04 LTS doesn't complain about

Code:
/dev/mapper/server1-root /               ext4    errors=remount-ro,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0       1
when it comes to swap partitions or auto mounting a usb drive fstab and the system seems to prefer using UUID#'s. I didn't experience any errors when doing it this way.

Last edited by John Ford; 12th July 2013 at 17:36.
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
Getting PHP to work with Cherokee maineac Installation/Configuration 3 2nd November 2010 06:31
How to config Proftpd to work with passive mode in ISPConfig 2.2.35 X-admin Installation/Configuration 0 6th June 2010 19:52
Email alias and forward do not work in ISPConfig 3 alecksievici Installation/Configuration 2 11th May 2010 16:12
Pure domain DNS doesn't work SyRenity Installation/Configuration 7 12th December 2006 13:12
Cant get any messenger program to work SimplyMepis 6.0 gtoman Technical 1 13th November 2006 16:26


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


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