خرید بک لینک

so i have got my server up and ruing and my 3TB hdd is shared over my network over samba, now comes streaming media via plex as well as a few other minor detail such as the second hdd not auto mounting on restart.

so i have been reading about editing my fstab file so that devices automatically mount on boot this subject first came up when searching why i can not find any sub directories in Plex while using the browse option to set up libraries (see article here: http://ubuntuforums.org/showthread.php?t=2087341 )

i attempted to edit my fstab and i had horrible results i had to remove the add'd line so i must have done something wrong, what im hoping for is that someone can help me write the line that i do need to add in the fstab so i dont make this error again.

according to the site i was reading (see here: http://askubuntu.com/questions/16492...n-ubuntu-12-04 ) i need a few things

Code:

UUID=<uuid> <pathtomount> <file system> uid=<userid>,gid=<groupid>,umask=0022,sync,auto,rw 0 0
so i obtained most if not all of the information

Code:

/dev/sda1: UUID="2bd1c8c3-2e6e-433c-ab3c-d5311b98bcd3" TYPE="ext4" 
/dev/sda5: UUID="a53e2978-0c37-438f-a799-60c934be68e6" TYPE="swap" 
/dev/sdb1: LABEL="Network Storage" UUID="686f24ec-b686-4dda-b4b6-0a69a2d6602e" TYPE="ext4"
now
/dev/sdb1: LABEL="Network Storage" UUID="686f24ec-b686-4dda-b4b6-0a69a2d6602e" TYPE="ext4"
is the device i would like to auto mount on boot up with the following path (whats displayed in the dolphin property's for the HDD's root directory)
/media/ko16ftl3/Network Storage/
my user id is
ko16ftl3@UBUNTU:~$ id -u ko16ftl31000
my group ID is as follows:
ko16ftl3@UBUNTU:~$ id --groups1000 4 24 27 30 46 107 113
now if im following the instructions correctly the line i need to add should be something like this

Code:

UUID=686f24ec-b686-4dda-b4b6-0a69a2d6602e /media/ko16ftl3/Network Storage/  type=ext4 uid=1000,gid=1000 4 24 27 30 46 107 113,umask=777,sync,auto,rw 0 0
i have no idea what a umask is but in a quick google search it said it assigns read and write permissions.....personally seeing as how this drive is also my samba drive as well as where my media is stored i would like read write and execute privileges to it when it is auto mounted.

so what im looking for is is this peice of code ready to copy and paste right to my fstab file? what would you guys change about it? i didnt do anything crazy that will screw something up like to many spaces or anything did i?

i have been known to not have correct linux punctuations shall we call it? before where to many spaces screwed me up every time in the CLI

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 2 فروردين 1395 ساعت: 10:36

صفحه بندی