Buffalo Forums

Products => Storage => : burt January 28, 2020, 10:39:19 AM

: LS220 W10 SMB Issues
: burt January 28, 2020, 10:39:19 AM
Hello,
2 Windows computers:
       1.  LPT W10 Home, wireless connection
        2. N7 W10 Pro, wired connection

N7 works correctly i.e. 1. can map LS220, 2. can see in Network section by name, 3. SMB is OFF & SMBv2 is on

LPT is the problem: with SMB ON: 1. can ping LS220, 2. can map LS220, 3. does NOT show up in Network
                           with SMBv2 ON:  No access i.e. can't map or see in Explorer

I have turned SMB and SMBv2 on and off with Powershell and with "Windows Features"

Yes I have read 25+ posts about the Windows 10 SMB changes.

So N7 works with SMB & SMBv2 but LPT only works with SMB.

There are 2 other computers on the same wireless network all with statically assigned IP addresses.
   3. N8 W10 Pro
   4. HP1 dual boot W10 Pro & Linux Mint.

They can be seen from both LPT & N7. All 4 computers can see each other.

Let's not add Mint to this question but yes I can access the LS220 from Mint, but not sure if it is using SMB or SMBV2 (or higher).

I have not tried seeing the LS220 with N8 or HP1. 

LS220 is running 1.73 firm ware. The update from 1.70 did not seem to make any difference.   

Any suggestions as to why N7 is happy with either SMB or SMBv2 but LPT only works with SMB?

Thanks in advance.

I WILL post back if I ever get a solution or reason why SMBv2 does not work.

Herb
: Re: LS220 W10 SMB Issues
: 1000001101000 January 28, 2020, 11:00:16 AM
so, you have a windows 10 PC that can access the share using SMBv1 but not SMBv2 and you have other windows 10 PCs that work fine with SMBv1 and SMBv2. Sounds like it may be an issue with SMBv2 on that PC, maybe it got disabled via powershell some how?

Sadly I don't know much about configuring SMB in windows.

On a brighter note you could install Debian on the ls220 and use SMBv3 instead.

Installer files can be found here:
 https://github.com/1000001101000/Debian_on_Buffalo

Someone was even nice enough to make a YouTube video showing an install:
https://www.youtube.com/watch?v=dfMHlLmsSF8
: Re: LS220 W10 SMB Issues
: widomaker January 28, 2020, 03:29:51 PM
Hello,

I have a very similar issue.  I've got a case open with Support.  They said that they haven't seen any other reports of the issue.

In my case, I also have a Win7 and Win10 workstation connecting to the NAS.  Just recently (sometime after January 17, 2020) the Win10 stopped connecting to the NAS, with the error, "You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol."  I verified that the SMB2 setting in the NAS is enabled.  I verified that SMB2 was enabled in Win10.

The Win7 connects OK.  However, I suspected this was an issue with SMB2, so I disabled SMB1 on the working Win7 workstation.  After that, the Win7 could no longer connect (until I re-enabled SMB1).  That suggested to me that the Win7 was only working because it was falling back to using SMB1.

What I have recently found is this...  If I start from a state where the Win10 cannot connect, if I toggle the SMB2 setting, in the NAS settings, from on to off, then back on, again, I am once again able to connect from the Win10 to the NAS.  However, if I reboot the NAS, it stops working, until I toggle the setting, again.

I started out with firmware 1.71, and upgraded to 1.73.  No change.

I'm going to send a link to this thread in my next ticket update with Buffalo Support. 

May I suggest that you also open a Support case with Buffalo.

Best Regards,
Bob
: Re: LS220 W10 SMB Issues
: burt January 28, 2020, 10:21:01 PM
1000001101000

"Sounds like it may be an issue with SMBv2 on that PC, maybe it got disabled via powershell some how?"

Anything is possible however it's pretty easy to check the status of SMBx on Windows with Powershell (x below is version number of SMB).
Get-SmbServerConfiguration | Select EnableSMBxProtocol
This will return TRUE if that version of SMB is available else FALSE is returned.

To turn SMBx off or on:
Turns OFF:
Set-SmbServerConfiguration -EnableSMBxProtocol $false

