LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-16-2007, 08:51 AM   #1
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Rep: Reputation: 31
Making an entry in fstab for new xfs partition


I formatted my ext3 sda4 partition to use the xfs filesystem. I tried to update the fstab, but when I rebooted, I couldn't mount that partition without first entering a password. I tried changing the permissions on the /media/sda4 folder for read/write, read only, read only with the file manager, with the group set to my group, but that didn't work either.

Here is my fstab file:

Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda3
UUID=41778420-b400-4284-9cf5-dc39b70931db /	ext3	defaults,errors=remount-ro	0       1

# /dev/hdb1
/dev/hdb1		/media/hdb1	ext3	defaults,errors=remount-ro		0       1

# /dev/sda2
UUID=2C88743C8874071C	/media/sda2	ntfs	defaults,nls=utf8,umask=007,gid=46	0       1

# /dev/sda4
UUID=7d8cfa29-9670-4c19-9e93-fd5993462273	/media/sda4	xfs	defaults	0       1

# /dev/sda1
UUID=224ee0d5-1338-49eb-a961-1aad6c32d75f	none		swap	sw		0       0

/dev/hda		/media/cdrom0   udf,iso9660 user,noauto				0       0
Any help with this problem would be greatly appreciated.
 
Old 09-16-2007, 09:40 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656Reputation: 656
If this is an external drive, then it should mount for you the next time you restart the system. You can use sudo to mount it in the meantime. If it is an external drive then you don't want it to mount automatically at boot time, in case either the device isn't plugged in, or it is assigned to another device such as /dev/sdc4.

In that case, add the "noauto" option. If you want to mount it manually as a normal user, then add the "user" option.
 
Old 09-16-2007, 09:39 PM   #3
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by jschiwal View Post
If this is an external drive, then it should mount for you the next time you restart the system. You can use sudo to mount it in the meantime. If it is an external drive then you don't want it to mount automatically at boot time, in case either the device isn't plugged in, or it is assigned to another device such as /dev/sdc4.

In that case, add the "noauto" option. If you want to mount it manually as a normal user, then add the "user" option.
Its an internal drive.

Thank you for your help. I'll give that a try.

--------------------

That worked wonderfully! Thanks again.

Last edited by Cinematography; 09-16-2007 at 11:40 PM. Reason: add update
 
  


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
fstab entry for windows partition stratotak Debian 2 02-15-2007 06:09 AM
XFS in FC2 -- Really Slow after making changes AnthonyM Fedora 1 03-18-2005 11:42 AM
/etc/fstab entry ryedunn Linux - Newbie 1 01-17-2005 01:45 AM
FSTAB entry for normal user to access windows partition rmanocha Linux - Software 4 01-29-2004 04:33 PM
fstab entry albean Linux - Newbie 1 12-04-2002 01:33 PM


All times are GMT -5. The time now is 01:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration