<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 9, 2018 at 11:11 AM, Stephen Worthington <span dir="ltr"><<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">stephen_agent@jsw.gen.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, 9 Aug 2018 14:50:54 +0100, you wrote:<br>
<br>
>On 09/08/18 14:23, Daryl McDonald wrote:<br>
>> <br>
>> <br>
>> On Wed, Aug 8, 2018 at 11:30 PM, Stephen Worthington <br>
>> <<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.nz</a> <mailto:<a href="mailto:stephen_agent@jsw.gen.nz">stephen_agent@jsw.gen.<wbr>nz</a>>> wrote:<br>
>> <br>
><br>
>> <br>
>>     The way I run my fstab is to use gparted to add labels to the<br>
>>     recording partitions (rec1, rec2, ...), and then use fstab entries<br>
>>     like this:<br>
>> <br>
>>     LABEL=rec5 /mnt/rec5 jfs relatime,errors=remount-ro,<wbr>nofail 0  2<br>
>> <br>
>> <br>
>> So I wouldn't need UUID any more, I already created labels in gparted?<br>
>> this is my fstab:<br>
>>   # / was on /dev/sda1 during installation<br>
>> UUID=06336f2d-051d-4900-bb9f-<wbr>ccb6f81d5bd5 /               ext4    <br>
>> errors=remount-ro 0       1<br>
>> # swap was on /dev/sda5 during installation<br>
>> UUID=47904312-a99f-46dd-ae81-<wbr>5f0fff64df5e none            swap    sw    <br>
>>            0       0<br>
>> UUID=3769e2e8-adde-456c-86e4-<wbr>0402be737ef6 /media/daryl    ext4        <br>
>> defaults    0       1<br>
>> UUID=ec787761-11d5-4127-b198-<wbr>e159bfcd2a6a /media/daryl    ext4        <br>
>> defaults    0       1<br>
>> UUID=3d591aa5-fb48-4fd1-8989-<wbr>e01d66926876 /media/daryl    ext4        <br>
>> defaults    0       1<br>
>>   my labels are storage1, 2, &3 but only storage 1 mounts<br>
><br>
>Isn't that because they all ahve the same mountpoint?<br>
<br>
</span>Yes, they all need separate mount points - only one drive can mount on<br>
the /media/daryl mount point.  The normal place to put fixed mount<br>
points in Ubuntu is in /mnt.  The /media directory is used for<br>
automounts.  If you plug in a USB disk or flash drive, or put a CD or<br>
DVD in an optical drive, in Ubuntu it will normally automount itself<br>
in a new directory made from the drive label under /media/daryl, and<br>
also automatically appear in the disk software such as Nautilus as a<br>
disk icon.  So doing fixed mount points on /media/daryl will stop that<br>
automounting from working.  I would recommend doing this:<br>
<br>
sudo mkdir /mnt/storage1<br>
sudo mkdir /mnt/storage2<br>
sudo mkdir /mnt/storage3<br>
chmod a=rwx /mnt/storage1<br>
chmod a=rwx /mnt/storage2<br>
chmod a=rwx /mnt/storage3<br>
<br>
and then changing those three lines in /etc/fstab to:<br>
<br>
LABEL=storage1 /mnt/storage1    ext4 defaults    0       2<br>
LABEL=storage2 /mnt/storage2    ext4 defaults    0       2<br>
LABEL=storage3 /mnt/storage3    ext4 defaults    0       2<br>
<br>
Note that I have also changed the 1 at the end of those lines to 2.<br>
Only the disk mounted on / should have pass 1 setting in fstab.  All<br>
other disks should be pass 2 (or 0 for special mount points like<br>
/proc).  The pass number tells the boot process that all drives with<br>
pass 1 are to be checked and made available in the early boot process.<br>
But only the / drive needs to be made available that early - the other<br>
drives should be left for the normal mounting process later.<br></blockquote><div><br></div><div>Much obliged Stephen, all changes worked well. </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/<wbr>mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/<wbr>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</div></div></blockquote></div><br></div></div>