<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="auto">
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div id="aqm-original" style="color: black;"><!-- body start -->
<div class="aqm-original-body">
<div style="color: black;">
<p style="color: black; font-size: 10pt; font-family: sans-serif; margin: 8pt 0;">
On 12 August 2018 11:19:40 am Daryl McDonald <darylangela@gmail.com> wrote:</p>
<blockquote type="cite" class="gmail_quote" style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Aug 9, 2018 at 2:27 PM, Daryl McDonald <span dir="ltr">
<<a href="mailto:darylangela@gmail.com" target="_blank">darylangela@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">
<div>
<div class="gmail-h5">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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span>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" target="_blank">stephen_agent@jsw.gen.nz</a> <mailto:<a href="mailto:stephen_agent@jsw.gen.nz" target="_blank">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,nof<wbr>ail 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-c<wbr>cb6f81d5bd5 / ext4 <br>
>> errors=remount-ro 0 1<br>
>> # swap was on /dev/sda5 during installation<br>
>> UUID=47904312-a99f-46dd-ae81-5<wbr>f0fff64df5e none swap sw <br>
>> 0 0<br>
>> UUID=3769e2e8-adde-456c-86e4-0<wbr>402be737ef6 /media/daryl ext4 <br>
>> defaults 0 1<br>
>> UUID=ec787761-11d5-4127-b198-e<wbr>159bfcd2a6a /media/daryl ext4 <br>
>> defaults 0 1<br>
>> UUID=3d591aa5-fb48-4fd1-8989-e<wbr>01d66926876 /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>
</div>
<div>Much obliged Stephen, all changes worked well. </div>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>I replied too soon, I can't access previous recordings and new ones don' play properly. fstab looks like this:</div>
<div>
<div># <file system> <mount point> <type> <options> <dump> <pass></div>
<div># / was on /dev/sda1 during installation</div>
<div>UUID=06336f2d-051d-4900-bb9f-ccb6f81d5bd5 / ext4 errors=remount-ro 0 1</div>
<div># swap was on /dev/sda5 during installation</div>
<div>UUID=47904312-a99f-46dd-ae81-5f0fff64df5e none swap sw 0 0</div>
<div>LABEL=storage1 /mnt/storage1 ext4 defaults 0 2</div>
<div>LABEL=storage2 /mnt/storage2 ext4 defaults 0 2 </div>
<div>LABEL=storage3 /mnt/storage3 ext4 defaults 0 2</div>
</div>
<div><br>
</div>
<div>the default storage directories in myth BE setup are /mnt/storage1, /mnt/storage2, /mnt/satorage3/</div>
<div>recordings were green when I was using /media/daryl, red since. Any suggestons? </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><span class="gmail-">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="gmail-m_2757378686276072441HOEnZb">
<div class="gmail-m_2757378686276072441h5">______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailma<wbr>n/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing<wbr>_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>
</span></div>
<br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<div>_______________________________________________</div>
<div>mythtv-users mailing list</div>
<div><a class="aqm-autolink aqm-autowrap" href="mailto:mythtv-users%40mythtv.org">mythtv-users@mythtv.org</a></div>
<div><a class="aqm-autolink aqm-autowrap" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a></div>
<div><a class="aqm-autolink aqm-autowrap" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a></div>
<div>MythTV Forums: <a class="aqm-autolink aqm-autowrap" href="https://forum.mythtv.org">
https://forum.mythtv.org</a></div>
<div><br>
</div>
</blockquote>
</div>
</div>
<!-- body end --></div>
<div dir="auto">Check permissions on /mnt and the three subfolders. Ie:</div>
<div dir="auto"><br>
</div>
<div dir="auto">ls -al /mnt</div>
<div dir="auto"><br>
</div>
<div dir="auto"><span style="font-family: sans-serif;">Do you get any warnings when exiting mythtv- setup about storage group directories not writeable? </span></div>
</div>
</body>
</html>