Samba NAS - moredisk

Hi,

please can you help me?
I would like to mount external drive (formated as ext4) via USB to my Odroid device, but i dont know how can i do it. Name of disk is DATA. If i type this label in yaml config file, it’s not working.

See if you can find the correct label in Settings → System → Hardware → Three dots in upper right corner → All hardware

This second is right

Maybe, but the text you see there is “by-id” and in your logs it looks like the configuration wants “by-label”, so try to expand that second entry and see if there are more info to identify the device by.

DEVLINKS: >-
/dev/disk/by-id/usb-WD_Passport_AV_25F5_575848314532363248585657-0:0-part1
/dev/disk/by-label/DATA /dev/disk/by-partuuid/16c5bb05-01
/dev/disk/by-path/platform-xhci-hcd.1.auto-usb-0:1.4:1.0-scsi-0:0:0:0-part1
/dev/disk/by-uuid/383d8bdb-2ed4-ab43-ac39-a23c666ed74b
DEVNAME: /dev/sda1
DEVPATH: >-
/devices/platform/soc/ffe09000.usb/ff500000.usb/xhci-hcd.1.auto/usb2/2-1/2-1.4/2-1.4:1.0/host0/target0:0:0/0:0:0:0/block/sda/sda1
DEVTYPE: partition
DISKSEQ: ‘16’
ID_BUS: usb
ID_FS_LABEL: DATA
ID_FS_LABEL_ENC: DATA
ID_FS_TYPE: ext4
ID_FS_USAGE: filesystem
ID_FS_UUID: 383d8bdb-2ed4-ab43-ac39-a23c666ed74b
ID_FS_UUID_ENC: 383d8bdb-2ed4-ab43-ac39-a23c666ed74b
ID_FS_VERSION: ‘1.0’
ID_INSTANCE: ‘0:0’
ID_MODEL: Passport_AV_25F5
ID_MODEL_ENC: Passport\x20AV\x2025F5
ID_MODEL_ID: 25f5
ID_PART_ENTRY_DISK: ‘8:0’
ID_PART_ENTRY_FLAGS: ‘0x80’
ID_PART_ENTRY_NUMBER: ‘1’
ID_PART_ENTRY_OFFSET: ‘2048’
ID_PART_ENTRY_SCHEME: dos
ID_PART_ENTRY_SIZE: ‘1953521664’
ID_PART_ENTRY_TYPE: ‘0x83’
ID_PART_ENTRY_UUID: 16c5bb05-01
ID_PART_TABLE_TYPE: dos
ID_PART_TABLE_UUID: 16c5bb05
ID_PATH: platform-xhci-hcd.1.auto-usb-0:1.4:1.0-scsi-0:0:0:0
ID_PATH_TAG: platform-xhci-hcd_1_auto-usb-0_1_4_1_0-scsi-0_0_0_0
ID_REVISION: ‘3004’
ID_SERIAL: WD_Passport_AV_25F5_575848314532363248585657-0:0
ID_SERIAL_SHORT: ‘575848314532363248585657’
ID_TYPE: disk
ID_USB_DRIVER: usb-storage
ID_USB_INTERFACES: ‘:080650:’
ID_USB_INTERFACE_NUM: ‘00’
ID_VENDOR: WD
ID_VENDOR_ENC: WD\x20\x20\x20\x20\x20\x20
ID_VENDOR_ID: ‘1058’
MAJOR: ‘8’
MINOR: ‘1’
PARTN: ‘1’
SUBSYSTEM: block
TAGS: ‘:systemd:’
USEC_INITIALIZED: ‘957787008715’

The label is in capital letters.
Linux is often case sensitive, opposite Windows, so here it might matter.

If i put this /dev/sda1, its not working.

Sorry, but i’m not very good at Linux :-/

You wrote in the first attempt.

moredisks:
  - data

But Linux is case-sensitive and your disk is not named data, but instead DATA.
So try to write this inestead.

moredisks:
  - DATA

Its working. Thank you so much