Auto-mount drivers on reboot for server 12.04.1

Asked by Joe Hernandez on 2012-12-28

How can I configure the server to auto-mount the shared drives at boot? No info in the
Server Guide or other sources.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
N1ck 7h0m4d4k15
Solved:
2012-12-30
Last query:
2012-12-30
Last reply:
2012-12-30
N1ck 7h0m4d4k15 (nicktux) said : #1

Hi,

you can find info if you search for /etc/fstab and focus in this file and how to mount permanently a partition of HDD.

Read this guide here : http://ubuntuforums.org/showthread.php?t=283131

If you want further help .. do not hesitate to post back here.

Thanks

Joe Hernandez (jhernandez23) said : #2

Does the Pysdm Gui work with the server version or just the desktop version of 12.04?
JH

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of NikTh
Sent: Friday, December 28, 2012 2:26 AM
To: <email address hidden>
Subject: Re: [Question #217798]: Auto-mount drivers on reboot for server 12.04.1

Your question #217798 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/217798

    Status: Open => Answered

NikTh proposed the following answer:
Hi,

you can find info if you search for /etc/fstab and focus in this file and how to mount permanently a partition of HDD.

Read this guide here : http://ubuntuforums.org/showthread.php?t=283131

If you want further help .. do not hesitate to post back here.

Thanks

--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/ubuntu/+question/217798/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/217798

You received this question notification because you asked the question.

Joe Hernandez (jhernandez23) said : #3

Ok. Read the guide. Added a line to fstab with following:

/dev/sdb5 /mnt/hdd2 NTFS auto,rw 0 0

When I mount manually my NTFS eternal dive /dev/sdb5 to mnt/hdd2 it works. However, after I edited fstab and re-booted, the system crashed. I had to boot in safe mode so I could replace the fstab with the original file. I'm missing something. Any ideas?
JH

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of NikTh
Sent: Friday, December 28, 2012 2:26 AM
To: <email address hidden>
Subject: Re: [Question #217798]: Auto-mount drivers on reboot for server 12.04.1

Your question #217798 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/217798

    Status: Open => Answered

NikTh proposed the following answer:
Hi,

you can find info if you search for /etc/fstab and focus in this file and how to mount permanently a partition of HDD.

Read this guide here : http://ubuntuforums.org/showthread.php?t=283131

If you want further help .. do not hesitate to post back here.

Thanks

--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/ubuntu/+question/217798/+confirm?answer_id=0

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+question/217798

You received this question notification because you asked the question.

N1ck 7h0m4d4k15 (nicktux) said : #4

Pysdm can work , but server have not a Desktop environment , do you have a desktop environment ? If yes , you can use pysdm --- Carefully !!

NTFS is wrong .. the correct is ntfs-3g

Change the entry to this please ( I assume here that /mnt/hdd2/ is a standard folder you created .. correct? )

/dev/sdb5 /mnt/hdd2 ntfs-3g uid=1000,gid=1000,dmask=027,fmask=137

With the entry above , you will have Read Write and Execute permissions and others will have Read - Write permissions.

Thanks

Joe Hernandez (jhernandez23) said : #5

Thanks. It worked. One curious thing however, the USB drives I have connected slowed down considerably from when I mounted them manually. The Ethernet card is a 100 MB card running on a 1000MB LAN. Whereas before I was getting about 11 Mb transfer rates on long files on the USB drives it slows down to about 1 or 2 Mb. The eSATA drive is running just fine. Is this related in any way? Thanks for the help. Now if I could get my printer to work [Question #217796] I would be done for now.
Thanks again
JH

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of NikTh
Sent: Saturday, December 29, 2012 3:41 AM
To: <email address hidden>
Subject: Re: [Question #217798]: Auto-mount drivers on reboot for server 12.04.1

Your question #217798 on util-linux in Ubuntu changed:
https://answers.launchpad.net/ubuntu/+source/util-linux/+question/217798

    Status: Open => Answered

NikTh proposed the following answer:
Pysdm can work , but server have not a Desktop environment , do you have a desktop environment ? If yes , you can use pysdm --- Carefully !!

NTFS is wrong .. the correct is ntfs-3g

Change the entry to this please ( I assume here that /mnt/hdd2/ is a standard folder you created .. correct? )

/dev/sdb5 /mnt/hdd2 ntfs-3g uid=1000,gid=1000,dmask=027,fmask=137

With the entry above , you will have Read Write and Execute permissions and others will have Read - Write permissions.

Thanks

--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/ubuntu/+source/util-linux/+question/217798/+confirm?answer_id=3

If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/ubuntu/+source/util-linux/+question/217798

You received this question notification because you asked the question.

Best N1ck 7h0m4d4k15 (nicktux) said : #6

Usb transfer rate always is slow. Same thing to me .. when it starts is starts with an ostensibly high speed transfer , but ends up slow.
I believe it has to do with the filesystem and also the limited capability of USB transfer speed.

If your problem solved , then change the status to "solved" , by marking the answer that helped you.

Thanks

Joe Hernandez (jhernandez23) said : #7

Problem solved. Thanks