LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-18-2012, 12:27 PM   #1
Latman
LQ Newbie
 
Registered: Jun 2012
Posts: 15

Rep: Reputation: Disabled
Permanent partition mount


I have couple of partitions which I am having to mount every time I reboot the server.
These are:

/dev/sda3 /sybasedev
/dev/sda4 /sybaselog

I found that I need to edit /etc/fstab and add these lines in there for permanent fix:

/dev/sda3 /sybasedev sybasedev defaults 0 0
/dev/sda4 /sybaselog sybaselog defaults 0 0

I have done the above, but still not working.
Can someone point what I am doing wrong?
 
Old 07-18-2012, 12:31 PM   #2
hurryi
Member
 
Registered: Apr 2010
Distribution: RHEL
Posts: 77

Rep: Reputation: 7
Quote:
Originally Posted by Latman View Post
I have couple of partitions which I am having to mount every time I reboot the server.
These are:

/dev/sda3 /sybasedev
/dev/sda4 /sybaselog

I found that I need to edit /etc/fstab and add these lines in there for permanent fix:

/dev/sda3 /sybasedev sybasedev defaults 0 0
/dev/sda4 /sybaselog sybaselog defaults 0 0

I have done the above, but still not working.
Can someone point what I am doing wrong?
shouldnt that look like this?

/dev/sda3 /sybasedev <fstype> defaults 0 0
/dev/sda4 /sybaselog <fstype> defaults 0 0
 
Old 07-18-2012, 12:57 PM   #3
Latman
LQ Newbie
 
Registered: Jun 2012
Posts: 15

Original Poster
Rep: Reputation: Disabled
This seems to have worked:

/dev/sda3 /sybasedev ext2 defaults 1 1
/dev/sda4 /sybaselog ext2 defaults 1 2

Thanks.
 
Old 07-18-2012, 06:13 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
I would check what distro+version you are using; ext2 has been superseded by ext3 for a long time and ext4 is becoming common.
 
  


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
Permanent mount on raw devices configuration sreenivas261283 Linux - Software 2 04-07-2009 03:37 AM
permanent mount of win shares DJOtaku Linux - General 3 02-01-2005 12:52 AM
permanent network mount? Dr Gutiemouth Linux - Networking 5 11-01-2004 10:47 AM
How can I permanent mount an exixting Partition mwj Linux - General 9 01-23-2004 01:48 AM
permanent mount jerrod Linux - Newbie 4 04-14-2003 07:36 PM


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