[mythtv-users] Question about fstab - how to mount and umount by UUID?

Brent Bolin brent.bolin at gmail.com
Mon Jul 3 00:35:23 UTC 2017


cat /etc/fstab|grep -i uuid
# device; this may be used with UUID= as a more robust way to name devices

UUID=ada9b922-0fb9-4c5b-bc8c-19f6152855da /disk1          ext4    defaults
       0       2
UUID=61e95d69-f3f2-4c0a-a98f-aa86d2ae9674 /disk2          ext4    defaults
       0       2
UUID=0e72d48d-558a-417c-9a2e-8bbfc8cd5be6 /disk3          ext4    defaults
       0       2
UUID=476ac84d-bf32-4ed3-98a5-ae4971a56945 /disk4          ext4    defaults
       0       2
UUID=aac3861c-ec27-4987-8f43-cb6b32b2863e /disk5          ext4    defaults
       0       2


On Thu, Jun 1, 2017 at 6:37 PM, Don Brett <dlbrett at zoominternet.net> wrote:

> This may be a little off-topic; I have a strange linux problem. Working on
> a new Mythtv build, I have multiple drives installed...
>
> Using all the Sata jacks:
> Sata1: SSD for boot, 120Gig
> Sata2: WD 2.0T (terra byte)
> Sata3: Samsung 2.0T
> Sata4: WD 1.5T
> Sata5: WD 1.0T
>
> Linux sees them as this (very strange, skips d, e, f, g)
> /dev/sda
> /dev/sdb
> /dev/sdc
> /dev/sdh
> /dev/sdi
>
> I've messed around with the bios boot order and gotten some different
> results, but nothing puts them in order.  I thought it might be better to
> set up fstab with UUID's, but I don't see any way to manually mount/umount
> each drive, individually .  Google only shows "mount -a", which I assume
> mounts everything in fstab.  What do you suggest?
>
> Don
>
> Here's my fstab; the installer setup "/" and "swap"; I added the remaining
> four.
>
> # /etc/fstab: static file system information.
> #
> # Use 'blkid' to print the universally unique identifier for a
> # device; this may be used with UUID= as a more robust way to name devices
> # that works even if disks are added and removed. See fstab(5).
> #
> # <file system> <mount point>   <type> <options>       <dump>  <pass>
> # / was on /dev/sda1 during installation
> UUID=4304d002-94ab-4fa6-b4d1-ac3801f86116 /               ext4
> errors=remount-ro 0       1
> # swap was on /dev/sda5 during installation
> UUID=32f2a427-823c-485f-b88b-b38aa1842d27 none            swap sw
>       0       0
>
> # Western Digital 2.0 T-byte drive
> /dev/sdb1       /mnt/WD2.0T   ext4   defaults         0        2
> #UUID=7bbb6198-7ad6-4e2c-b167-a397672b7683    /mnt/WD2.0T   ext4
> defaults         0        2
>
> # Samsung 2.0 T-byte drive
> /dev/sdc1       /mnt/SS2.0T   ext4   defaults         0        2
> #UUID=b6177864-8e26-42b1-ad03-e8d742a05184    /mnt/SS2.0T   ext4
> defaults         0        2
>
> # Western Digital 1.5 T-byte drive
> /dev/sdh1       /mnt/WD1.5T   ext4   defaults         0        2
> #UUID=3fcecf66-e5c8-4525-aae1-430c72ad60cc    /mnt/WD1.5T   ext4
> defaults         0        2
>
> # Western Digital 1.0 T-byte drive
> /dev/sdi1       /mnt/WD1.0T   ext4   defaults         0        2
> #UUID=15269600-3b39-43de-a846-f8c075481b12    /mnt/WD1.0T   ext4
> defaults         0        2
>
>
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> https://www.avast.com/antivirus
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170702/d1a005d7/attachment.html>


More information about the mythtv-users mailing list