Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: fstab issues
PostPosted: Sun Dec 02, 2007 6:10 pm 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
Hi there, trying to do a total rebuild on my Debian 4.0 linode here, and having the strangest problem with the simplest thing...

I am trying to get my new install to see my disk images, that contain project files, docs, etc, but it won't pick them up after editing fstab and rebooting...

In my dashboard, all of my images are there, no problem. Under my configuration profile, in the Drive Setup section, all of my disk images are tied in with a /dev/ubd*. Here is my setup there...

/dev/ubda root - my boot image
/dev/ubdb swap
/dev/ubdc home
/dev/ubdd proj
/dev/udbe docs
/dev/ubdf backup

Now, in my /etc/fstab file, I have the following...

/dev/ubda / ext3 defaults 0 0
/dev/ubdb swap swap defaults 0 0
/dev/ubdc /home ext3 defaults 0 0
/dev/ubdd /proj ext3 defaults 0 0
/dev/udbe /docs ext3 defaults 0 0
/dev/ubdf /backup ext3 defaults 0 0
/proc /proc proc defaults 0 0

Any ideas? I did go ahead and rename the out of the box /home to /home_old, so that my disk image can be mounted in fstab as the new /home...

Any advice appreciated.

Thank!


Top
   
 Post subject:
PostPosted: Sun Dec 02, 2007 6:42 pm 
Offline
Senior Member
User avatar

Joined: Tue Apr 13, 2004 6:54 pm
Posts: 833
Did you make the blank directories as the mount points?

mkdir /home /proj /docs /backup

Unix needs the directory to already exist before it canbe used as a mount point.

_________________
Rgds
Stephen
(Linux user since kernel version 0.11)


Top
   
 Post subject:
PostPosted: Sun Dec 02, 2007 6:45 pm 
Offline
Senior Member

Joined: Tue Apr 27, 2004 5:10 pm
Posts: 212
Have you tried using /dev/ubd/X (where X is an integer)?

Example:
Code:
/dev/ubda == /dev/ubd/0
/dev/ubdb == /dev/ubd/1


I'm not sure how debian chooses device names, but the above change is something I've run into in the past with old versions of Gentoo.

-erik


Top
   
 Post subject:
PostPosted: Sun Dec 02, 2007 6:51 pm 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
sweh wrote:
Did you make the blank directories as the mount points?

mkdir /home /proj /docs /backup

Unix needs the directory to already exist before it canbe used as a mount point.


Thank you thank ou thank you... worked like a charm. How could I forget this?

Paul


Top
   
 Post subject:
PostPosted: Fri Dec 07, 2007 9:08 pm 
Offline
Senior Member

Joined: Fri Feb 13, 2004 11:30 am
Posts: 140
Location: England, UK
I know you solved this, but in case you haven't noticed, there's a typo when you use /dev/udbe for docs - it should be /dev/ubde, I believe.


Top
   
 Post subject:
PostPosted: Sat Dec 08, 2007 12:16 am 
Offline
Senior Member

Joined: Tue Mar 09, 2004 3:52 am
Posts: 106
Thanks, yeah, that was a typo here, not in my fstab file.

Thanks!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group