[mythtv-users] Question about fstab - how to mount and umount by UUID?
Don Brett
dlbrett at zoominternet.net
Thu Jun 1 23:37:24 UTC 2017
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
More information about the mythtv-users
mailing list