August 1, 201114 yr Afternoon All, So I'm nearly done my unRaid build (pics to come ), but am just trying to figure out how to mount a drive outside the array that will re-mount on reboots. Now normally I would just edit fstab and add the mount in there, but I don't think that works in unRaid. For unRaid, it looks like the go script needs to be edited to run the commands on each boot, so could it be as simple as adding the following lines at the top of the 'go' script --> mkdir /mnt/Apps mount -t reiserfs -o noatime,nodiratime /dev/sdX1 /mnt/... The smb-extra conf file would also need to be updated, but I think changes here survives reboots. Now the only issue I see with the code above is that the device name could change, so I would want to use the device serial number... which I'm not quite sure how to do. In any case this will be the location of my Sab/Couch/Sickbeard install. Any assistance would be appreciated. Oh, and before somebody suggests it, I would rather not use SNAP. Thanks again.
August 1, 201114 yr Afternoon All, So I'm nearly done my unRaid build (pics to come ), but am just trying to figure out how to mount a drive outside the array that will re-mount on reboots. Now normally I would just edit fstab and add the mount in there, but I don't think that works in unRaid. For unRaid, it looks like the go script needs to be edited to run the commands on each boot, so could it be as simple as adding the following lines at the top of the 'go' script --> mkdir /mnt/Apps mount -t reiserfs -o noatime,nodiratime /dev/sdX1 /mnt/... The smb-extra conf file would also need to be updated, but I think changes here survives reboots. Now the only issue I see with the code above is that the device name could change, so I would want to use the device serial number... which I'm not quite sure how to do. In any case this will be the location of my Sab/Couch/Sickbeard install. Any assistance would be appreciated. Oh, and before somebody suggests it, I would rather not use SNAP. Thanks again. Use /dev/disk/by-label http://lime-technology.com/forum/index.php?topic=14133.0
August 1, 201114 yr If you formatted (mkfs) the filesystem with a label then you can use mount -L labelname /mnt/apps and not worry where the drive is.
Archived
This topic is now archived and is closed to further replies.