Turns ON:
Set-SmbServerConfiguration -EnableSMBxProtocol $true

"On a brighter note you could install Debian on the ls220 and use SMBv3 instead."

Over the last few years I have dabbled with Mint wishing to move from Windows. I have found it to be quite frustrating. It seems there are 3 or 4 approaches to a task with subtle variations. So you need to check the date of the info and what edition 12, 15, 18, or 19 it applies to. Without becoming somewhat of a guru it seems I'm always a little hazy about what's really going on.

As mentioned I did get the Mint box talking to the Windows boxes but it was anything but straight forward.

Could I follow the conversion to Debian on the LS220, probably. However if something bobbles along the way it's lostville.

Thanks for the info but I think I'll pass.
: Re: LS220 W10 SMB Issues
: Kane88 January 28, 2020, 10:23:42 PM
N7 works correctly i.e. 1. can map LS220, 2. can see in Network section by name, 3. SMB is OFF & SMBv2 is on

Any suggestions as to why N7 is happy with either SMB or SMBv2 but LPT only works with SMB?

From Bob's description of his issue- it sounds like buggy firmware to me.  From the 1.73 release notes, they did do some more patching.

Sounds to me like SMB 2.x is not turned on from the Linkstation (even though it might say it is in the console), and the N7 machine is only accessing it with SMB 1.x.  I seem to remember encountering a similar problem with SMB 2.x, right around the time I stopped using that model, it may have been around firmware 1.70.  I do recall that older versions did not have SMB 2.x on by default.  Even after the firmware update, maybe the setting is still off. 

Check the console and see what version of SMB it is set for.  Set it for only SMB 2.x

Then, disable SMB 1.x on the N7 PC.  Leave just the SMB 2.x on, and reboot.
I would clear your dns entries and also your netbios/wins entries on the pc, before rebooting.

nbtstat -R
ipconfig /flushdns
ipconfig /registerdns

If you can't access it with only SMB 2.x only, then the firmware is definitely the culprit.

additional question:  how are you mapping?  by machine name?  or by IP address?
If they're not on the same subnet, you might have some problems mapping by wins/netbios name.

I know with Oracle VirtualBox on windows, you definitely have to map it by IP address.  WINS/netbios doesn't work.


Try the workaround that Bob mentioned, and see if that helps.

When I used a linkstation, I tried the SMB 2.x.  It was just too slow, so I wound up dropping it back to SMB 1.1
The firmware updates according to Buffalo, patch the exploits in that protocol, to where it shouldn't be a security risk.
MS on the other hand on the windows side- unknown. 

Either way: You're going to take a good 30-40% hit in performance.  My write speeds dropped from a good 45MB/sec to 30MB/sec.  I was writing some big files.  Maybe this isn't an issue for other users.


: Re: LS220 W10 SMB Issues
: 1000001101000 January 28, 2020, 10:32:04 PM
Over the last few years I have dabbled with Mint wishing to move from Windows. I have found it to be quite frustrating. It seems there are 3 or 4 approaches to a task with subtle variations. So you need to check the date of the info and what edition 12, 15, 18, or 19 it applies to. Without becoming somewhat of a guru it seems I'm always a little hazy about what's really going on.

As mentioned I did get the Mint box talking to the Windows boxes but it was anything but straight forward.

Could I follow the conversion to Debian on the LS220, probably. However if something bobbles along the way it's lostville.

Thanks for the info but I think I'll pass.

