Hi,
Fourdee wrote:Bizarre.
Yes, because this had work:
https://github.com/Fourdee/DietPi/issue ... -246388592
do same testing on DietPi v140 with a external usb-drives with two different ex4 partitions on it:
Code: Select all
root@Odroid-C1:~# blkid
/dev/mmcblk0p1: SEC_TYPE="msdos" LABEL="BOOT" UUID="6E35-5356" TYPE="vfat" PARTUUID="000cde21-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="e139ce78-9841-40fe-8823-96a304a09859" TYPE="ext4" PARTUUID="000cde21-02"
/dev/sda1: LABEL="EX4-USB_P1" UUID="dba0bbc0-3fee-5373-3d39-d44d9c6257f0" TYPE="ext4"
/dev/sda2: LABEL="EX4-USB_P2" UUID="f70a70fc-f230-248d-fe34-c4c2db902295" TYPE="ext4"
/dev/mmcblk0: PTUUID="000cde21" PTTYPE="dos"
Code: Select all
root@Odroid-C1:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 3,7G 0 disk
├─sda1 8:1 1 1,9G 0 part /mnt/usb_1
└─sda2 8:2 1 1,9G 0 part
mmcblk0 179:0 0 29,1G 0 disk
├─mmcblk0p1 179:1 0 128,5M 0 part /boot
└─mmcblk0p2 179:2 0 29G 0 part /
Code: Select all
root@Odroid-C1:~# cat /etc/fstab
#Internal Drives---------------------------------------------------
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot auto defaults,noatime,discard 0 2
/dev/mmcblk0p2 / auto defaults,noatime,discard 0 1
tmpfs /tmp tmpfs defaults,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /var/log tmpfs defaults,size=20m,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /DietPi tmpfs defaults,size=10m,noatime,nodev,nosuid,mode=1777 0 0
#External Drives---------------------------------------------------
#NB: Please use dietpi-drive_manager to setup and control your external drives.
/dev/sda1 /mnt/usb_1 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdb1 /mnt/usb_2 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdc1 /mnt/usb_3 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdd1 /mnt/usb_4 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sde1 /mnt/usb_5 auto defaults,noatime,nofail,x-systemd.automount 0 0
#Samba Client------------------------------------------------------
#/mnt/samba . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
#FTP Client Mount--------------------------------------------------
#/mnt/ftp_client . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
#NFS Client Mount--------------------------------------------------
#/mnt/nfs_client . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
Code: Select all
root@Odroid-C1:~# dietpi-drive_manager

- dietpi-drive_manager

- /dev/sda1

- change to UUID

- Refresh
Code: Select all
root@Odroid-C1:~# cat /etc/fstab
#Internal Drives---------------------------------------------------
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot auto defaults,noatime,discard 0 2
/dev/mmcblk0p2 / auto defaults,noatime,discard 0 1
tmpfs /tmp tmpfs defaults,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /var/log tmpfs defaults,size=20m,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /DietPi tmpfs defaults,size=10m,noatime,nodev,nosuid,mode=1777 0 0
#External Drives---------------------------------------------------
#NB: Please use dietpi-drive_manager to setup and control your external drives.
UUID=dba0bbc0-3fee-5373-3d39-d44d9c6257f0 /mnt/usb_1 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdb1 /mnt/usb_2 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdc1 /mnt/usb_3 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdd1 /mnt/usb_4 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sde1 /mnt/usb_5 auto defaults,noatime,nofail,x-systemd.automount 0 0
#Samba Client------------------------------------------------------
#/mnt/samba . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
#FTP Client Mount--------------------------------------------------
#/mnt/ftp_client . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
#NFS Client Mount--------------------------------------------------
#/mnt/nfs_client . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
Code: Select all
root@Odroid-C1:~# mount /dev/sda2 /mnt/usb_2
Code: Select all
root@Odroid-C1:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 3,7G 0 disk
├─sda1 8:1 1 1,9G 0 part /mnt/usb_1
└─sda2 8:2 1 1,9G 0 part /mnt/usb_2
mmcblk0 179:0 0 29,1G 0 disk
├─mmcblk0p1 179:1 0 128,5M 0 part /boot
└─mmcblk0p2 179:2 0 29G 0 part /

- Result after manually mount
Code: Select all
root@Odroid-C1:~# cat /etc/fstab
#Internal Drives---------------------------------------------------
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot auto defaults,noatime,discard 0 2
/dev/mmcblk0p2 / auto defaults,noatime,discard 0 1
tmpfs /tmp tmpfs defaults,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /var/log tmpfs defaults,size=20m,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /DietPi tmpfs defaults,size=10m,noatime,nodev,nosuid,mode=1777 0 0
#External Drives---------------------------------------------------
#NB: Please use dietpi-drive_manager to setup and control your external drives.
UUID=dba0bbc0-3fee-5373-3d39-d44d9c6257f0 /mnt/usb_1 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdb1 /mnt/usb_2 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdc1 /mnt/usb_3 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdd1 /mnt/usb_4 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sde1 /mnt/usb_5 auto defaults,noatime,nofail,x-systemd.automount 0 0
#Samba Client------------------------------------------------------
#/mnt/samba . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
#FTP Client Mount--------------------------------------------------
#/mnt/ftp_client . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
#NFS Client Mount--------------------------------------------------
#/mnt/nfs_client . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
Code: Select all
root@Odroid-C1:~# lsblk -i -f
NAME FSTYPE LABEL UUID MOUNTPOINT
sda
|-sda1 ext4 EX4-USB_P1 dba0bbc0-3fee-5373-3d39-d44d9c6257f0 /mnt/usb_1
`-sda2 ext4 EX4-USB_P2 f70a70fc-f230-248d-fe34-c4c2db902295 /mnt/usb_2
mmcblk0
|-mmcblk0p1 vfat BOOT 6E35-5356 /boot
`-mmcblk0p2 ext4 rootfs e139ce78-9841-40fe-8823-96a304a09859 /
As well tested with different partition combinations "ex2/ex4", "FAT32/ex4", "exFAT/ex4" ==>> same result.
BTW: notice, that at the moment where is no exFat support in DietPi.