Using ROS 7.20.6 on a HAP AX3. Formating an external USB disk as ext4 gives the "mount failed: Invalid argument" message just above the disk or partitions when /disk/print is ran. Creating a directory gives the "not enough permissions (9)" error.
This console ouput may help communicate what I did to get this problem:
[admin@NGFW] > /disk/format usb1 file-system=ext4 mbr-partition-table=no label=disk1
All data will be lost, are you sure? [y/N]: y
Columns: OUTPUT
OUTPUT
usb1: file-system: ext4
usb1: mke2fs -t ext4 -L disk1 /dev/sda
usb1: mke2fs 1.46.5 (30-Dec-2021)
usb1: Creating filesystem with 30720000 4k blocks and 7684096 inodes
usb1: Filesystem UUID: 9eb487d2-8206-4a98-8327-576789fbde5c
usb1: Superblock backups stored on blocks:usb1: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,usb1: 4096000, 7962624, 11239424, 20480000, 23887872
usb1:
usb1: Allocating group tables: done
usb1: Writing inode tables: done
usb1: Creating journal (131072 blocks): done
usb1: Writing superblocks and filesystem accounting information: done
usb1: format done
[admin@NGFW] > /disk/print
Flags: E - EMPTY, B - BLOCK-DEVICE
Columns: SLOT, MODEL, SERIAL, INTERFACE, SIZE, FS, FS-LABEL
# SLOT MODEL SERIAL INTERFACE SIZE FS FS-LABEL
-0 E pcie1 -1 E slot1 -2 E slot2 -3 E slot3 -4 E slot4 -5 E slot5 -6 E slot6 -7 E slot7 -8 E slot8 -9 E slot9 -10 E slot10 -11 E slot11 -12 E slot12 -;;; mount failed: Invalid argument
-13 B usb1 USB Disk 2.0 6450000176920100001 USB 2.00 480Mbps 125 829 120 000 ext4 disk1
[admin@NGFW] > /file/add type=directory name=disk1/tmp
not enough permissions (9)