Understandable. I spent a few years in more or less that same place too. Oddly enough I gained a lot of experience tinkering with NAS devices which was easier to recover than my desktop/laptop when something went wrong.
: Re: LS220 W10 SMB Issues
: burt January 29, 2020, 11:21:12 AM
Well new developments. Noticed the error light was giving me a 54 error on the LS220. I have a WD Passport USB HDD connected to the LS220 as a backup device. The activity light on it was blinking occasionally. But there was no backup going on. I had done a backup a few days ago which worked okay.
So I shut the LS220 down and disconnected the USB HDD.
Now all 4 computers can access the LS220 and each other with SMB turned off. SMBv2 is on.
The LS220 is mapped on all 4 but it does not show up in "Network" in file explorer on N7 and N8. It does show up in Network on HP1 and LPT. I can live with that.
Does anyone know if it should show up in "Network"? I have been assuming it should. But we all know about that.
I'll report back in a few days or weeks if it still works, sooner if not.
: Re: LS220 W10 SMB Issues
: Kane88 January 29, 2020, 01:26:33 PM
Well new developments. Noticed the error light was giving me a 54 error on the LS220. I have a WD Passport USB HDD connected to the LS220 as a backup device. The activity light on it was blinking occasionally. But there was no backup going on. I had done a backup a few days ago which worked okay.
So I shut the LS220 down and disconnected the USB HDD.

These and other reasons are why I wouldn't connect drives directly to that port.  I've seen more problems than actual benefits from that port.  I'd say that port is only good for sharing out a 3rd drive that is powered on 24/7.  I do my backups via Windows.  They can be read from any machine.  The linkstation backups?  Not so much.  Everytime I used that port, it had to format drives.  It didn't like me using Windows formatted hdds with it.  If that linkstation dies, you might get stuck with a linux-only readable backup at best- just so you know.  I would test your passport drive from a windows PC, to make sure you can read the backups it makes. 


Does anyone know if it should show up in "Network"? I have been assuming it should. But we all know about that.

I have seen that happen with both terastations and linkstations.  That said, I don't use it.  I don't even have network discovery enabled.

If you can map through command prompt, you should be set.  I wouldn't be concerned with it.  Unless you have users who don't know how to do that.

The more you browse the network, the more windows is likely to attach onto one of your network locations and poll it periodically- causing your systems to become sluggish.  Sometimes windows still thinks shared files are open on a pc, when you have every open file and app closed.  This still happens today on my buffalo terastations, when even the shared files part in computer management- shows nothing is open.

: Re: LS220 W10 SMB Issues
: burt January 29, 2020, 03:05:56 PM
Hello,
I started out with firmware 1.71, and upgraded to 1.73.  No change.
I'm going to send a link to this thread in my next ticket update with Buffalo Support. 
May I suggest that you also open a Support case with Buffalo.
Best Regards,
Bob

I opened a case today 29 Jan 2020.
I don't have much hope for a helpful response.

burt
: Re: LS220 W10 SMB Issues
: widomaker January 29, 2020, 03:57:16 PM
I opened a case today 29 Jan 2020.
I don't have much hope for a helpful response.

burt

I'm hoping for a solution.  I also have an external USB drive connected, to backup the NAS, that is not accessible from the network.  If using USB drives for NAS backups is problematic on these units, I'm going to want an exchange or refund.  Monday was the last day for me to be able to return it to the distributor, which worries me. 
: Re: LS220 W10 SMB Issues
: Kane88 January 29, 2020, 05:39:09 PM
I also have an external USB drive connected, to backup the NAS, that is not accessible from the network.  If using USB drives for NAS backups is problematic on these units, I'm going to want an exchange or refund.  Monday was the last day for me to be able to return it to the distributor, which worries me.

Definitely test your backups on a Windows machine itself. 
I wouldn't trust those kind of backups, from any nas in general.  Backing them up in that way, is just very limiting in how you can restore it.
I think they are written in a way that they can only be retrieved by the linkstation, or something that uses the linux filesystems.

I wouldn't use a 2.5" passport drive with it.  It probably isn't getting enough power to run that drive reliably.  The linkstations are designed to be pretty low power.
They probably intended the usb port for 3.5" drives that have their own power supply.  Or flash drives that are low power.

I would check with your distributor to see what they can do, if you really want to return it.
: Re: LS220 W10 SMB Issues
: burt January 30, 2020, 03:53:59 PM
Hi,

Well got a pretty quick reply from Buffalo.
1. indicated that u$oft has changed things so NAS will NOT show up in "Network"folder so mapping is mandatory. I asked them to verify if that is what they meant.

2. wanted to know about backup job that was running when I got the 54 error. Told them there was no backup job running.

Waiting for reply.

