This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
it will taken offline by the end of march 2021!
I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!
Samba/CIFS hangs during file transfer
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Samba/CIFS hangs during file transfer
Hello there
While setting up my Nas4Free Box 10.2 x86 latest rev atm (Asus P5SMX-SE Mobo, 1.g Ghz Celeron CPU, 2 GB Ram, Embedded install without swap on a 1GB USB Flash drive) the file transfer hangs while transfering a folder with a big number of little files from a 3.0 USB Hard Drive to a JBOD UFS composed of 2 drives.
Once the file transfert hangs it doesn't even work stopping the file transfer and usually if I try to stop it by killing the windows acitivity the next time I try to copy and rewrite the same file the transfer always stays at 0, then the number of file decreases untill it hangs again.
In the attachments there's the screenshot of my CIFS settings
While setting up my Nas4Free Box 10.2 x86 latest rev atm (Asus P5SMX-SE Mobo, 1.g Ghz Celeron CPU, 2 GB Ram, Embedded install without swap on a 1GB USB Flash drive) the file transfer hangs while transfering a folder with a big number of little files from a 3.0 USB Hard Drive to a JBOD UFS composed of 2 drives.
Once the file transfert hangs it doesn't even work stopping the file transfer and usually if I try to stop it by killing the windows acitivity the next time I try to copy and rewrite the same file the transfer always stays at 0, then the number of file decreases untill it hangs again.
In the attachments there's the screenshot of my CIFS settings
You do not have the required permissions to view the files attached to this post.
-
noclaf
- experienced User

- Posts: 116
- Joined: 08 Dec 2013 12:37
- Status: Offline
Re: Samba/CIFS hangs during file transfer
Try turning off asynchronous I/O. It caused a huge transfer penalty on my system. There is no error in the log?
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Re: Samba/CIFS hangs during file transfer
Seems like the problem was not related to Nas4Free, cause I've had the same issue while transferring from external hard drive to my computer hard drive. Btw I'm having issues connecting to the NAS while disabling guest open access, should I create a new thread or rename this and go on there?
Tnx by the way
Tnx by the way
NAS4Free 10.2.0.2 x86 Embedded (revision 1814) MoBo: ASUS P5SMX-SE CPU: Intel Celeron 1.6Ghz RAM: 2GB (2x 1GB) DDR2 Network Adapter: SiS 968 Integrated Gigabit + Kraun KR.X5 PCI NIC Storage: Building up, ATM 1,66 TB (2x500 GB SATA HDD RAID1, 500+250 GB SATA HDD JBOD + 250+160 GB PATA HDD Spare)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
-
noclaf
- experienced User

