LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-27-2005, 10:02 PM   #1
redmoon
LQ Newbie
 
Registered: Jan 2005
Distribution: Suse 9.2
Posts: 16

Rep: Reputation: 0
mounting 2nd ext3 HDD


Hi team,

I'm running Ubuntu 5.04 and I have a second blank HDD (40 GB) that i formatted as ext3 with the GParted program.

How do i mount this drive under something like "/space" or "/storage" so that I can read/write and it is permanently there?

Would appreciate some help, cheers.
 
Old 06-27-2005, 10:06 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Code:
mkdir /space
Then, add to /etc/fstab:
Code:
/dev/hdXN /space defaults 0 0
Where /dev/hdXN is the new drive and partition.
 
Old 06-27-2005, 10:14 PM   #3
redmoon
LQ Newbie
 
Registered: Jan 2005
Distribution: Suse 9.2
Posts: 16

Original Poster
Rep: Reputation: 0
Hi Matir,

i get this when i attempt your solution:


unknown filesystem type 'defaults'


what now?
 
Old 06-27-2005, 10:16 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Oops, I'm sorry, I forgot the filesystem. My apologies. Before "defaults", add ext3. My apologies.
 
Old 06-27-2005, 10:26 PM   #5
redmoon
LQ Newbie
 
Registered: Jan 2005
Distribution: Suse 9.2
Posts: 16

Original Poster
Rep: Reputation: 0
Hi Matir,

cheers, i have mounted the drive now BUT...

i can't write anything to it...an error window pops up saying i don't have permisisons...

can you help me out?
 
Old 06-27-2005, 10:31 PM   #6
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Well, as with anything in the system, the proper permissions must be set on folders and files in it.
 
Old 06-28-2005, 03:02 AM   #7
redmoon
LQ Newbie
 
Registered: Jan 2005
Distribution: Suse 9.2
Posts: 16

Original Poster
Rep: Reputation: 0
Got it! Thanks so much for your help, it is much appreciated.
 
Old 06-28-2005, 08:47 AM   #8
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
No problem. Glad I was able to help.
 
Old 07-22-2005, 12:28 AM   #9
bpilgrim1979
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: 0
Hello, I have a similar situation.

In order to run shell scripts, I had to add exec,defaults to fstab line.

Also, is it advisable to mount into /mnt/space instead of /space? Doing so will show df command properly. And when mounting into /mnt/space, my desktop user didn't have access to that drive, only subdirectories my root account specifically set. Is that a recommended setup?
 
  


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
Mounting an ext3 HDD (?) AndrewZorn Linux - General 11 04-12-2005 12:04 PM
problem with mounting 2nd HD (ext3) malegria Mandriva 1 12-02-2004 09:50 PM
Problem mounting ext3 filesystem on 2nd Hard Disk judgedeath2 Linux - Hardware 2 08-16-2004 09:43 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM
2nd HDD TBBA Linux - Newbie 5 05-03-2002 01:40 PM


All times are GMT -5. The time now is 04:26 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