I can so far reliably map the NAS on all 4 windows machines while using SMBv2 (SMBv1 is OFF).

Had another 54 error while not running a backup job. Cycling the power makes it go away and the unit starts up operating correctly.

There have been some comments made about USB drives for backup connected to the NAS USB port. It worked for me but took a veeerrry long time time.

As far as reading the backup USB drive I have not had a problem. I formatted it as NTFS before connecting it to the LS220.
Ran the backup, disconnected from LS220, connected to a USB port on my Windows 10 desktop and there are the files totally readable.

Here is a link to possible formatting options for the USB backup drive:
http://cn.faq.buffalo-global.com/app/answers/detail/a_id/10348

Waiting on response from Buffalo (I hear hoof beats in the distance).

Burt


: Re: LS220 W10 SMB Issues
: As3nd0r January 31, 2020, 06:42:08 AM
Browsing the "network" is smb1 based so that is indeed gone. MS official line is "map the drives"

On the i54 check if there is still an old job in the job list that failed. If not reset the unit.
: Re: LS220 W10 SMB Issues
: burt January 31, 2020, 09:27:36 AM
Browsing the "network" is smb1 based so that is indeed gone. MS official line is "map the drives"

On the i54 check if there is still an old job in the job list that failed. If not reset the unit.

Thanks for the Windows info.
No backup job has failed. Only one was run and it completed successfully.
The unit has now had the i54 error 3 times when no backup job was running. It shut off completely awhile after the third one.
It acts normally for a while after recycling the power.

Sounds like a failing LS220 to me. Now if I can just get Buffalo to agree.
: Re: LS220 W10 SMB Issues
: As3nd0r January 31, 2020, 01:35:12 PM
It is extremely unlikely that a hardware issue of the Linkstation itself causes recurring failed backup notifications. If anything hardware related, it might be hard drive issues messing things up here.

This sounds more like there is a firmware issue (or messed up settings) - I would do a reset of the unit via the user interface or reinstall the firmware via debug deleting the user data (settings) partition.
: Re: LS220 W10 SMB Issues
: Kane88 January 31, 2020, 07:57:50 PM
There have been some comments made about USB drives for backup connected to the NAS USB port. It worked for me but took a veeerrry long time time.

As far as reading the backup USB drive I have not had a problem. I formatted it as NTFS before connecting it to the LS220.
Ran the backup, disconnected from LS220, connected to a USB port on my Windows 10 desktop and there are the files totally readable.

Here is a link to possible formatting options for the USB backup drive:
http://cn.faq.buffalo-global.com/app/answers/detail/a_id/10348

Waiting on response from Buffalo (I hear hoof beats in the distance).

Burt

I think this is part of the problem.  Regardless, Buffalo needs to update their documentation.  They need to be more specific on NTFS and how it works with this unit.

Your link shows
--
NTFS
(USB hard drive only)   Yes   Yes   
Unable to format on the Web Admin interface.
It is working as Read-only. (Unable to write at the backup/replication either).
--

That said, I am curious what happens when you use FAT32 as it has full read/write support according to your article.  But of course you'll be limited to 4GB size files at most.

The USB port is only USB 2.0, so it will be slow.  You'll be lucky to hit 40MB/sec max writes if the unit can handle that.  Figure at least 7 hours per terabyte of data at that speed.

At least it is semi-working for you.  I couldn't even get that far with older firmware.
: Re: LS220 W10 SMB Issues
: widomaker February 05, 2020, 12:00:44 PM
I see there is a new firmware version (1.74) out, today (Feb 5 2020).  I'll try that this evening and see if it resolved the SMB issue.

-Bob
: Re: LS220 W10 SMB Issues
: 1000001101000 February 05, 2020, 01:10:09 PM
[Release Notes]
Version 1.74 [2020-02-05]
Added and Modified Features
[SMB]
• Modified so that SMB protocol versions to be enabled become selectable.

Bug Fixes
[WebAccess]
• Fixed a bug where files were not accessible via WebAccess if UPnP is enabled for the WebAccess settings.