- Posts: 116
- Joined: 08 Dec 2013 12:37
- Status: Offline
Re: Samba/CIFS hangs during file transfer
We may try here.
If we can't solve you can start new thread.
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Re: Samba/CIFS hangs during file transfer
While transferring different files the problem presented once more.
It seems like the file transfer hangs while it finds a file that just exists, the classic windows asking if I wanna merge the same folders still comes out, but then, when should pop out the window asking me if I wanna replace a file, keep the old one, or rename, it just hangs, like it's endlessly copying (I've been waiting for a good 20 mins for a jpg file), and it hangs as soon as I try to stop the file transfer, what could this be about?
I also suspect that it is having some kind of difficulties managing various kind of links created in windows, the most obvious were the .lnk, that I deleted and replaced with a .txt as a reminder that I'll have to recreate the link directly in the NAS, but what about hard link and junctions? Is there any known issue?
The share I'm trying to copy stuff on is a RAID1 composed of 2x500GB Sata HDD, attached to a PCI Raid Controller from Nilox (NM-G02), and while I try to work with the hard drive (even via WebGUI) I get the following errors in the display attached to the NAS:
What is this about? Is it somehow related? Should I worry about my data get uncorrectly transfered and/or corrupted?
It seems like the file transfer hangs while it finds a file that just exists, the classic windows asking if I wanna merge the same folders still comes out, but then, when should pop out the window asking me if I wanna replace a file, keep the old one, or rename, it just hangs, like it's endlessly copying (I've been waiting for a good 20 mins for a jpg file), and it hangs as soon as I try to stop the file transfer, what could this be about?
I also suspect that it is having some kind of difficulties managing various kind of links created in windows, the most obvious were the .lnk, that I deleted and replaced with a .txt as a reminder that I'll have to recreate the link directly in the NAS, but what about hard link and junctions? Is there any known issue?
The share I'm trying to copy stuff on is a RAID1 composed of 2x500GB Sata HDD, attached to a PCI Raid Controller from Nilox (NM-G02), and while I try to work with the hard drive (even via WebGUI) I get the following errors in the display attached to the NAS:
Code: Select all
(ada5:ata5:0:0:0): READ_DMA48. ACB 25 00 f8 75 a0 40 32 00 00 00 08 00
(ada5:ata5:0:0:0): CAM status: ATA Status Error
(ada5:ata5:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 04 (ABRT)
(ada5:ata5:0:0:0): RES: 51 04 ff 75 a0 32 32 00 00 00 00
(ada5:ata5:0:0:0): Retrying command
(ada5:ata5:0:0:0): READ_DMA48. ACB: 25 00 80 a6 e6 40 34 00 00 00 40 00
(ada5:ata5:0:0:0): CAM status: Command timeout
(ada5:ata5:0:0:0): Retying command NAS4Free 10.2.0.2 x86 Embedded (revision 1814) MoBo: ASUS P5SMX-SE CPU: Intel Celeron 1.6Ghz RAM: 2GB (2x 1GB) DDR2 Network Adapter: SiS 968 Integrated Gigabit + Kraun KR.X5 PCI NIC Storage: Building up, ATM 1,66 TB (2x500 GB SATA HDD RAID1, 500+250 GB SATA HDD JBOD + 250+160 GB PATA HDD Spare)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Samba/CIFS hangs during file transfer
Can timeouts may be due to bad cabling, bad disk or unsupported controller.
Post smart status of ada5
Post smart status of ada5
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Re: Samba/CIFS hangs during file transfer
Here should be it.
By the way before adding this (and every) disk to the NAS I checked it with Crystal Disk Info (it's easy to use and read, and I'm not a big espert) on another computer and it told me it was ok, in case that could be of some help troubleshooting
Code: Select all
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (13200) seconds.
Offline data collection
capabilities: (0x51) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 154) minutes.
SCT capabilities: (0x303f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 1512
3 Spin_Up_Time 0x0027 186 180 021 Pre-fail Always - 1700
4 Start_Stop_Count 0x0032 094 094 000 Old_age Always - 6384
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
9 Power_On_Hours 0x0032 090 090 000 Old_age Always - 7880
10 Spin_Retry_Count 0x0033 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 094 094 000 Old_age Always - 6259
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 072 000 Old_age Always - 28
188 Command_Timeout 0x0032 087 001 000 Old_age Always - 780
190 Airflow_Temperature_Cel 0x0022 077 039 040 Old_age Always In_the_past 23
191 G-Sense_Error_Rate 0x0032 083 083 000 Old_age Always - 17
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 425
193 Load_Cycle_Count 0x0032 195 195 000 Old_age Always - 16730
194 Temperature_Celsius 0x0022 124 086 000 Old_age Always - 23
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 14
200 Multi_Zone_Error_Rate 0x0009 100 253 051 Pre-fail Offline - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delayNAS4Free 10.2.0.2 x86 Embedded (revision 1814) MoBo: ASUS P5SMX-SE CPU: Intel Celeron 1.6Ghz RAM: 2GB (2x 1GB) DDR2 Network Adapter: SiS 968 Integrated Gigabit + Kraun KR.X5 PCI NIC Storage: Building up, ATM 1,66 TB (2x500 GB SATA HDD RAID1, 500+250 GB SATA HDD JBOD + 250+160 GB PATA HDD Spare)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Samba/CIFS hangs during file transfer
I am not a S.M.A.R.T. expert, but the above are not great...
Also take a look at this:
This is an indication of bad cable. Change the cable and check if things improved. In fact all your problems may be caused by a bad cable.
Code: Select all
187 Reported_Uncorrect 0x0032 100 072 000 Old_age Always - 28
188 Command_Timeout 0x0032 087 001 000 Old_age Always - 780Code: Select all
UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 14
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Re: Samba/CIFS hangs during file transfer
I've tried swapping cable between ata5 and ata4 and that's ATA5 SMART (Do I need to refresh somehow the SMART log or it does automatically?)
By the way How can I troubleshoot between cable, disk and controller issues?
To make sure the problem is not the BSD controller support I was thinking about installing windows on a different HDD and check all the disk with CrystalDiskInfo, but it seems to me quite a radical solution, isn't there a less convoluted and time consuming way?
May this be related to AHCI being turned on, or with APIC/ACPI?
Code: Select all
== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
See vendor-specific Attribute list for marginal Attributes.
General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (13200) seconds.
Offline data collection
capabilities: (0x51) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 2) minutes.
Extended self-test routine
recommended polling time: ( 154) minutes.
SCT capabilities: (0x303f) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 1512
3 Spin_Up_Time 0x0027 184 180 021 Pre-fail Always - 1758
4 Start_Stop_Count 0x0032 094 094 000 Old_age Always - 6386
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0
9 Power_On_Hours 0x0032 090 090 000 Old_age Always - 7885
10 Spin_Retry_Count 0x0033 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 094 094 000 Old_age Always - 6261
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 072 000 Old_age Always - 28
188 Command_Timeout 0x0032 087 001 000 Old_age Always - 780
190 Airflow_Temperature_Cel 0x0022 075 039 040 Old_age Always In_the_past 25
191 G-Sense_Error_Rate 0x0032 083 083 000 Old_age Always - 17
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 426
193 Load_Cycle_Count 0x0032 195 195 000 Old_age Always - 16737
194 Temperature_Celsius 0x0022 122 086 000 Old_age Always - 25
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 14
200 Multi_Zone_Error_Rate 0x0009 100 253 051 Pre-fail Offline - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.To make sure the problem is not the BSD controller support I was thinking about installing windows on a different HDD and check all the disk with CrystalDiskInfo, but it seems to me quite a radical solution, isn't there a less convoluted and time consuming way?
May this be related to AHCI being turned on, or with APIC/ACPI?
NAS4Free 10.2.0.2 x86 Embedded (revision 1814) MoBo: ASUS P5SMX-SE CPU: Intel Celeron 1.6Ghz RAM: 2GB (2x 1GB) DDR2 Network Adapter: SiS 968 Integrated Gigabit + Kraun KR.X5 PCI NIC Storage: Building up, ATM 1,66 TB (2x500 GB SATA HDD RAID1, 500+250 GB SATA HDD JBOD + 250+160 GB PATA HDD Spare)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: Samba/CIFS hangs during file transfer
no the count will not reset.
also your drive at some stage in the past got way to hot and failed the Airflow_Temperature_Cel
please read
https://www.backblaze.com/blog/hard-drive-smart-stats/
From experience, we have found the following 5 SMART metrics indicate impending disk drive failure:
SMART 5 – Reallocated_Sector_Count.
SMART 187 – Reported_Uncorrectable_Errors.
SMART 188 – Command_Timeout.
SMART 197 – Current_Pending_Sector_Count.
SMART 198 – Offline_Uncorrectable.
also your drive at some stage in the past got way to hot and failed the Airflow_Temperature_Cel
please read
https://www.backblaze.com/blog/hard-drive-smart-stats/
From experience, we have found the following 5 SMART metrics indicate impending disk drive failure:
SMART 5 – Reallocated_Sector_Count.
SMART 187 – Reported_Uncorrectable_Errors.
SMART 188 – Command_Timeout.
SMART 197 – Current_Pending_Sector_Count.
SMART 198 – Offline_Uncorrectable.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Re: Samba/CIFS hangs during file transfer
So, if I'm getting it right, aside from Command_Timeout and Reported Uncorrectable Errors others parameters sounds fine.
Also, Command Timeout and Reported Uncorrectable errors are about past events (how did you get from it that the cause was getting hot? It sound real cool to be able to understand how it happened!), so now I should keep an eye and see if those counters go higher or stay stable, and if it increase, start thinking about replacing it, am I gettin' it right?
What about the AHCI and ACPI stuff, may those be the one causing the high UDMA_CRC_Error_Count? May that be a FreeBSD unsupported controller to cause that or is that definitely a bad cable?
May that be some wrong setting in the RAID setup the cause?
Lastly, in order to understand if a cable is bad and troubleshoot which one are good and which one are not
199 UDMA_CRC_Error_Count is dinamyc or additive? I mean, if I switch cable to state that the cable is good I should check for the value not to increase or to come back to 0 (or lessen btw)?
Also, Command Timeout and Reported Uncorrectable errors are about past events (how did you get from it that the cause was getting hot? It sound real cool to be able to understand how it happened!), so now I should keep an eye and see if those counters go higher or stay stable, and if it increase, start thinking about replacing it, am I gettin' it right?
What about the AHCI and ACPI stuff, may those be the one causing the high UDMA_CRC_Error_Count? May that be a FreeBSD unsupported controller to cause that or is that definitely a bad cable?
May that be some wrong setting in the RAID setup the cause?
Lastly, in order to understand if a cable is bad and troubleshoot which one are good and which one are not
199 UDMA_CRC_Error_Count is dinamyc or additive? I mean, if I switch cable to state that the cable is good I should check for the value not to increase or to come back to 0 (or lessen btw)?
NAS4Free 10.2.0.2 x86 Embedded (revision 1814) MoBo: ASUS P5SMX-SE CPU: Intel Celeron 1.6Ghz RAM: 2GB (2x 1GB) DDR2 Network Adapter: SiS 968 Integrated Gigabit + Kraun KR.X5 PCI NIC Storage: Building up, ATM 1,66 TB (2x500 GB SATA HDD RAID1, 500+250 GB SATA HDD JBOD + 250+160 GB PATA HDD Spare)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Samba/CIFS hangs during file transfer
The easier thing to do is change the cable and notice how things go after that.
If the cable was the problem, numbers should not increase.
If the cable was the problem, numbers should not increase.
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Re: Samba/CIFS hangs during file transfer
Well, I used another cable, cause I swapped ata4 and ata5 cables, ata 5 still gave me the error the first time I start an operation with the drive (both from CIFS/SMB and the file manager integrated in WEBGui
Would be a safe guess that is not the cable?
Is there a chance it's a misconfigured RAID or some other kind of software error or is definetly the disk going to graveyard?
Lastly, is there a chance this is related to the CIFS/SMB problem I'm having even if this disk is in a RAID1?
Code: Select all
(ada5:ata5:0:0:0): READ_DMA48. ACB 25 00 80 67 ed 40 32 00 00 00 40 00
(ada5:ata5:0:0:0): CAM status: command timeout
(ada5:ata5:0:0:0): Retrying command
Is there a chance it's a misconfigured RAID or some other kind of software error or is definetly the disk going to graveyard?
Lastly, is there a chance this is related to the CIFS/SMB problem I'm having even if this disk is in a RAID1?
NAS4Free 10.2.0.2 x86 Embedded (revision 1814) MoBo: ASUS P5SMX-SE CPU: Intel Celeron 1.6Ghz RAM: 2GB (2x 1GB) DDR2 Network Adapter: SiS 968 Integrated Gigabit + Kraun KR.X5 PCI NIC Storage: Building up, ATM 1,66 TB (2x500 GB SATA HDD RAID1, 500+250 GB SATA HDD JBOD + 250+160 GB PATA HDD Spare)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Samba/CIFS hangs during file transfer
We cannot be 100% sure it is the drive ( in any case, with 28 uncorrectable sectors it is not at its best....)
You can also try a different power connection to the drive to eliminate the possibility of bad power and also a smart long test to see the results.
The final test would be to insert the drive to a different port. If it still throws errors, then it must be the drive.
Unfortunately it is not exact science.. We must follow the process of elimination.
You can also try a different power connection to the drive to eliminate the possibility of bad power and also a smart long test to see the results.
The final test would be to insert the drive to a different port. If it still throws errors, then it must be the drive.
Unfortunately it is not exact science.. We must follow the process of elimination.
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- b0ssman
- Forum Moderator

- Posts: 2438
- Joined: 14 Feb 2013 08:34
- Location: Munich, Germany
- Status: Offline
Re: Samba/CIFS hangs during file transfer
Another cable will not fix the drive.
The temperature failure was in the past and exceeded the allowed temperature for the drive. This could have caused permanent damage to the drive and might be the cause of the command timeouts.
At this point I would claysify the drive as unusable.
Gesendet von meinem D5803 mit Tapatalk
The temperature failure was in the past and exceeded the allowed temperature for the drive. This could have caused permanent damage to the drive and might be the cause of the command timeouts.
At this point I would claysify the drive as unusable.
Gesendet von meinem D5803 mit Tapatalk
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Re: Samba/CIFS hangs during file transfer
A line during the boot process, from both the RAID1 disks, caught my attention.
May this be related to the problem?
By the way I tested switching ATA4 and ATA5 Power Cable, it doesn't seems to affect the problem. Maybe making it even worst cause after I did that, while I was accessing the disk I had a system crash and it doesn't seem able to reboot properly
Then I'm gonna format both drive and try not building the RAID, do the smart test and see if the initial problem (hanging during file transferts) still affect both, in order to know if ata5 is the source of the problem or just a coincident one.
Code: Select all
The secondary GTP header is not in the last LBABy the way I tested switching ATA4 and ATA5 Power Cable, it doesn't seems to affect the problem. Maybe making it even worst cause after I did that, while I was accessing the disk I had a system crash and it doesn't seem able to reboot properly
Then I'm gonna format both drive and try not building the RAID, do the smart test and see if the initial problem (hanging during file transferts) still affect both, in order to know if ata5 is the source of the problem or just a coincident one.
NAS4Free 10.2.0.2 x86 Embedded (revision 1814) MoBo: ASUS P5SMX-SE CPU: Intel Celeron 1.6Ghz RAM: 2GB (2x 1GB) DDR2 Network Adapter: SiS 968 Integrated Gigabit + Kraun KR.X5 PCI NIC Storage: Building up, ATM 1,66 TB (2x500 GB SATA HDD RAID1, 500+250 GB SATA HDD JBOD + 250+160 GB PATA HDD Spare)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
- daoyama
- Developer

- Posts: 394
- Joined: 25 Aug 2012 09:28
- Location: Japan
- Status: Offline
Re: Samba/CIFS hangs during file transfer
No, this is chicken-and-egg problem. You cannot solve it.RobertoBenzi wrote:A line during the boot process, from both the RAID1 disks, caught my attention.
May this be related to the problem?Code: Select all
The secondary GTP header is not in the last LBA
All users get this message both shutdown and boot anyway.
Each physical disk before loading RAID driver:
|GPT|data|GPT secondary|RAID info|
After loading, create logical volume:
|GPT|data|GPT secondary|
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Samba/CIFS hangs during file transfer
If you perform a format, make sure that you connect this disk to a different sata port this time.
The number will most probably change if you do that, (e.g. it will be ada6 now) so if on a different sata port the same disk keeps causing problem, then get rid of it.
The number will most probably change if you do that, (e.g. it will be ada6 now) so if on a different sata port the same disk keeps causing problem, then get rid of it.
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Re: Samba/CIFS hangs during file transfer
I reworked the disposal and composition of the RAID and now it seems to work, although performances weren't atonishing during upload (about 19MB/s with a direct Gigabit connection). While above HDD failure seems related to the problem also Windows difficulties in handling the copy of broken symlinks were involved.
I am trying to make sure that every file got loaded, is there a cleaner way to do that other then double check source and destination with folder proprieties within windows? (this process for sata shares seems very slow, doing on the hard drive side takes seconds, collecting file and folder number and dimensions is taking several minutes, although slowly progressing, is that normal?)
I am trying to make sure that every file got loaded, is there a cleaner way to do that other then double check source and destination with folder proprieties within windows? (this process for sata shares seems very slow, doing on the hard drive side takes seconds, collecting file and folder number and dimensions is taking several minutes, although slowly progressing, is that normal?)
NAS4Free 10.2.0.2 x86 Embedded (revision 1814) MoBo: ASUS P5SMX-SE CPU: Intel Celeron 1.6Ghz RAM: 2GB (2x 1GB) DDR2 Network Adapter: SiS 968 Integrated Gigabit + Kraun KR.X5 PCI NIC Storage: Building up, ATM 1,66 TB (2x500 GB SATA HDD RAID1, 500+250 GB SATA HDD JBOD + 250+160 GB PATA HDD Spare)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
-
noclaf
- experienced User

- Posts: 116
- Joined: 08 Dec 2013 12:37
- Status: Offline
Re: Samba/CIFS hangs during file transfer
Have you played a bit with SAMBA settings? Juggling with few number and checkboxes get me from ~25MB/s to ~70MB/s
-
RobertoBenzi
- Starter

- Posts: 28
- Joined: 21 Nov 2012 17:10
- Status: Offline
Re: Samba/CIFS hangs during file transfer
Well I haven't checked yet any guide/tutorial about tuning samba performances, at the moment my concern is more about the drives and shares being functional and not having any hidden misfunction.
NAS4Free 10.2.0.2 x86 Embedded (revision 1814) MoBo: ASUS P5SMX-SE CPU: Intel Celeron 1.6Ghz RAM: 2GB (2x 1GB) DDR2 Network Adapter: SiS 968 Integrated Gigabit + Kraun KR.X5 PCI NIC Storage: Building up, ATM 1,66 TB (2x500 GB SATA HDD RAID1, 500+250 GB SATA HDD JBOD + 250+160 GB PATA HDD Spare)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
Installation Media: 1GB USB Flash w/o Swap
Running Services: CIFS/SMB (Kind of)
- ChriZathens
- Forum Moderator

- Posts: 758
- Joined: 23 Jun 2012 09:14
- Location: Athens, Greece
- Contact:
- Status: Offline
Re: Samba/CIFS hangs during file transfer
Disable Store Dos Attributes in samba settings.RobertoBenzi wrote: I am trying to make sure that every file got loaded, is there a cleaner way to do that other then double check source and destination with folder proprieties within windows? (this process for sata shares seems very slow, doing on the hard drive side takes seconds, collecting file and folder number and dimensions is taking several minutes, although slowly progressing, is that normal?)
My Nas
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
- Case: Fractal Design Define R2
- M/B: Supermicro x9scl-f
- CPU: Intel Celeron G1620
- RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
- PSU: Chieftec 850w 80+ modular
- Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
- O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
- Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S
Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)
-
Faucon_2001
- NewUser

- Posts: 5
- Joined: 01 Nov 2012 17:54
- Status: Offline
Re: Samba/CIFS hangs during file transfer
I got a similar issue while upgrading from 9.2 to 10.2
It appears that NAS4free configuration file from 9.2 that I reuse didn't get on well with 10.2. Quite strange as I have not read about any incompatibility.
I had to reset NAS4Free 10.2 to factory configuration and reddo my setup manually.
Now it no longer hangs up during file transfer, nor with the GUI browser nor with CIFS
It appears that NAS4free configuration file from 9.2 that I reuse didn't get on well with 10.2. Quite strange as I have not read about any incompatibility.
I had to reset NAS4Free 10.2 to factory configuration and reddo my setup manually.
Now it no longer hangs up during file transfer, nor with the GUI browser nor with CIFS