Hi, I have a problem with my USB disk. After some uptime of Mikrotik, all directories from the USB disk disappear.
I have connected two USB devices:
- Huawei E3276s-150
- Samsung T7
They are connected via Unitek Y-3089 USB 3.0 hub powered by an additional power supply (5V, 2.5A):
Below are some details:
/system/routerboard print
routerboard: yes
model: RB5009UPr+S+
serial-number: **ELIDED**
firmware-type: 70x0
factory-firmware: 7.5
current-firmware: 7.5
upgrade-firmware: 7.10.2
Disks when the files directory is empty (usb1 is a Huawei LTE stick, usb3 Samsung T7 disk):
/disk print detail
Flags: X - disabled, E - empty, B - block-device; M - mounted, F - formatting; f - raid-member-failed; r - raid-member, c - encrypted; g - guid-partition-table, p - partition; t - nvme-tcp-export, i - iscsi-export, s - smb-export; n - nfs-export; O - tcg-opal-self-encryption-enabled, o - tcg-opal-self-encryption-supported
0 E type=hardware slot="usb1" slot-default="usb1" parent=none interface="USB 2.00 480Mbps" raid-master=none nvme-tcp-export=no iscsi-export=no nfs-export=no smb-export=no
1 BM type=hardware slot="usb3" slot-default="usb3" parent=none device="sdc" uuid="bf26cbf8-bea7-4ac3-aa53-41b7d182449d" fs=ext4 model="Samsung PSSD T7" serial="S6XCNS0W510519N" size=1 000 204 886 016 free=991 542 566 912 interface="USB 3.20 5000Mbps" interface-speed=5.0Gbps raid-master=none nvme-tcp-export=no iscsi-export=no nfs-export=no smb-export=no
Empty file directory:
/file print
Columns: NAME, TYPE, SIZE, CREATION-TIME
# NAME TYPE SIZE CREATION-TIME
0 usb3 disk 2023-08-02 18:30:12
1 pub
After reboot everything comes back to normal for a while:
/disk/print detail
Flags: X - disabled, E - empty, B - block-device; M - mounted, F - formatting; f - raid-member-failed; r - raid-member, c - encrypted; g - guid-partition-table, p - partition; t - nvme-tcp-export, i - iscsi-export, s - smb-export; n - nfs-export; O - tcg-opal-self-encryption-enabled, o - tcg-opal-self-encryption-supported
0 E type=hardware slot="usb1" slot-default="usb1" parent=none interface="USB 2.00 480Mbps" raid-master=none nvme-tcp-export=no iscsi-export=no nfs-export=no smb-export=no
1 BM type=hardware slot="usb3" slot-default="usb3" parent=none device="sda" uuid="bf26cbf8-bea7-4ac3-aa53-41b7d182449d" fs=ext4 model="Samsung PSSD T7" serial="S6XCNS0W510519N" size=1 000 204 886 016 free=991 542 566 912 interface="USB 3.20 5000Mbps" interface-speed=5.0Gbps raid-master=none nvme-tcp-export=no iscsi-export=no nfs-export=no smb-export=no
and file directory:
/file/print
Columns: NAME, TYPE, SIZE, CREATION-TIME
# NAME TYPE SIZE CREATION-TIME
0 usb3 disk 2023-08-02 18:30:12
1 usb3/lost+found directory 2023-07-26 21:19:47
2 usb3/test_file.txt .txt file 0 2023-08-02 18:30:07
3 usb3/docker directory 2023-08-01 20:56:59
4 usb3/docker/pull directory 2023-08-01 20:55:22
5 usb3/docker/cloudflared container store 1970-01-01 02:00:00
6 usb3/docker/adguard container store 2023-07-27 13:57:45
7 usb3/docker/kuma container store 2023-08-01 20:54:59
8 usb3/docker/etc directory 2023-07-26 21:31:26
9 usb3/docker/etc/dnsmasq.d container store 2023-07-26 21:31:26
10 usb3/docker/etc/pihole container store 2023-07-26 21:43:00
11 usb3/docker/mounts directory 2023-08-01 20:56:59
12 usb3/docker/mounts/kuma container store 2023-08-01 20:57:04
13 pub directory 2023-07-02 10:36:06
As you may have noticed, I have several containers that like to explode when they lose access to usb3.
I will be grateful for any help.