: Re: LS220 W10 SMB Issues
: widomaker February 05, 2020, 11:42:43 PM
Hello,

I have installed the new firmware (1.74) that was released, today.  I can see the new SMB option to specify which version (Auto, SMB1, or SMB2) to use.  I have tried selecting AUTO and SMB2.

When attempting connections, the problem issue remains exactly as previously described.  The same temporary "work-around" (toggling the setting) still works until the next NAS reboot.

Best Regards,
Bob
: Re: LS220 W10 SMB Issues
: Kane88 February 06, 2020, 06:14:46 AM
Hello,

I have installed the new firmware (1.74) that was released, today.  I can see the new SMB option to specify which version (Auto, SMB1, or SMB2) to use.  I have tried selecting AUTO and SMB2.

When attempting connections, the problem issue remains exactly as previously described.  The same temporary "work-around" (toggling the setting) still works until the next NAS reboot.

Best Regards,
Bob

Before you do anything, do a full backup first.
Something is either stuck, or it is not saving a setting.

I think you need to do what As3nd0r mentioned, and reload the firmware in debug mode, with delete user data partition checked.
I would assume doing that- will wipe out everything you've saved on that nas.  So definitely do a full backup first.

If it was me, I'd do a full backup, then wipe the drives, and just start over loading the new 1.74 firmware in debug mode, with all the boxes checked for update and config.  This way everything is indeed forced to the defaults and cleared out also.

: Re: LS220 W10 SMB Issues
: burt February 09, 2020, 01:20:06 PM
This is the end, I hope.
Did nothing to make the i54 error go away other than removed the backup job, shut the power off waited a while and turned it back on. Ran for several days with no backup job. Recreated the backup job. Ran for a few more days. Ran backup job to completion on USB drive plugged into the LS220, no problems. Unit has been running for about 10 days. My problems started at about the time of a Windows 10 update.
I tried running SMBv2 for about 5 days. Computers keep disappearing and re-appearing on my 3 desktop, 1 laptop and the LS220, network. Must confess I gave up and went back to SMBv1. Problem free for over a week. My view is u$oft has a real problem with their implementation of SMBv2.
Until the next problem.......
: Re: LS220 W10 SMB Issues
: derekpittx February 11, 2020, 07:30:23 AM
Hello,

I have a very similar issue.  I've got a case open with Support.  They said that they haven't seen any other reports of the issue.

In my case, I also have a Win7 and Win10 workstation connecting to the NAS.  Just recently (sometime after January 17, 2020) the Win10 stopped connecting to the NAS, with the error, "You can't connect to the file share because it's not secure. This share requires the obsolete SMB1 protocol."  I verified that the SMB2 setting in the NAS is enabled.  I verified that SMB2 was enabled in Win10.

The Win7 connects OK.  However, I suspected this was an issue with SMB2, so I disabled SMB1 on the working Win7 workstation.  After that, the Win7 could no longer connect (until I re-enabled SMB1).  That suggested to me that the Win7 was only working because it was falling back to using SMB1.

What I have recently found is this...  If I start from a state where the Win10 cannot connect, if I toggle the SMB2 setting, in the NAS settings, from on to off, then back on, again, I am once again able to connect from the Win10 to the NAS.  However, if I reboot the NAS, it stops working, until I toggle the setting, again.

I started out with firmware 1.71, and upgraded to 1.73.  No change.

I'm going to send a link to this thread in my next ticket update with Buffalo Support. 

May I suggest that you also open a Support case with Buffalo.

Best Regards,
Bob


Damm even I am having a similar kind of issue, I have searched all over the internet and even have posted on number of threads on different forum, no solution seems to work. I am really frustrated, can anyone of you here help me resolve this issue, I am very much tired now.
: Re: LS220 W10 SMB Issues
: widomaker February 11, 2020, 10:49:04 AM
Damm even I am having a similar kind of issue, I have searched all over the internet and even have posted on number of threads on different forum, no solution seems to work. I am really frustrated, can anyone of you here help me resolve this issue, I am very much tired now.

Are you also using one of the LS220 units?  Does toggling the SMB setting, in the GUI, get it working temporarily (until the NAS reboots)?  If so, then you're having the same issue as I am.

