Versions Compared

Key

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

...

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"



Code Block
titlefdisk -l >>> find the /dev/sdd1
collapsetrue
[root@batpc1 ~]# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes, 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000d32ad

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     1026047      512000   83  Linux
/dev/sda2         1026048   156301311    77637632   8e  Linux LVM

Disk /dev/mapper/centos-root: 51.2 GB, 51208257536 bytes, 100016128 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-swap: 3221 MB, 3221225472 bytes, 6291456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/centos-home: 25.0 GB, 25002246144 bytes, 48832512 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x1702dfe0

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1              64  3907029119  1953514528    7  HPFS/NTFS/exFAT

Disk /dev/sdc: 2000.4 GB, 2000398929920 bytes, 488378645 sectors
Units = sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 268431360 bytes
Disk label type: dos
Disk identifier: 0x90bbf8a2

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *        2048   488378644  1953506388    7  HPFS/NTFS/exFAT

Disk /dev/sdd: 160.0 GB, 160041885696 bytes, 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0xcdc00e29

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1              63   312576704   156288321    b  W95 FAT32

[root@batpc1 ~]#

...

Code Block
titleudevadm info --query=all -n /dev/sdd
collapsetrue
[root@batpc1 ~]# udevadm info --query=all -n /dev/sdd
P: /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/host18/target18:0:0/18:0:0:0/block/sdd
N: sdd
S: disk/by-id/usb-TOSHIBA_MK1652GSX_58FB0FFFFFFF-0:0
S: disk/by-path/pci-0000:00:1d.1-usb-0:1:1.0-scsi-0:0:0:0
E: DEVLINKS=/dev/disk/by-id/usb-TOSHIBA_MK1652GSX_58FB0FFFFFFF-0:0 /dev/disk/by-path/pci-0000:00:1d.1-usb-0:1:1.0-scsi-0:0:0:0
E: DEVNAME=/dev/sdd
E: DEVPATH=/devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/host18/target18:0:0/18:0:0:0/block/sdd
E: DEVTYPE=disk
E: ID_BUS=usb
E: ID_INSTANCE=0:0
E: ID_MODEL=MK1652GSX
E: ID_MODEL_ENC=MK1652GSX\x20\x20\x20\x20\x20\x20\x20
E: ID_MODEL_ID=2339
E: ID_PART_TABLE_TYPE=dos
E: ID_PATH=pci-0000:00:1d.1-usb-0:1:1.0-scsi-0:0:0:0
E: ID_PATH_TAG=pci-0000_00_1d_1-usb-0_1_1_0-scsi-0_0_0_0
E: ID_REVISION=0100
E: ID_SERIAL=TOSHIBA_MK1652GSX_58FB0FFFFFFF-0:0
E: ID_SERIAL_SHORT=58FB0FFFFFFF
E: ID_TYPE=disk
E: ID_USB_DRIVER=usb-storage
E: ID_USB_INTERFACES=:080650:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=TOSHIBA
E: ID_VENDOR_ENC=TOSHIBA\x20
E: ID_VENDOR_ID=152d
E: MAJOR=8
E: MINOR=48
E: MPATH_SBIN_PATH=/sbin
E: SUBSYSTEM=block
E: TAGS=:systemd:
E: USEC_INITIALIZED=15877615456



Mount in CLI:

# mkdir /run/media/myplex1/LaCie
# chown myplex1 /run/media/myplex1/LaCie/
# chgrp myplex1 /run/media/myplex1/LaCie/ # mount /dev/sdd1 /run/media/myplex1/LaCie

Mount on GUI:

Once mounted:

...