Tuesday, July 9, 2019

Asuswrt-merlin mounting a USB device

So you've formatted your USB drive to ext4, stuck it into your router and your router recognises the plugged in USB device but it sez that it is unmounted. What gives ?


Well, first step is to check the system logs (see the left hand side menu options).

If the logs states something like "couldn't mount RDWR because of unsupported optional features" then most likely what's happened is that you've formatted your USB drive on your computer which is supporting features than what can be recognised by your router.

A simple way to fix this is to format it on the router - follow these steps:

1. Enable SSH on the router (Administration > System > Enable SSH - enable Lan only).
2. Open up terminal or an SSH client and fire the following command "ssh admin@yourrouterip", and enter your password. If it is your first time then it may ask you a couple of questions.
3. Run the command "mke2fs -t ext4 /dev/sda1"  asssuming that /dev/sda1 is where your drive is mounted. It will ask you whether you are sure, if you are then type "y" and it will proceed to format the drive to ext4.


At this point you can manually mount the usbdrive using mount .


0 comments:

Post a Comment