My ticket with Support is still open.  They have something they want to try, but I need to find a time outside of business hours to work on it.  I'll post back when I've had time to work on it.

You might want to open a ticket with Support and reference this thread.
: Re: LS220 W10 SMB Issues
: widomaker February 11, 2020, 05:18:22 PM
I've been told by Support that another firmware update is under development and should be available soon.
: Re: LS220 W10 SMB Issues
: widomaker April 10, 2020, 05:19:45 PM
Well, it's now April and still no fix.

I will never purchase another Buffalo product again.
: Re: LS220 W10 SMB Issues
: 1000001101000 April 10, 2020, 05:27:00 PM
It has been a rough couple of months, especially in that part of the world.

Did I ever mention you can install Debian on these devices instead of the Buffalo Firmware?
https://github.com/1000001101000/Debian_on_Buffalo
: Re: LS220 W10 SMB Issues
: Kane88 April 11, 2020, 05:44:08 AM
Well, it's now April and still no fix.

I will never purchase another Buffalo product again.

I wouldn't go that far.  If it's that big of a deal, then get a Terastation and either get rid of the LS220, or repurpose it.  Terastations are much faster.
: Re: LS220 W10 SMB Issues
: Kane88 April 11, 2020, 05:54:43 AM
Hello,

I have installed the new firmware (1.74) that was released, today.  I can see the new SMB option to specify which version (Auto, SMB1, or SMB2) to use.  I have tried selecting AUTO and SMB2.

When attempting connections, the problem issue remains exactly as previously described.  The same temporary "work-around" (toggling the setting) still works until the next NAS reboot.

Best Regards,
Bob

This is for all of you who are having problems:
Since SMB 2.x works with the toggle until a reboot:  then just don't reboot the nas or shut it off.  That said, just don't do anything to the nas- that would make you need to restart it, or shut it off.

That's all that can be done right now (besides installing linux), until if/when Buffalo fixes the problem.

If something else on the nas doesn't work, to where you have to reboot.  Then don't use that feature for now.
If backup jobs are throwing errors that can only be cleared with a reboot, then don't use them.  Do manual backups from a pc for now.
If the sleep timers are acting up and not working right or causing loss of drive access, then don't use them for now.


NAS were meant to be left on 24/7 pretty much anyway.  People shouldn't be rebooting their NAS daily, or even many times in a week- outside of seldom config changes. 

These LS220D units were designed to be low power (The power supply is like 65W or so).  At 10 cents per kilowatt- it's less than 5 bucks per month to leave it on 24/7.

Honestly, I don't know why some people are even using sleep timers with these, or shutting them off at all- to save what- 2 dollars?  It is best to just leave the NAS on and let the drives spin.  All the constant on/off just puts more wear and tear on the disk motors, with all the spin up and spin down.  Any power saved is most likely a wash because the spin up eats up a bunch of power alone. 

-----

The only other suggestion I have - is to create a Virtual Machine and access the NAS with SMB 1.x, don't use the vm for anything else.  If you're super concerned, then block the vm from accessing outside networks.  If you want to make a VM, get Oracle VirtualBox (it is free) or something similar. 

You could do the same with an old pc too.  But don't use that pc for anything other than accessing the NAS.  If it has windows firewall, then just block the system from accessing outside networks.

I have a low risk machine for this purpose (Win 10 with SMB 1.x enabled), as some of the older buffalo terastation units- don't even support SMB 2.x.


If your PCs are behind a firewall (which most of them are these days)  You're probably not going to have SMB 1.x problems anyway.  You just have to be cautious in what you are using and accessing outside of your local network.  Use good judgement. Something has to be accessed outside the network, for SMB 1.x attacks to happen.
: Re: LS220 W10 SMB Issues
: burt April 14, 2020, 03:00:24 PM
This sounds more like there is a firmware issue (or messed up settings) - I would do a reset of the unit via the user interface or reinstall the firmware via debug deleting the user data (settings) partition.

I did this "firmware update via debug" for an issue with the ntp service. SMB seems to be working correctly after that.

Herb