LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 11-14-2008, 05:09 PM   #1
Nocturnius
LQ Newbie
 
Registered: Nov 2008
Location: Connecticut
Distribution: Suse 10.3
Posts: 2

Rep: Reputation: 0
Second hard drive installation issue.


I am using opensuse 10.3.I decided to install a second hard drive for storage reasons.After that I went to Yast,System,Partitioner and partioned the drive as one large partition mounted as /local,by device id,with ordered data journaling mode,access control lists,and extended user attributes boxes checked.I tried to closely match the settings for the first drive with the partitioning tool.When I go to “My Computer” open the second drive and try to create a folder I get “access denied to /local/New Folder.I am relatively new to this O/S What am I doing wrong?
I have one line in /etc/fstab relating to the second drive.it looks like this.
/dev/disk/by-id/scsi-SATA_WDC_WD4000KD-00_WD-WMAMY1060696-part1 /local reiserfs acl,user,xattr 1 2.

Last edited by Nocturnius; 11-14-2008 at 05:28 PM. Reason: Additional information added.
 
Old 11-15-2008, 02:36 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
The line from fstab looks good, so the problem lies elswhere. Here are a few things to try to get information to help solve the problem.

1) Look in /etc/mtab (which shows mounted partitions). Do you see the new disk partition listed there as a mounted partition?

2) Look in /var/log/messages for anything relative to the new disk. If there is problems with it, there may be information in that file.

3) Try unmounting the partition from the command line, then mount it again. Do you get any error messages?
 
Old 11-15-2008, 02:52 AM   #3
JosipBroz
Member
 
Registered: Nov 2008
Location: Ljubljana
Distribution: OpenSuSE
Posts: 56

Rep: Reputation: 18
You're doing nothing wrong, really. You just have to give your mount point (let's say it's /media/hd2 or whatever) the appropriate permissions. The simplest way to do that would be to launch a root instance of your file browser (let's say it's konqueror) by typing su in a terminal and then konqueror; then you navigate to your mount point (/media/hd2 or whatever it's called), right-click on it, select Properties > Permissions and set the desired permissions. I think you don't even need to unmount/remount the thing to get it working.
 
Old 11-15-2008, 03:05 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Since you already have the /local mount point, and it does mount when you boot, you just need the change the ownershop and permissions on the mounted filesystem. E.G. in the shell, run "sudo chown <yourusername>.<yourusername> /local". For the permissions, "sudo chmod ug=rwx" will do you, unless you have the default group "users". In that case, to make this filesystem private use "sudo chmod 0700 /local". I mount extra drives under /mnt and leave /media for automounted devices.

If the partition for the drive is for a database, or samba or nfs share, then under /srv/, /var/ may be a better mount point. However, since this filesystem is private, you can mount it in your home directory as well. After changing the ownership and permissions, you just need to create the mount point and edit /etc/fstab to change it.
 
Old 11-15-2008, 12:06 PM   #5
Nocturnius
LQ Newbie
 
Registered: Nov 2008
Location: Connecticut
Distribution: Suse 10.3
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks guys!
I worked around a little and got it to work with first sudo ug=rwx /local then sudo chown username /local.
Thanks for everything.It erked me having a pc with only one non optical drive.
 
  


Reply



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
Second hard drive issue Odyssey1942 Linux - Newbie 11 01-26-2007 11:34 PM
Hard Drive Issue trubored Debian 8 06-27-2006 08:30 AM
Hard Drive Issue The Oate Mandriva 6 07-28-2004 11:43 AM
Hard drive(s) issue randyriver10 Linux - Hardware 10 07-12-2004 04:57 PM
cd-rom drive working in knoppix Hard drive installation dj_dubbbz Linux - Newbie 5 03-02-2004 10:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration