LinuxQuestions.org
Visit Jeremy's Blog.
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 07-18-2012, 11:27 AM   #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, 11:31 AM   #2
hurryi
Member
 
Registered: Apr 2010
Distribution: RHEL
Posts: 77

Rep: Reputation: 8
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, 11:57 AM   #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, 05:13 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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



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 02:37 AM
permanent mount of win shares DJOtaku Linux - General 3 01-31-2005 11:52 PM
permanent network mount? Dr Gutiemouth Linux - Networking 5 11-01-2004 09:47 AM
How can I permanent mount an exixting Partition mwj Linux - General 9 01-23-2004 12:48 AM
permanent mount jerrod Linux - Newbie 4 04-14-2003 06:36 PM

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

All times are GMT -5. The time now is 07:59 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
Open Source Consulting | Domain Registration