Hi All,
First off, thanks for the great site and for FreeNAS itself. Here is my build for a home NAS:
So here is the problem I ran into. I created multiple datasets. I had setup a CIFS share for one of them and had begun copying a ton of files over from my Mac. I had also started a copy from a Windows laptop as well. While this was going on, I was creating CIFS shares for my other datasets, when all of a sudden, the system reboots.
I'm still learning, so I apologize as I probably don't have everything needed, but here is what I found in /var/log/messages before the reboot
Now, when I first looked at this, I thought maybe the issue was that I didn't realize it was restarting smbd when I setup those other shares. I guess I should have figured that and that copying files while doing that was probably not the best idea. But I look at this and it appears the failure is really to write to the flash drive?
When the system came back up, I tried to access my share again from the Mac and it failed. When I went into the FreeNAS shell, I typed smbd and voila, the share was accessible again. Also, ran a scrub and found no issues with the pool and hard drives.
Anyway, I haven't had it happen since, I guess I 'm just looking for some advice to test or fix. Maybe just replace that flash drive with something else? Anyway to give the flash drive a good test? Don't create shares while copying files to another share?
Thanks!
First off, thanks for the great site and for FreeNAS itself. Here is my build for a home NAS:
- Supermicro X10SLM-F-O motherboard
- Intel Xeon E3-1230 v3 processor
- 16 GB (8x2) Crucial DDR3-1600 ECC RAM
- Seasonic 450W Power Supply
- 4 Seagate NAS HDD 3 TB
- 2 Seagate Barracuda 3TB (already had these)
- Team C12G 8GB USB 2.0 Flash Drive
- Cyberpower CP1000AVRLCD UPS connected via USB
So here is the problem I ran into. I created multiple datasets. I had setup a CIFS share for one of them and had begun copying a ton of files over from my Mac. I had also started a copy from a Windows laptop as well. While this was going on, I was creating CIFS shares for my other datasets, when all of a sudden, the system reboots.
I'm still learning, so I apologize as I probably don't have everything needed, but here is what I found in /var/log/messages before the reboot
Code:
Jun 30 22:35:53 freenas notifier: Reloading smbd. Jun 30 22:35:53 freenas notifier: Reloading winbindd. Jun 30 22:36:05 freenas kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 05 24 0f 00 00 08 00 Jun 30 22:36:05 freenas kernel: (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jun 30 22:36:05 freenas kernel: (da0:umass-sim0:0:0:0): Retrying command Jun 30 22:36:11 freenas kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 05 24 0f 00 00 08 00 Jun 30 22:36:11 freenas kernel: (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jun 30 22:36:11 freenas kernel: (da0:umass-sim0:0:0:0): Retrying command Jun 30 22:36:16 freenas kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 05 24 0f 00 00 08 00 Jun 30 22:36:16 freenas kernel: (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jun 30 22:36:16 freenas kernel: (da0:umass-sim0:0:0:0): Retrying command Jun 30 22:36:22 freenas kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 05 24 0f 00 00 08 00 Jun 30 22:36:22 freenas kernel: (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jun 30 22:36:22 freenas kernel: (da0:umass-sim0:0:0:0): Retrying command Jun 30 22:36:00 freenas root: Unknown USB device: vendor 0x0764 product 0x0501 bus uhub2 Jun 30 22:36:27 freenas kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB: 2a 00 00 05 24 0f 00 00 08 00 Jun 30 22:36:27 freenas kernel: (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jun 30 22:36:27 freenas kernel: g_vfs_done():ufs/FreeNASs1a[WRITE(offset=172470272, length=4096)]error = 5 Jun 30 22:36:27 freenas kernel: g_vfs_done():ufs/FreeNASs1a[WRITE(offset=172507136, length=4096)]error = 5 Jun 30 22:36:27 freenas kernel: g_vfs_done():ufs/FreeNASs1a[WRITE(offset=172511232, length=4096)]error = 5
Now, when I first looked at this, I thought maybe the issue was that I didn't realize it was restarting smbd when I setup those other shares. I guess I should have figured that and that copying files while doing that was probably not the best idea. But I look at this and it appears the failure is really to write to the flash drive?
When the system came back up, I tried to access my share again from the Mac and it failed. When I went into the FreeNAS shell, I typed smbd and voila, the share was accessible again. Also, ran a scrub and found no issues with the pool and hard drives.
Anyway, I haven't had it happen since, I guess I 'm just looking for some advice to test or fix. Maybe just replace that flash drive with something else? Anyway to give the flash drive a good test? Don't create shares while copying files to another share?
Thanks!