<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 31, 2015 at 7:04 PM, Nicolas Krzywinski <span dir="ltr"><<a href="mailto:myth@site7even.de" target="_blank">myth@site7even.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Message: 7<br>
Date: Fri, 30 Oct 2015 23:02:05 +0100<br>
From: Hika van den Hoven <<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a>><br>
To: Discussion about MythTV <<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a>><br>
Subject: Re: [mythtv-users] partition names<br>
Message-ID: <<a href="mailto:1686206041.20151030230205@gmail.com" target="_blank">1686206041.20151030230205@gmail.com</a>><br>
Content-Type: text/plain; charset=us-ascii<span class=""><br>
<br>
Hoi Daryl,<br>
<br>
Friday, October 30, 2015, 10:24:06 PM, you wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Greetings Mythizens, In the same way that I have my storage drives named<br>
/media/storage and /media/storage2, is it OK to name my OS partitions<br>
/dev/sda1 and /dev/sda6, and my swap /sda5?<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I've set up a second OS partition and copied my original "fstab to the<br>
second partition's /etc and now realize that the UUID is incorrect. So when<br>
I correct that can I safely give names to other UUID's?<br>
</blockquote>
<br>
Oh and in fstab you can use the literal name or LABEL=<the disklabel> or<br>
UUID=<the UUID> you can find the actual names with the blkid command<br>
see: man fstab<br>
<br>
Tot mails,<br>
  Hika                            mailto:<a href="mailto:hikavdh@gmail.com" target="_blank">hikavdh@gmail.com</a><br>
</span></blockquote>
My advise for labels is to use a short abbreviation that describes a) the drive and b) the purpose of this partition.<br>
<br>
E. g. my 1 TB HGST drive has partitions with labels: h1t_root, h1t_home, h1t_var, h1t_usr, h1t_data, h1t_swap<br>
Applying this consequently to all partitions on all drives helps a lot when doing manual maintenance. Of course, there is an additional index needed, to distinguish multiple drives of same type.<br>
<br>
I would not recommend to label partitions after a volatile name. This may lead to confusion when adding a new drive that gets the device name sda, pushing the old drive to sdb, having the old partition labels sda1, sda2, ... etc.<br>
<br>
Regards, Nicolas<br>
<br>
<br>
---<br>
Bleibend ist immer das Sinnbild - nie das Abbild. (Hermann Hesse)<div class=""><div class="h5"><br>
<br>
_______________________________________________<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/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/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 class="gmail_extra"><div class="gmail_extra">trieli@mythtv:~$ df -h</div><div class="gmail_extra">Filesystem      Size  Used Avail Use% Mounted on</div><div class="gmail_extra">/dev/sda1        74G   15G   56G  21% /</div><div class="gmail_extra">none            4.0K     0  4.0K   0% /sys/fs/cgroup</div><div class="gmail_extra">udev            3.9G  4.0K  3.9G   1% /dev</div><div class="gmail_extra">tmpfs           799M  1.3M  798M   1% /run</div><div class="gmail_extra">none            5.0M     0  5.0M   0% /run/lock</div><div class="gmail_extra">none            3.9G   33M  3.9G   1% /run/shm</div><div class="gmail_extra">none            100M   52K  100M   1% /run/user</div><div class="gmail_extra">/dev/sdc3       917G  635G  236G  73% /media/storage</div><div class="gmail_extra">/dev/sdb1       917G  474G  397G  55% /media/storage2</div><div class="gmail_extra">trieli@mythtv:~$ </div><div class="gmail_extra"><br></div><div class="gmail_extra">I ended up not putting names/labels on them, including the other boot partition in the /etc/fstab made it so I couldn't access it through the GUI (file system launcher) so I #'d them out so they look like this:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra"># <file system> <mount point>   <type>  <options>       <dump>  <pass></div><div class="gmail_extra"># / was on /dev/sda1 during installation</div><div class="gmail_extra">UUID=f2746f47-5e69-4b03-a5c1-c6c89e6ccdb4 /               ext4    errors=remount-ro 0       1</div><div class="gmail_extra"># swap was on /dev/sda5 during installation</div><div class="gmail_extra">UUID=e527fee4-9467-430a-8050-bb3f570d8109 none            swap    sw              0       0</div><div class="gmail_extra"># UUID=5677efe7-4044-45b7-b8b9-9e79b51cb659 /               ext4    defaults        0       1</div><div class="gmail_extra">UUID=3769e2e8-adde-456c-86e4-0402be737ef6 /media/storage  ext4    defaults        0       1 </div><div class="gmail_extra">UUID=ec787761-11d5-4127-b198-e159bfcd2a6a /media/storage2 ext4    defaults        0       1</div><div class="gmail_extra">trieli@mythtv:~$ </div><div class="gmail_extra"><br></div><div class="gmail_extra">line 3 and 6 are reversed respectively per boot drive.</div><div class="gmail_extra"><br></div><div class="gmail_extra">thanks for all the advice</div></div></div></div>