Try formatting it using the tools in AMTM, under the main options list. Go into AMTM and run fd.Some older Kingston DT 100 G2 USB 2.0 stick formatted to EXT2. I formatted it on computer with EaseUS Partition Manager.
Try formatting it using the tools in AMTM, under the main options list. Go into AMTM and run fd.Some older Kingston DT 100 G2 USB 2.0 stick formatted to EXT2. I formatted it on computer with EaseUS Partition Manager.
Some older Kingston DT 100 G2 USB 2.0 stick formatted to EXT2. I formatted it on computer with EaseUS Partition Manager.
If Entware is installed, you will have the option to see what process or file is in use when formatting and the device cannot be unmounted.And this post,
https://www.snbforums.com/threads/a...erlin-terminal-menu.42415/page-26#post-464463
and one’s associated with it may well be worth a careful read. Please report back on how it goes. The AMTM format disk tool is new and we’d all like to know how it’s performing, especially the developers.
Your suggestion:Proposal for default USB disk layout for those who do not know better
- EXT4 (EXT3 if not supported)
- Journaling on
- Entware partition /dev/sda1 and filesystem /tmp/mnt/ent is three times router RAM
- Samba partition /dev/sda2 and filesystem /tmp/mnt/smb is rest of USB drive
- Change defaults for filesystem check thresholds from 20 mounts and six months to 1 mount and 1 day (tune2fs -c 1 -i 1d /dev/sda1)
- Swap file 1:1 with router RAM
I speculate that this layout would substantially reduce problems that users are having with USB drives. Typical thumb drives are too large for a graceful reboot with file system check of a full drive Entware filesystem. I get the impression that a method to control the boot to accomodate the long check is not available to developers. And even if it was, the delay would not be acceptable to users. The first file system check does not happen until the twentieth mount. When it does, it is a bewildering mess that can be deferred for another twenty mounts but not permanently fixed. Changing the file system check to happen almost every time will alert you to the problem right away. But with the Entware file system sized so small, it will not be a problem.
The disk formatter fd in amtm only creates one partition on the device. I recommend keeping Samba shares and Entware/Scripts on separate devices.Would it not be a good idea to more or less automate that kind of proposal into a script run from AMTM?
None of these change the label of a device unless you use the formad disk option in amtm where you can set a device label.Edit: Just saw that the name of the USB drive changed from "USB-Drive" to "sda1".
Bit confused now....does any of the scripts (amtm, Diversion, Skynet or Stubby) change the name of the USB drive?
cat /jffs/scripts/post-mount
Exact Name?I had to format a drive today, so I used amtm. Everything worked as planned except the name I inputted to it, didn't get changed. So I renamed with tune2fs command. Other than that if you start with fat 32 the scripts works like a charm.
EXT2Exact Name?
That should work without a hitch.EXT2
I'm curious as to the rationale for separating them.The disk formatter fd in amtm only creates one partition on the device. I recommend keeping Samba shares and Entware/Scripts on separate devices.
Just my 2¢.
I know right? I tried it twice and I got the same result, after the router reboots, the disk mounts as /dev/sda1That should work without a hitch.
I would imagine that when using a Samba share you will have movies, music, what not on that device to share with other devices.I'm curious as to the rationale for separating them.
Plus it's sort of like sharing a system disk.I would imagine that when using a Samba share you will have movies, music, what not on that device to share with other devices.
You don't want them corrupted or affected when the Entware device goes bad.
Worked as expected here with the label "EXT2".I know right? I tried it twice and I got the same result, after the router reboots, the disk mounts as /dev/sda1
It must be what me and the OP did, I followed along, it's so easy. HmmmWorked as expected here with the label "EXT2".
Does the fdl say anything to that effect? The format disk log is rewritten new every time you run it.I know right? I tried it twice and I got the same result, after the router reboots, the disk mounts as /dev/sda1
I cannot find that file, Where is it supposed to be?Does the fdl say anything to that effect? The format disk log is rewritten new every time you run it.
My luck....file not found. I'm going to refresh amtm and setup another format, I'll get back to you with how it goes.In amtm, if the file is found the fdl menu entry is shown.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!