[FIXED][SPLIT] Wrong HDD capacity reported

Post new topic   Reply to topic    DD-WRT Forum Index -> General Questions
Goto page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
FireStorm@
DD-WRT User


Joined: 12 Mar 2018
Posts: 88

PostPosted: Fri Jul 22, 2022 16:23    Post subject: Reply with quote
It is just a pity, as it used to work well. In previous builds (I just do not remember it) the real size was shown and no problem with dirty drive or anything. I was just in hope all will work as it used to be, but better. Seems since half a year we are going a step back in matter of stability and improvement. I hope there will be one version that will fix it and for sure I won't update firmware anymore.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri Jul 22, 2022 16:34    Post subject: Reply with quote
I already gave you the solution use ext4 and your problems are gone as simple as that
_________________
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
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5660

PostPosted: Fri Jul 22, 2022 16:44    Post subject: Reply with quote
Wait for ksmbd changes to occur in Trac SVN before expecting next DD-WRT releases to behave differently.

Sir egc is right again native file system ext4 but just in case you want to follow ksmbd github see last page.
FireStorm@
DD-WRT User


Joined: 12 Mar 2018
Posts: 88

PostPosted: Fri Jul 22, 2022 18:09    Post subject: Reply with quote
For me it is essential to use ntfs, so ext4 is sadly not an option. However, the ksmbd thing is something new to me. I am actually not into this and do not know how to install / use it instead.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri Jul 22, 2022 18:12    Post subject: Reply with quote
Why do you need NTFS?
_________________
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
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Fri Jul 22, 2022 20:25    Post subject: Reply with quote
There is nothing to install for ksmbd or wsdd2, those bits are internal to DD-WRT firmware for devices that feature network attached storage functionality via Samba. With Samba proper, Windows doesn't care what filesystem the network attached storage uses and the same is supposed to be true in respect to ksmbd. I don't understand why you would absolutely have to use NTFS.
_________________
"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
FireStorm@
DD-WRT User


Joined: 12 Mar 2018
Posts: 88

PostPosted: Sat Jul 23, 2022 18:26    Post subject: Reply with quote
dale_gribble39 wrote:
There is nothing to install for ksmbd or wsdd2, those bits are internal to DD-WRT firmware for devices that feature network attached storage functionality via Samba. With Samba proper, Windows doesn't care what filesystem the network attached storage uses and the same is supposed to be true in respect to ksmbd. I don't understand why you would absolutely have to use NTFS.


So how can I use ksmbd instead? I need NTFS as I use this device somethimes for data backups and other things. So if it is ext4 it might cause problems to some devices or they do not know how to use it properly.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Sat Jul 23, 2022 19:16    Post subject: Reply with quote
Let's connect the dots. "Samba" in the webUI of DD-WRT official firmware releases for the most part IS ksmbd. Neither Linux, MacOS, Windows, nor any other client will give two shakes of a leg of concern about what filesystem is being used for your attached storage. It seems you are filled with FUD over something so benign and trivial. The sky is not falling. You were given options and a solution. Choose what you will. It is your network and your router. Thanks for listening and hopefully understanding.
_________________
"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
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Sat Jul 23, 2022 19:50    Post subject: Reply with quote
Not for the most part, all is ksmbd afaik (the other components directories are there for gathering digital dust), filesharing shouldn't care about what the FS on drives are but it does something with it and its not bug free either, but if the FS handling or ksmbd is buggy or ntfs-3g or other 3rd party component in DD-WRT and such bugs need to be checked/reported upstream. DD-WRT afaik does not maintain any patches for most of them neitherntfs-3g nor ntfs3

There are some patches on ksmbd sub directory but no idea who maintains those, didn't go upstream to check if they exist there.

Just to let you know, no one here will report bugs reported here to the relevant 3rd party project(s), I would if I had time and the correct info to fill in a proper bug report, but sadly have neither. IF only we had more active developers who handled other areas, some projects I was part before, the devs usually submitted patches upstream, BS does it with ZFS for instance, maybe others like drivers and compression related stuff.

So after we determine where issue lies, if the report is not filed upstream according to their requirement for bug reports, it will remain a bug in DD-WRT no matter how many times those components are updated, unless of course they know about the bug from some other party and have fixed it, in such case its a happy coincidence.

Sadly there it is. I dont mean to rain on anyone's parade, but this is not a parade and I'm not rain either, contrary to current evidence Im sweating and it feels like rain Wink

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sat Jul 23, 2022 21:27    Post subject: Reply with quote
The ksmbd feature only applies to certain kernel versions and devices. Conditional compile rules. See configs folder under /src/router/.

#ifdef HAVE_SMBD = ksmbd
#ifdef HAVE_SAMBA3 = samba36
#ifdef HAVE_SAMBA4 = samba4

https://svn.dd-wrt.com/browser/src/router/services/services/samba3.c

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
FireStorm@
DD-WRT User


Joined: 12 Mar 2018
Posts: 88

PostPosted: Fri Jul 29, 2022 10:19    Post subject: Reply with quote
For me this is all too technical, I do not understand.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12837
Location: Netherlands

PostPosted: Fri Jul 29, 2022 10:30    Post subject: Reply with quote
FireStorm@ wrote:
For me this is all too technical, I do not understand.



No problem, bottom line use ext2/4 and not NTFS Smile
(and yes also Windows clients can access ext2/4 via the routers Samba)

_________________
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
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Fri Jul 29, 2022 10:39    Post subject: Reply with quote
It's just a question of whether you want a working NAS or a portable hard drive.

Let the NAS be a NAS and take something else for portability.

You don't remove the hard drive from a real NAS with a hard drive array because you want to quickly attach it to your laptop.

This is simply a bad practice that should be reconsidered.
Gameman Advanced Kid
DD-WRT Guru


Joined: 18 Nov 2012
Posts: 1158

PostPosted: Fri Jul 29, 2022 12:31    Post subject: Reply with quote
Speaking from experience here, but ntfs on your nas is just a tedious process every time the power goes out.

ext4 is able to recover which means you can shut the router down and then turn it back on without having to unplug the drive every time.

windows will still see the NAS regardless if its ext4 or not.

ext4 just makes life easier when you are using it for your NAS.

_________________
For people who are new to the dd-wrt forums >> http://www.catb.org/~esr/faqs/smart-questions.html#rtfm

barryware wrote:
It takes a "community" to raise a router..


Internet Connection 1
Some Techicolor modem > Linksys WRT3200ACM

Internet connection 2
Ubiquiti Powerbeam Gen 2 > Netgear R9000

Official (but not really) dd-wrt General Discussion element/matrix chat

https://matrix.to/#/#dd-wrt-private-non-offical:matrix.org
MuzzleVelocity
DD-WRT User


Joined: 23 Apr 2010
Posts: 125

PostPosted: Mon Aug 01, 2022 16:44    Post subject: Reply with quote
egc wrote:
Why do you need NTFS?


I *think* what the OP means is that he sometimes needs to physically unplug the drive from the router [transport it somewhere else] and plug it into a windows machine. That is a pretty good reason to prefer NTFS...
Goto page Previous  1, 2, 3, 4, 5, 6  Next Display posts from previous:    Page 2 of 6
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