[mythtv-users] Adding second storage drive for recordings

Hika van den Hoven hikavdh at gmail.com
Sun Jul 21 16:38:53 UTC 2019


Hoi Bruce,

Sunday, July 21, 2019, 6:16:36 PM, 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" PARTUUID="10757682-01"
> /dev/sdb1: LABEL="Myth-TV-Media"
> UUID="de7d7d3a-97c4-d401-d07d-7c3a97c4d401" TYPE="ext4" PARTUUID="d8e3d8e3-01"
> /dev/sdc1: LABEL="MythTv-Media2"
> UUID="d711ff2d-fd27-49ca-ac0d-723ccdded792" TYPE="ext4"
> PARTLABEL="primary" PARTUUID="100c638e-aaf7-4a01-afad-791261719a88"
> 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
> #
> #/dev/sdb1:slave recodings
> 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 try to mount both drives in the same directory /media/nerd,
which is possible, but only the one mounted as the last one will be
accessible.
Add a directory (for instance /media/nerd2) and mount your second
volume there. Then add the second location to your storage group.

One word of advise, do not store in the root of your volume, but
create a directory (for instance data) on both volumes. This way if
for whatever reason the data volume is not mounted, your system volume
can not fill up with data intended for the data volume.

So then your storage group will contain:
/media/nerd/data
/media/nerd2/data.


Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list