Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlemount
myplex@batpc1:~$ sudo blkid -c /dev/null | grep Elements
[sudo] password for myplex:
/dev/sdb1: LABEL="Elements" UUID="2CB6094CB609184A" TYPE="ntfs" PARTLABEL="Elements" PARTUUID="66c5b41f-4099-4828-8584-9635a85b3e3a"

myplex@batpc1:~$ sudo mount /dev/sdb1 /media/myplex/Elements


When plugged in:

Code Block
titleblkid -c /dev/null >>> to get the name of the ext HDD
collapsetrue
[root@batpc1 ~]# blkid -c /dev/null
/dev/sda1: UUID="ead7f205-2bb9-47d0-b6ed-d9d13d411b4c" TYPE="xfs"
/dev/sda2: UUID="P3j7kk-CLGv-qmyl-8P1y-jsCY-My5S-fJJsUK" TYPE="LVM2_member"
/dev/mapper/centos-root: UUID="85ab5dec-40af-4aee-b75c-5b30d05a3972" TYPE="xfs"
/dev/mapper/centos-swap: UUID="28599d10-9f82-433d-acd6-64c40ba4a65d" TYPE="swap"
/dev/mapper/centos-home: UUID="155ccda9-9016-4140-8a2a-3a78a137b1a2" TYPE="xfs"
/dev/sdb1: LABEL="HD-LBU2" UUID="5ACC0E00CC0DD6E3" TYPE="ntfs"
/dev/sdc1: LABEL="Seagate Expansion Drive" UUID="DE222FBD222F9A13" TYPE="ntfs"
/dev/sdd1: LABEL="LaCie" UUID="6853-5BA9" TYPE="vfat"

...



Mount on Ubuntu:   

Just need to know if it is using "sdb1"

sudo blkid -c /dev/null | grep Elements

#  only one time , so optional :  sudo  mkdir /media/myplex/Elements

sudo mount /dev/sdb1 /media/myplex/Elements


Code Block
titlemount HDD on Ubuntu
collapsetrue
sudo blkid -c /dev/null | grep Elements
/dev/sdb1: LABEL="Elements" UUID="2CB6094CB609184A" TYPE="ntfs" PARTLABEL="Elements" PARTUUID="66c5b41f-4099-4828-8584-9635a85b3e3a"


mkdir /media/myplex/Elements
chown myplex /media/myplex/Elements
chgrp myplex /media/myplex/Elements 
sudo mount /dev/sdb1 /media/myplex/Elements


Mount on Centos:


Code Block
titleon centos
collapsetrue
# mkdir /run/media/myplex1/LaCie
# chown myplex1 /run/media/myplex1/LaCie/
# chgrp myplex1 /run/media/myplex1/LaCie/     
# mount /dev/sdd1 /run/media/myplex1/LaCie


unmountsudo umount /media/myplex/scandisk


CDROM
checkmyplex@batpc1:~$ sudo blkid -c /dev/null | grep sr
/dev/sr0: UUID="2014-01-22-09-31-00-00" LABEL="BLCUP" TYPE="iso9660"
mount cdmyplex@batpc1:~$ sudo mkdir /media/myplex/CDROM
myplex@batpc1:~$ sudo mount /dev/sr0 /media/myplex/CDROM
mount: /media/myplex/CDROM: WARNING: device write-protected, mounted read-only.
















Mount on GUI:

Once mounted:

Code Block
titlelsblk
collapsetrue
[root@batpc1 ~]# lsblk
NAME            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda               8:0    0  74.5G  0 disk
├─sda1            8:1    0   500M  0 part /boot
└─sda2            8:2    0    74G  0 part
  ├─centos-root 253:0    0  47.7G  0 lvm  /
  ├─centos-swap 253:1    0     3G  0 lvm  [SWAP]
  └─centos-home 253:2    0  23.3G  0 lvm  /home
sdb               8:16   0   1.8T  0 disk
└─sdb1            8:17   0   1.8T  0 part /run/media/myplex1/HD-LBU2
sdc               8:32   0   1.8T  0 disk
└─sdc1            8:33   0   1.8T  0 part /run/media/myplex1/Seagate Expansion Drive
sdd               8:64   0 149.1G  0 disk
└─sdd1            8:65   0   149G  0 part /run/media/myplex1/LaCie
sr0              11:0    1  1024M  0 rom

...

Code Block
titledf -h
collapsetrue
[root@batpc1 ~]# df -h
Filesystem               Size  Used Avail Use% Mounted on
/dev/mapper/centos-root   48G  6.6G   42G  14% /
devtmpfs                 1.4G     0  1.4G   0% /dev
tmpfs                    1.4G  9.7M  1.4G   1% /dev/shm
tmpfs                    1.4G   60M  1.4G   5% /run
tmpfs                    1.4G     0  1.4G   0% /sys/fs/cgroup
/dev/sda1                497M  333M  165M  67% /boot
/dev/mapper/centos-home   24G   20G  3.8G  84% /home
tmpfs                    284M   40K  284M   1% /run/user/1001
/dev/sdb1                1.9T 1001G  863G  54% /run/media/myplex1/HD-LBU2
/dev/sdc1                1.9T  867G  997G  47% /run/media/myplex1/Seagate Expansion Drive
tmpfs                    284M     0  284M   0% /run/user/0
/dev/sdd1                150G   65G   85G  44% /run/media/myplex1/LaCie


Issue:  write permission + grp/owner