USB thumbdrive - not sure about the automount

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
NinthWave
DD-WRT User


Joined: 12 Mar 2018
Posts: 57
Location: Mont-St-Hilaire, Qc, Canada

PostPosted: Tue Jan 07, 2020 1:59    Post subject: USB thumbdrive - not sure about the automount Reply with quote
IIRC, there was a time where the partitons where all at 100% The JFFS is above 2321 %

I reformatted all partitions on the thumbdrive (on my PC, using Mini Partion Tool, EXT4), rebooted the router and then reinstalled the thumbdrive.

Is this normal ? What should I do ?

_________________
[Supermicro X10SBA] pfSense as of 20/12/20 | firewall, gateway, routing, QoS, adblocking
[Archer C7(CA)v2] running r47510 as of 21/10/06 | WAP
[Archer C7(US)v2] running r47510 as of 21/10/04 | napping backup for Gateway, routing, QoS
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 6436
Location: UK, London, just across the river..

PostPosted: Tue Jan 07, 2020 5:01    Post subject: Reply with quote
thumb drives (usb) usually use ext2
for sata hdd/ssd ext3 or ext4...

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55819 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12881
Location: Netherlands

PostPosted: Tue Jan 07, 2020 6:54    Post subject: Reply with quote
It is normal, and as @Alozoros mentioned it is better to use ext2 for USB flash drives, ext4 is a journaling file systems with a lot of read /writes and that wears out the flash ram
_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
wenzhuo
DD-WRT User


Joined: 22 Apr 2011
Posts: 191

PostPosted: Tue Jan 07, 2020 9:12    Post subject: Reply with quote
Since the block size is 1K as shown in the screenshot, the partitions are already formated as ext2/ext3. I'd recommend ext4 without jounaling for usb thumb drives as dd-wrt storage.

Code:
mkfs.ext4 -O ^has_journal /dev/sdXX


/jffs usage is weird. It must be a bug on the webif. Try putting something in it.[/code]
NinthWave
DD-WRT User


Joined: 12 Mar 2018
Posts: 57
Location: Mont-St-Hilaire, Qc, Canada

PostPosted: Tue Jan 07, 2020 11:20    Post subject: Reply with quote
wenzhuo wrote:
Since the block size is 1K as shown in the screenshot, the partitions are already formated as ext2/ext3. I'd recommend ext4 without jounaling for usb thumb drives as dd-wrt storage.

Code:
mkfs.ext4 -O ^has_journal /dev/sdXX


/jffs usage is weird. It must be a bug on the webif. Try putting something in it.[/code]


Thank you.

I am a noob in linux cmd line.

If it type this in DD-WRT command box, I get
Code:
sh: eval: line 1: mkfs.ext4: not found


If I do it with Putty, I get pretty much the same:
Code:
sh: can't open 'mkfs.ext4': No such file or directory


Which I suppose means this specific command is not part of the DD-WRT core ?

Since I dont have any Linux PC, how can I do this ?

_________________
[Supermicro X10SBA] pfSense as of 20/12/20 | firewall, gateway, routing, QoS, adblocking
[Archer C7(CA)v2] running r47510 as of 21/10/06 | WAP
[Archer C7(US)v2] running r47510 as of 21/10/04 | napping backup for Gateway, routing, QoS
wenzhuo
DD-WRT User


Joined: 22 Apr 2011
Posts: 191

PostPosted: Tue Jan 07, 2020 11:38    Post subject: Reply with quote
It means mke2fs is not included in the dd-wrt build for your router, probably because of lack of flash space.

Install a Linux box then. You can creat a bootable live Linux system on a USB flash drive using https://rufus.ie/.
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Tue Jan 07, 2020 11:57    Post subject: Reply with quote
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum