USB thumbdrive - not sure about the automount

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


Joined: 12 Mar 2018
Posts: 28
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 ?

_________________
[Archer C7 V2] running r41813 on 20/01/06
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 3193
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 41892 BS WAP/Switch (wired)
TP-Link WR1043NDv2 ----DD-WRT 41813 BS (AP,PPPoE,NAT,AD Blocking,AP Isolation,Firewall,Local DNS,Forced DNS,DoT)
TP-Link WR1043NDv2 ----DD-WRT 41892 BS (AP,NAT,AD Blocking,Firewall,Local DNS,Forced DNS,DoT,)
TP-Link WR1043NDv2 ----Gargoyle OS 1.12.0 (AP,NAT,QoS,Quotas)
Qualcomm/IPQ8065
Netgear R7800 -------DD-WRT 41892 BS (AP,NAT,AD-Blocking,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT,VPN)
Broadcom
Netgear R7000 -------DD-WRT 41892 BS (AP,Wi-Fi OFF,NAT,AD-Blocking,Firewall,Local DNS,Forced DNS,DoT,VPN)
------------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 via Entware by mac913
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 4657
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 R7800, Netgear R6400v1, Netgear R6400v2, Linksys EA6900 (XvortexCFE), Linksys E2000 (converted WRT320N), WRT54GS v1.
Install guide Linksys EA6900: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=291230
OpenVPN Policy Based Routing guide: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
wenzhuo
DD-WRT User


Joined: 22 Apr 2011
Posts: 153

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 Novice


Joined: 12 Mar 2018
Posts: 28
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 ?

_________________
[Archer C7 V2] running r41813 on 20/01/06
wenzhuo
DD-WRT User


Joined: 22 Apr 2011
Posts: 153

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 User


Joined: 20 Jan 2019
Posts: 393

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 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