Sick of NTFS dirty problem with samba...any solutionsWindows

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Author Message
llFawkes17ll
DD-WRT User


Joined: 24 Jul 2018
Posts: 158

PostPosted: Sun Sep 03, 2023 2:00    Post subject: Sick of NTFS dirty problem with samba...any solutionsWindows Reply with quote
I love having my files accessible by a samba server connected to my desert router. However,I am a Windows user and the known issue with the NTFS file system becoming dirty after a router reboot when it's not disconnected first is driving me crazy. I know how to get it back up by connecting my drives to a computer but I was wondering if there is another solution. I am willing to change the file system type to ext4 but that only Linux, right?
I need to be able to read/write to the drive from a Windows computer.
Any recommendations on how I could figure out the best option to this NTFS becoming dirty?
Where I live there has been multiple power outages late so I don't have the option to safely eject the drive prior to the router restarting.
TYIA
Sponsor
Alozaros
DD-WRT Guru


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

PostPosted: Sun Sep 03, 2023 4:46    Post subject: Reply with quote
NTFS is not native linux FS...so it takes its toll..
as far as shutdown moment...yes it can happen to have a dirty drives...
you can scan and fix the drive as long as it uses linux https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=335046

you can always install drivers to use ext linux FS on Windows machines...at least that is what i do Razz
in terms of OS access...if you use the samba option on the DDWRT FS doesn't matter..you can access your files with various OS systems as long as samba works 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
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1959

PostPosted: Sun Sep 03, 2023 7:52    Post subject: Reply with quote
Windows doesn't care what filesystem is on the Samba server, never has. How many times does it have to be stated, how many times does it have to be reiterated? Did it *ever* say that you must have a Windows filesystem for Samba shares in the docs?
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
llFawkes17ll
DD-WRT User


Joined: 24 Jul 2018
Posts: 158

PostPosted: Sun Sep 03, 2023 11:46    Post subject: Reply with quote
Thank you everyone. I will the the recommended options.
llFawkes17ll
DD-WRT User


Joined: 24 Jul 2018
Posts: 158

PostPosted: Tue Sep 05, 2023 15:53    Post subject: Reply with quote
I tried looking online on how to install ext4 drivers on window 11 but I didn't find anything that simple to do. I found a way that looks like I need to run commands. Do you have any recommendations where I can start to look for instructions on how to install ext4 drivers on windows? Sorry I am a noob Very Happy

Alozaros wrote:
NTFS is not native linux FS...so it takes its toll..
as far as shutdown moment...yes it can happen to have a dirty drives...
you can scan and fix the drive as long as it uses linux https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=335046

you can always install drivers to use ext linux FS on Windows machines...at least that is what i do Razz
in terms of OS access...if you use the samba option on the DDWRT FS doesn't matter..you can access your files with various OS systems as long as samba works ok...
Alozaros
DD-WRT Guru


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

PostPosted: Tue Sep 05, 2023 16:31    Post subject: Reply with quote
llFawkes17ll wrote:
I tried looking online on how to install ext4 drivers on window 11 but I didn't find anything that simple to do. I found a way that looks like I need to run commands. Do you have any recommendations where I can start to look for instructions on how to install ext4 drivers on windows? Sorry I am a noob Very Happy


In fact if im not wrong..you can mount ext on ~ Win 10 with no problem...
What i use on all my DDWRT routers USB drives is ext2, as you don't need more, only if you use an external Hard Drive, than you can go ext3/4...and the only windows i have, is Win 7 ultimate and ages ago, i installed a driver for ext2 FS and im happily using it ever since... Cool

quick search in duck...
https://duckduckgo.com/?t=ffab&q=how+to+mount+ext+fs+on+windows&ia=web

https://www.techgainer.com/how-to-mount-and-access-linux-partitions-ext4ext3ext2-in-windows-explorer-easily/

_________________
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
strange
DD-WRT User


