I am using a 4GB Sandisk Ultra Mobile micro SD card and have my user manager store for the hotspot setup on it. Read below. See a few bugs? Looks like your disk drivers need a serious overhaul. With the details below, I am sure you can reproduce the problem. The supposedly automatic failover to backup store did not work. A reboot did not fix the problem. Had to shutdown and physically cycle the power to fix it. Also at some point, the router apparently shutdown instead of rebooting! You can't be asking your clients to have physical access to their routers every time there is a power shut down! The routers must be able to recover on their own (just like my old dd-wrt linksys faithfully does)! In the meantime, is there any workaround or script I can run at reboot against this kind of failure??
Please, prompt action is required. Any cheap home router from the department store recovers perfectly well from a power shutdown all by itself... would expect at least as much from your products... this is the kind of show stopper that is killing an otherwise good device...
1) supout1
System running normally except for wrongly reported system disk free space. This issue appeared after a proper shutdown + boot several hours later. Doing soft reboot did not fix this issue:
Code: Select all
[admin@MikroTik] > /store disk print
Flags: S - system
# NAME TOTAL-SPACE FREE-SPACE STATUS
0 S system 520192KiB 898088KiB ready
1 micro-sd 3811352KiB 3735540KiB ready
If you have any idea how to fix this, please let me know before it causes more problems.
2) supout2. I simulated a power shutdown by pulling the plug. Rebooted after 1min by plugging power back. As you can see, the SD disk is not present, the stores setup on the SD are invalid, and there was no automatic failover to the backup stores on the system disk. The hotspot system is unusable, users can't log in (they get a "radius server not responding" message). There are a bunch of error messages in the log, including errors about the journal of the SD disk. For some reason, the system disk also does not report its size and free space in the terminal, but it does in Winbox and the free space is correct again! (see Winbox "disk" screenshot).
Code: Select all
[admin@MikroTik] > /store print
Flags: X - disabled, A - active
# NAME TYPE DISK STATUS
0 user-manager1 user-manager system backup
1 web-proxy1 web-proxy system backup
2 user-managerSD user-manager (unknown) invalid
3 web-proxySD web-proxy (unknown) invalid
[admin@MikroTik] > /store disk print
Flags: S - system
# NAME TOTAL-SPACE FREE-SPACE STATUS
0 S system
Code: Select all
jan/01/2002 04:00:01 system,error,critical router was rebooted without proper shutdown (cause 1)
jan/01/2002 04:00:02 store,debug user-manager1: disk setup finished successfully
jan/01/2002 04:00:02 store,debug web-proxy1: disk setup finished successfully
jan/01/2002 04:00:02 store,debug user-managerSD: disk setup finished with failure: disk not found
jan/01/2002 04:00:02 store,debug web-proxySD: disk setup finished with failure: disk not found
jan/01/2002 04:00:02 store,debug activating store for user-managerSD
jan/01/2002 04:00:02 store,debug user-managerSD: activation finished with failure: disk not found or not mounted
jan/01/2002 04:00:02 store,debug adding new drive: micro-sd (/dev/mmcblk0)
jan/01/2002 04:00:03 store,error create journal failed: -1
jan/01/2002 04:00:03 store,error create journal failed: -1
jan/01/2002 04:00:03 store,debug create journal finished with failure
jan/01/2002 04:00:04 store,debug activating store for web-proxySD
jan/01/2002 04:00:04 store,debug web-proxySD: activation finished with failure: disk not found or not mounted
08:10:34 store,debug user-manager1: disk setup finished successfully
08:10:34 store,debug web-proxy1: disk setup finished successfully
08:10:34 store,debug user-managerSD: disk setup finished with failure: disk not found
08:10:34 store,debug web-proxySD: disk setup finished with failure: disk not found
08:11:11 store,debug user-manager1: disk setup finished successfully
08:11:11 store,debug web-proxy1: disk setup finished successfully
08:11:11 store,debug user-managerSD: disk setup finished with failure: disk not found
08:11:11 store,debug web-proxySD: disk setup finished with failure: disk not found
3) supout3. Did a soft reboot. Same problem, no SD disk or stores. After downloading the supout files to my laptop I got disconnected from Winbox and when I got back in the system disk was showing the wrong free space again in the terminal. No trace of the SD card though.
Code: Select all
/store disk print
Flags: S - system
# NAME TOTAL-SPACE FREE-SPACE STATUS
0 S system 520192KiB 896676KiB ready
Code: Select all
jan/01/2002 04:00:01 store,debug user-manager1: disk setup finished successfully
jan/01/2002 04:00:01 store,debug web-proxy1: disk setup finished successfully
jan/01/2002 04:00:01 store,debug user-managerSD: disk setup finished with failure: disk not found
jan/01/2002 04:00:01 store,debug web-proxySD: disk setup finished with failure: disk not found
jan/01/2002 04:00:01 store,debug activating store for user-managerSD
jan/01/2002 04:00:01 store,debug user-managerSD: activation finished with failure: disk not found or not mounted
jan/01/2002 04:00:04 store,debug activating store for web-proxySD
jan/01/2002 04:00:04 store,debug web-proxySD: activation finished with failure: disk not found or not mounted
08:26:33 store,debug user-manager1: disk setup finished successfully
08:26:33 store,debug web-proxy1: disk setup finished successfully
08:26:33 store,debug user-managerSD: disk setup finished with failure: disk not found
08:26:33 store,debug web-proxySD: disk setup finished with failure: disk not found
4) supout4. Did a soft shutdown, then rebooted by cycling the power. Log shows successful SD card mounting and SD stores activation. The hotspot system is functional again. However, disks and stores are blank in Winbox. In the terminal, the /store print and /store disk print commands hang, and when recovering with ctrl^C they are blank:
Code: Select all
[admin@MikroTik] > /log print
jan/01/2002 04:00:02 store,debug user-manager1: disk setup finished successfully
jan/01/2002 04:00:02 store,debug web-proxy1: disk setup finished successfully
jan/01/2002 04:00:02 store,debug user-managerSD: disk setup finished with failure: disk not found
jan/01/2002 04:00:02 store,debug web-proxySD: disk setup finished with failure: disk not found
jan/01/2002 04:00:02 store,debug activating store for user-managerSD
jan/01/2002 04:00:02 store,debug user-managerSD: activation finished with failure: disk not found or not mounted
jan/01/2002 04:00:02 store,debug adding new drive: micro-sd (/dev/mmcblk0)
08:35:19 store,debug user-managerSD: disk setup finished successfully
08:35:19 store,debug activating store for user-managerSD
08:35:19 store,debug user-managerSD: activation finished successfully
08:35:19 store,debug web-proxySD: disk setup finished successfully
08:35:19 store,debug activating store for web-proxySD
08:35:19 store,debug web-proxySD: activation finished successfully
Code: Select all
[admin@MikroTik] > /store disk print
Flags: S - system
# NAME TOTAL-SPACE FREE-SPACE STATUS
6) supout6. Rebooted by cycling the power. All systems up again, and also can see disks and stores in Winbox and command line. But system disk still reporting wrong free space.
Code: Select all
[admin@MikroTik] > /store disk print
Flags: S - system
# NAME TOTAL-SPACE FREE-SPACE STATUS
0 S system 520192KiB 896672KiB ready
1 micro-sd 3811352KiB 3734808KiB ready