You need to remember, DD-WRT will not contain some of these commands, as it uses Busybox. But still a decent tutorial and should be about 90% reliable in your situation. _________________ 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.
What I would try first is to just remove the folder you could not earlier, using the command I posted earlier. Make sure it works. Just a good test to make sure the FS is not corrupted.
Code:
rm -rf foldertodelete
Not a lot of good information here, but seeing you are mounting your drive at
/tmp/mnt/sda1 you should be able to:
Code:
umount /dev/sda1
fsck /dev/sda1
Let's see if you get any errors doing this.
However, it will probably get more complicated than this. If you have that drive mounted anywhere via network, and it's in use, it will probably not unmount. _________________ 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.
EDIT: I put an N in umount, but still didn't work, 'Resource Busy'
In which case you will need to disable the Samba share first. Then try again. _________________ 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.
This will check the filesystem without attempting any repairs. Should work even if in use. _________________ 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.
disabling samba share didnt work, and fsck command resulted in this:
fsck 1.47.0 (5-Feb-2023)
Usage: fsck.exfat
-r | --repair Repair interactively
-y | --repair-yes Repair without ask
-n | --repair-no No repair
-p | --repair-auto Repair automatically
-a Repair automatically
-b | --ignore-bad-fs Try to recover even if exfat is not found
-s | --rescue Assign orphaned clusters to files
-V | --version Show version
-v | --verbose Print debug
-h | --help Show help
Oh!! My mistake. I thought you mentioned in an earlier post you were using ext4. Exfat is entirely different. _________________ 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.
Ok, so I exited out of cmd prompt entirely, restarted and ran those commands again. this time I got:
umount /dev/sda1 ...[seemed to work, no text response]
fsck /dev/sda1 ...
fsck 1.47.0 (5-Feb-2023)
exfatprogs version : 1.2.0
/dev/sda1: clean. directories 11474, files 189225
(after several seconds)
I think I might have been in a wrong directory before...??
...
Now I just reenabled the samba share in the GUI, but in Shares/Path it says /mnt/sda1 [not available], and in explorer it says 0 bytes free of 0 bytes, and it says 'Empty Folder.'
Not sure whats happening.
Ok, so I exited out of cmd prompt entirely, restarted and ran those commands again. this time I got:
umount /dev/sda1 ...[seemed to work, no text response]
fsck /dev/sda1 ...
fsck 1.47.0 (5-Feb-2023)
exfatprogs version : 1.2.0
/dev/sda1: clean. directories 11474, files 189225
(after several seconds)
I think I might have been in a wrong directory before...??
The directory has nothing to do with it. We are on the device level here, not the directory structure. You could try this, but I don' think it will make any difference.
Code:
chmod 775 /tmp/mnt/sda1 -R
This changes the permissions of the drive/folder. You can easily change it back later with
Code:
chmod 700 /tmp/mnt/sda1 -R
Bedtime. do yourself a favor and read up on basic linux syntax/commands. I think you will find that Linux is so much better you will dump Windows. _________________ 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.
Now I just reenabled the samba share in the GUI, but in Shares/Path it says /mnt/sda1 [not available], and in explorer it says 0 bytes free of 0 bytes, and it says 'Empty Folder.'
Not sure whats happening.
Reboot your router and try again _________________ 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 want to inform you that on r54517, non-empty folders are now deleted without problems. There were probably some updates - I didn't follow them.
Anyway, thanks to the developers for their work! _________________ Linksys WRT1900ACSv2
Automatically adjustable temperature, always within the range of 59-68°С.