We can configure the USB drive so that it can be auto-mounted when plugged in.
-
Insert the external USB drive to the linux server
-
UUID (universal unique identifier) is used in Linux for the detection of the USB which is plugged in or for the identification of the partition used by the USB drive. Because of this we have to be a root user. We can be a root user by the sudo command, it will ask for a password.
-
Use this command to list the disk or dirves connected
pi@raspberrypi:~ $ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT