[raspberry-vi] Re: help editing fstab

  • From: "Blind Tango" <blindtango@xxxxxxxxx>
  • To: <raspberry-vi@xxxxxxxxxxxxx>
  • Date: Tue, 30 Aug 2016 05:29:44 +0200

Hi Erik,

I have a raspberry pi working as a basic fileserver.  I used this tutorial
found at:
http://www.cio.com/article/2901051/create-a-home-server-with-raspberry-pi-2.
html


With regard to a fstab file, here's an entry from mine that may help you:
UUID="5CC00824C00806CC" /media/audiobooks ntfs-3g
uid=1000,gid=1000,umask=007 0 0

With reference to my smb.conf file, here's an entry that may help you:
[audiobooks]
path = /media/audiobooks
read only = No
browsable = Yes
writeable = Yes
valid users = pi

The only thing I found that was not mentioned in the tutorial is to grant
the appropriate user permission to use the folder.  A command like this
should work:
Sudo chown pi:pi /media/audiobooks

I hope this will help.

Thanks.

-----Original Message-----
From: raspberry-vi-bounce@xxxxxxxxxxxxx
[mailto:raspberry-vi-bounce@xxxxxxxxxxxxx] On Behalf Of Erik Burggraaf
Sent: Saturday, 20 August 2016 10:50 PM
To: raspberry-vi@xxxxxxxxxxxxx
Subject: [raspberry-vi] Re: help editing fstab

Hi again,

 here's an update on my hard drive mounting situation. I took my best guess
and put the arguments below into my FStab. well, the server didn't blow up
but it doesn't mount  the hard drives either. so I am stuck once again.

I mounted all of the hard drives manually. then I started working on my
Samba server but I haven't been able to get a Samba share to work either
even with the hard drives mounted. not my day on the Raspberry Pi front.

Best,

Erik


Sent with AquaMail for Android
http://www.aqua-mail.com


On August 18, 2016 3:16:11 PM Erik Burggraaf <erik@xxxxxxxxxxxxxxxxxx>
wrote:

Alright, I found the flags that I think relate to this problem but I'm 
not sure how to apply them to my particular fstab file.

Here is a sample line copied out of my FStab:
UUID= 066f0ebb66180ada /mnt/d1 ntfs-3g UID=1000,gid=1000,umask=007 0 0

The new flag should be something like:
Defaults,nofail,x-systemd.device-timeout=10

Unfortunately the lines in my FS tab do not look anything like the 
lines that they are using in the sample documentation I have so I'm 
not sure where to put these commands in the line to get the proper 
syntax. what do you think?

I don't see that it makes much difference in this case but I'm using 
an Arch Linux tutorial which can be found here:
Https://wiki.archlinux.org/index.php/Fstab

I'm using the documentation and Sample code found under the tips and 
tricks heading level 2 and the external devices heading level 3.b est, 
Erik

Sent with AquaMail for Android
http://www.aqua-mail.com


On August 18, 2016 2:01:05 PM Rill <starbasecafe@xxxxxxxxx> wrote:

Yes, that sounds about right. I was just wondering if it would help 
bring the hard drives basically on line before you tried to mount 
them. I'm not an expert here. It's just a thought. Let me know if this
actually works.

Rill -- Sent from my iPhone

On Aug 18, 2016, at 12:39 PM, Erik Burggraaf <erik@xxxxxxxxxxxxxxxxxx>
wrote:

Hi Rill,

I think I found the podcast you were talking about on hacker radio. 
the podcast describes a situation where /boot/CMDline.txt had been 
edited by a special script for purpose of making the Raspberry Pi 
boot from a operating system on a SSD hard drive.  The script added 
the special delay of 5 Seconds command to give the hard drive time 
to spin up before trying to boot from the operating system on the drive.
is this what you meant?

I don't want the system to delay booting but I wonder if I could use 
the same type of command in FS tab to make it the system wait for the
hard drives?

Best,

Erik


Sent with AquaMail for Android
http://www.aqua-mail.com


On July 14, 2016 10:24:50 PM Rill <starbasecafe@xxxxxxxxx> wrote:

In my experience, Eric, the problem simply may be the size of the 
drives you were trying to mount. I'm guessing they are large based 
on what you're using them for. Essentially, the pie can't mount 
them fast enough and therefore they don't get mounted at all. There is
a workaround for it.
There was a hacker public radio podcast on this subject. You'd have 
to dig through the archives to find it. If you can't turn it up, 
post here and I'll try to find it for you.

Rill -- Sent from my iPhone

On Jul 14, 2016, at 8:47 PM, erik burggraaf <erik@xxxxxxxxxxxxxxxxxx>
wrote:

Hello all,  I have had this raspberry pi for three years and 
always intended to set it up as a nas/personal cloud.  This week, 
I have finally gotten around to it.  I'm using raspbian via 
command line.  This meets my needs and in particular it 
potentially lets me remote administrate.  I have a good two pages 
of notes.  Many appropriate packages are installed and updates 
performed.  My drives are all accessible, but I have run into an 
issue.  In order to make my drives mount automatically at startup, 
I need to edit the fstab file.  I have done this successfully, but 
my drives don't mount automatically, even though all of the commands
work if I run them myself.  I used the tutorial found here:
http://www.techjawab.com/2013/06/how-to-setup-mount-auto-mount-usb
-hard.html 
<http://www.techjawab.com/2013/06/how-to-setup-mount-auto-mount-us
b-hard.html> This I believe is intended for arch, but all of the 
commands work exactly
as advertised on raspbian.   I am guessing there is a problem with the
way
I wrote my fstab file, but this is my first time doing such and I 
don't particularly know what to search for on google to get the answer
I need.
Would some one be willing to look at the contents of my fstab and 
tell me where I went wrong?  I could paste it into an email message.

Thanks,

Erik Burggraaf
Freelance jack of many trades!  Visit my website:
http://www.theoutofworkbum.work
Also check out my website for inclusion to the android platform 
for persons with sensery, physical or cognitive disabilities:
http://www.inclusiveandroid.com


===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the 
Raspberry Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the 
views and attitudes expressed by the subscribers to this list do 
not reflect those of the Foundation.

Mike Ray, list creator, January 2013
===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the 
Raspberry Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the 
views and attitudes expressed by the subscribers to this list do 
not reflect those of the Foundation.

Mike Ray, list creator, January 2013


===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the 
Raspberry Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the 
views and attitudes expressed by the subscribers to this list do not 
reflect those of the Foundation.

Mike Ray, list creator, January 2013

===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the 
Raspberry Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the 
views and attitudes expressed by the subscribers to this list do not 
reflect those of the Foundation.

Mike Ray, list creator, January 2013



===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry 
Pi Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the 
views and attitudes expressed by the subscribers to this list do not 
reflect those of the Foundation.

Mike Ray, list creator, January 2013



===========================================================
The raspberry-vi mailing list
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and
attitudes expressed by the subscribers to this list do not reflect those of
the Foundation.

Mike Ray, list creator, January 2013

=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: