[mythtv-users] Adding second storage drive for recordings
stephen_agent at jsw.gen.nz
Sun Jul 21 16:37:24 UTC 2019
On Sun, 21 Jul 2019 09:16:36 -0700, you wrote:
>My OS is on sda1, a 120g ssd
>My working 2tb storage drive is on sdb1
>but my second 6tb drive won't automount. running mount -a mount the drive,
>but changes both labels to "nerd"
>Could somebody please help me get this working?
>nerd at Mint-19:~$ sudo blkid
>/dev/sda1: UUID="dcebd94b-170a-40bf-94e7-973961341659" TYPE="ext4"
>UUID="d711ff2d-fd27-49ca-ac0d-723ccdded792" TYPE="ext4" PARTLABEL="primary"
>nerd at Mint-19:~$
># /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=dcebd94b-170a-40bf-94e7-973961341659 / ext4 errors=remount-ro 0
> 1 /swapfile none
>UUID=de7d7d3a-97c4-d401-d07d-7c3a97c4d401 /media/nerd ext4 defaults 0 2
>#/dev/sdc1:slave recodings 2
>UUID=d711ff2d-fd27-49ca-ac0d-723ccdded792 /media/nerd ext4 defaults 0 2
You need to mount the partitions on two different mount points. At
the moment, you have them both mounting on /media/nerd.
If you want to make life easier, you can also use the partition labels
for mounting. So I would suggest doing this:
sudo mkdir /media/nerd2
and in fstab put something like this:
LABEL=MythTv-Media2 /media/nerd2 ext4 defaults 0 2
It is also possible to use labels for the /dev devices. So to fsck
fsck -C -f /dev/sdc1
could be replaced by
fsck -C -f /dev/disk/by-label/MythTv-Media2
More information about the mythtv-users