LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 06-09-2005, 07:07 PM   #1
br00tal
Member
 
Registered: Apr 2005
Distribution: Slackware 11.0-12.1
Posts: 56

Rep: Reputation: 15
Mount An Existing ext3 Partition


Hey,
Searched the forums, but I failed to find anyone with this exact issue...

I'm trying to mount a hard disk that has an existing ext3 partition on it with some files. The disk itself is going to be a file storage center for my website. It's listed as "hdb," so I tried mounting it in fstab like this:

/dev/hdb /webspace ext3 defaults 0 0

I also tried it with "1 2" instead of 0 0, and then the machine wouldn't even boot...it gave a superblock error at boot, and I had to perform maintanence on the filesystem to vi by removing that line from fstab.

Also, yes, I did create the /webspace directory.

I know I'm missing a step or three somewhere. Anyone know what to do?

Thanks,
Jesse
 
Old 06-09-2005, 07:14 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
first, i believe you need the partition number also, ie: /dev/hdb1 or /dev/hdb2

i'm curious...when you say you try "mounting it in fstab" you rebooted right? because the fstab entries are only mounted during boot. if you want to do a one-off mount, try

mount /dev/hdb2 /webspace

i think that'll work. check man mount if you get an error. also, just as a piece of advice, you should create /mnt/webspace and mount there instead of the / directory just to follow tradition.
 
Old 06-09-2005, 08:09 PM   #3
br00tal
Member
 
Registered: Apr 2005
Distribution: Slackware 11.0-12.1
Posts: 56

Original Poster
Rep: Reputation: 15
Ah, I can't believe I missed the number! That was my issue with that. Yes, I rebooted, as I know fstab is only called upon once, which is at boot.

Now, I want to make this filesystem read and writable by normal users...I can't remember the command...is it umask=00? Thanks!
 
Old 06-10-2005, 12:08 AM   #4
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
umask=000 i think is what i have for my shared fat32 partition, i'm not sure if the third one is necessary or not.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
existing LVM partition won't mount anymore dehuszar Linux - Software 1 09-10-2004 01:26 PM
How to mount an ext3 partition Dopeskills Linux - General 1 08-18-2004 09:35 PM
Mount a partition to an existing folder groover Linux - Newbie 5 04-04-2004 01:43 AM
Resizing Existing Linux Partition (ext3) BxBoy Linux - General 23 09-22-2003 10:46 AM
how to: mount existing partition on 2nd drive atljam Linux - General 2 07-28-2002 12:32 PM


All times are GMT -5. The time now is 08:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration