LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Permanent partition mount (https://www.linuxquestions.org/questions/linux-newbie-8/permanent-partition-mount-4175417412/)

Latman 07-18-2012 11:27 AM

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?

hurryi 07-18-2012 11:31 AM

Quote:

Originally Posted by Latman (Post 4731805)
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

Latman 07-18-2012 11:57 AM

This seems to have worked:

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

Thanks.

chrism01 07-18-2012 05:13 PM

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


All times are GMT -5. The time now is 06:32 PM.