Skip to content

Elements and Seagate Management#

Seagate (SMB share)#

The Seagate is mounted in /home/pi/seagate by an edit in /etc/fstab:

1
2
3
4
# Seagate NAS samba shares:
//seagate-d4.lan/rakshasas/Media        /home/jeff/seagate/rakshasas/Media        cifs    uid=0,credentials=/home/jeff/.smb,iocharset=utf8,vers=3.0,noperm 0 0
//seagate-d4.lan/rakshasas-2/Media      /home/jeff/seagate/rakshasas-2/Media      cifs    uid=0,credentials=/home/jeff/.smb,iocharset=utf8,vers=3.0,noperm 0 0
//seagate-d4.lan/rakshasas-2/Backups    /home/jeff/seagate/rakshasas-2/Backups    cifs    uid=0,credentials=/home/jeff/.smb,iocharset=utf8,vers=3.0,noperm 0 0

Credentials exists in /home/jeff/.smb which is referenced in the /etc/fstab file

1
2
3
user=rakshasas
password=**********
domain=seagate-d4.lan
1
sudo mount -a

Automatically mount Elements drive (USB)#

Find UUID of drive

1
ls -al /dev/disk/by-uuid/

Example: 803E98D43E98C516 -> ../../sda1

Find partition type

1
df -Th

Open /etc/fstab as root and add the following using the UUID found previously instead of the example

1
UUID=803E98D43E98C516 /home/jeff/elements ext4

Test the edit (do not reboot with an error! comment out with a # first)

1
sudo findmnt --verify

Manually mount Elements drive#

1
sudo mount -t auto /dev/sdb1 /home/jeff/elements/

/etc/fstab - 20230528#

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
proc            /proc           proc    defaults          0       0
PARTUUID=5d5bf63e-01  /boot           vfat    defaults          0       2
PARTUUID=5d5bf63e-02  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

# Seagate NAS samba shares:
//seagate-d4.lan/rakshasas/Media        /home/jeff/seagate/rakshasas/Media        cifs    uid=0,credentials=/home/jeff/.smb,iocharset=utf8,vers=3.0,noperm 0 0
//seagate-d4.lan/rakshasas-2/Media      /home/jeff/seagate/rakshasas-2/Media      cifs    uid=0,credentials=/home/jeff/.smb,iocharset=utf8,vers=3.0,noperm 0 0
//seagate-d4.lan/rakshasas-2/Backups    /home/jeff/seagate/rakshasas-2/Backups    cifs    uid=0,credentials=/home/jeff/.smb,iocharset=utf8,vers=3.0,noperm 0 0

# Mount WD Elements drive
UUID=bc3c6cdb-7dd4-4d94-8d40-f9fbb0669636 /home/jeff/elements ext4

Please note that if you are deploying to a new system, the UUIDs might be different, this is for reference only


Last update: 2023-05-28 12:44:47