I went years without doing this, with zero issues. The drive was always formatted with ext4. However, when trying k6.1 builds, my USB3 drives got trashed. After that, I had read you should unmount them before shutting down. I added this to my shutdown script, but not sure it entirely works when files are open. Usually this would only affect those using Entware.
Code:
umount /dev/sda1
umount /dev/sdb1
_________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
I went years without doing this, with zero issues. The drive was always formatted with ext4. However, when trying k6.1 builds, my USB3 drives got trashed. After that, I had read you should unmount them before shutting down. I added this to my shutdown script, but not sure it entirely works when files are open. Usually this would only affect those using Entware.
Code:
umount /dev/sda1
umount /dev/sdb1
I also did the latest update without deactivating the flash drive (ext4-kernel 6.1) and there were no problems
It is because your partition is sda1. sda is the drive itself. If you had multiple partitions, they would most likely be sda1, sda2, etc. sda is the entire drive, not the partitions. However, you CAN format sda and use the full drive without partitions. Makes things a bit confusing if you are not familiar with doing this. What you have is fine. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Yep, you should be good. I have the same as I have two partitions sda1 (opt) and sda2 (jffs). My sda shows the same as yours, for years. Not an error. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Tue Feb 13, 2024 7:39 Post subject: Re: [DD-WRT update information]
marcus83 wrote:
I had read somewhere, that every time you want to update the dd-wrt build, you should deactivate the flashdrive (USB Support > opt,jffs) correct?
Suggestion: change the subject of this thread from "[DD-WRT update information]" to "Flash DD-WRT firmware after turning off USB?" _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
with last command you can go to extreme and unmount with magic number command..
echo u > /proc/sysrq-trigger
you can download your update files at /tmp so those will not be affected by the unmount...
for the record i used to download my files to /opt and than flash with no unmount...than delete the files from /opt ..i know it was a dirty game but it was ok... _________________ 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