Safely unmount/eject usb drive?

How do we unmount/eject a USB drive/storage before safely physically removing it?

If we just yank it whenever there’s a risk for data corruption.

Alternatively, is there a way to ensure a USB drive is mounted read only?

It’s probably possible to do through ssh but when you’re on the go you don’t always have access to ssh in to the router…

edit: GL-AR300M16 with fw. 3.212

1 Like

In firmware 4.x we have this in the UI.

But in firmware 3.x you have to kill the processes manually then unmount it in ssh.

If you have LuCI installed, you should be able to unmount he USB drive safely via LuCI → System → Mount Points. You can try setting the mount point to Read-Only on the same screen.

I do not work for and I do not have formal association with GL.iNet

Pls check