Joined: 18 Jun 2006
Posts: 229

PostPosted: Tue Sep 05, 2023 17:37    Post subject: Reply with quote
Why are ext4 drivers needed for Windows? Your router is running on Linux which already has ext4 support. It is serving your files to you. ext4 is not needed on your client windows 11 machine. Does that make sense? The disk format of the server does not have to be the same as the disk format of the client since it is only serving files.
_________________
Netgear XR500 - Gateway
R6700 v3 - Station Bridge
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6872
Location: Romerike, Norway

PostPosted: Tue Sep 05, 2023 18:01    Post subject: Reply with quote
You can format the drive as EXT4 in the dd-wrt GUI.
llFawkes17ll
DD-WRT User


Joined: 24 Jul 2018
Posts: 158

PostPosted: Tue Sep 05, 2023 21:46    Post subject: Reply with quote
The reason I mentioned the ext4 is because I didn't want to run into any file size limitations or anything as such so I just wanted to go with the lastest.

Currently I have a 4TB (NTFS) external hard drive connected to the USB 3 port in the router. I have samba running on it via the DDWRT router. I transfer files into the hard drive from several clients (Windows 10, windows 11 and Android phones). Files include small and large files. I also run Plex on one of my windows devices with the the file source being mapped network drive.
Everything has been working perfectly except for this recent issue with power outages leading to a dirty drive.

I am willing to change over to a ext (2/3/4) format but would rather just do it once for obvious reasons. As many of you can probably tell, I only have enough knowledge to get myself in trouble lol so any advice on the best changes to be made would be greatly appreciated.


strange wrote:
Why are ext4 drivers needed for Windows? Your router is running on Linux which already has ext4 support. It is serving your files to you. ext4 is not needed on your client windows 11 machine. Does that make sense? The disk format of the server does not have to be the same as the disk format of the client since it is only serving files.
strange
DD-WRT User


Joined: 18 Jun 2006
Posts: 229

PostPosted: Tue Sep 05, 2023 22:30    Post subject: Reply with quote
I have a similar setup. I have a 4TB SSD HD (ext4) hooked up to my XR500 via USB 3 port. It serves files to my windows machine, linux machine, phone, tablet....
_________________
Netgear XR500 - Gateway
R6700 v3 - Station Bridge
llFawkes17ll
DD-WRT User


Joined: 24 Jul 2018
Posts: 158

PostPosted: Tue Sep 05, 2023 22:43    Post subject: Reply with quote
That's great to hear. So, format my external hard drive to ext4 then copy from my back up drive. After backup is complete (hoping I don't lose any files 🤞) I should still be able to map a network drive in the windows machine, right?

strange wrote:
I have a similar setup. I have a 4TB SSD HD (ext4) hooked up to my XR500 via USB 3 port. It serves files to my windows machine, linux machine, phone, tablet....
strange
DD-WRT User


Joined: 18 Jun 2006
Posts: 229

PostPosted: Wed Sep 06, 2023 0:22    Post subject: Reply with quote
Would it be possible to transfer your files to your computer or another hard drive, format the hard drive that you want to use to ext4 using the DDWRT GUI and then transfer your files back onto it?

BTW, the format feature is located in the NAS tab.

_________________
Netgear XR500 - Gateway
R6700 v3 - Station Bridge
llFawkes17ll
DD-WRT User


Joined: 24 Jul 2018
Posts: 158

PostPosted: Wed Sep 06, 2023 18:50    Post subject: Reply with quote
That is doable. I just have a secondary backup HDD just in case. So I'll just format then transfer everything over. Thank you so much for your help.
strange wrote:
Would it be possible to transfer your files to your computer or another hard drive, format the hard drive that you want to use to ext4 using the DDWRT GUI and then transfer your files back onto it?

BTW, the format feature is located in the NAS tab.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions 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 can attach files in this forum
You can download files in this forum