Pool on USB3 seem unstable (1.3.1-r2)
Posted: Sat Aug 29, 2015 12:44 am
Hello!
I have been using ZFS on Mac for some time now without any problems - using a one-disk pool on internal storage.
OS: MacOSX Yosemite 10.10.5
OpenZFS: 1.3.1-r2
I now wanted to try something fun. I wanted to create an array in an external box.
I bought an Inateck external 2.5" USB3 inclosure which also have a 3 port USB3 hub.
(http://www.inateck.com/portable-2-5-inc ... b-3-0-hub/)
In the inclousure I added an Intel 320 SSD (40GB) and for each of the 3 USB3 ports I inserted an 128GB Sandisk Ultrafit USB stick.
(http://www.sandisk.com/products/usb/drives/ultra-fit3/)
So I created a raidz1 of the 3 usb sticks. Created 3 partitions on the 40GB SSD - one for slog, one for cache and another one for data.
This gives me the following two pools:
The USBFlash pool is set to run compression 'gzip-9' on all filesystems.
But when copying large amounts of data (say 30GB) to the pool the copy stops. It seems like all IO to that pool is suspended.
'zpool status USBFlash' just hangs.
I tried to insert an USB2 hub in front of the external case to force it to slowdown (D-Link DUB-H7).
Then it seems like everything was stable (but somewhat slower of cause).
When IO is suspended the 'mds_stores' process takes up full CPU time for two (of the 4) kernels.
Is there any other information I can give to help fix this issue?
Best regards,
- Morten Green Hermansen, Fanitas
I have been using ZFS on Mac for some time now without any problems - using a one-disk pool on internal storage.
OS: MacOSX Yosemite 10.10.5
OpenZFS: 1.3.1-r2
I now wanted to try something fun. I wanted to create an array in an external box.
I bought an Inateck external 2.5" USB3 inclosure which also have a 3 port USB3 hub.
(http://www.inateck.com/portable-2-5-inc ... b-3-0-hub/)
In the inclousure I added an Intel 320 SSD (40GB) and for each of the 3 USB3 ports I inserted an 128GB Sandisk Ultrafit USB stick.
(http://www.sandisk.com/products/usb/drives/ultra-fit3/)
So I created a raidz1 of the 3 usb sticks. Created 3 partitions on the 40GB SSD - one for slog, one for cache and another one for data.
This gives me the following two pools:
- Code: Select all
NAME STATE READ WRITE CKSUM
USBSSD ONLINE 0 0 0
disk2s2 ONLINE 0 0 0
NAME STATE READ WRITE CKSUM
USBFlash ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
disk3 ONLINE 0 0 0
media-BD1EBFB3-4B7B-134A-A875-269D5C5E38B3 ONLINE 0 0 0
media-1DB8E8CA-4868-2D4E-B82E-464C0A687DAE ONLINE 0 0 0
logs
disk2s4 ONLINE 0 0 0
cache
disk2s3 ONLINE 0 0 0
The USBFlash pool is set to run compression 'gzip-9' on all filesystems.
But when copying large amounts of data (say 30GB) to the pool the copy stops. It seems like all IO to that pool is suspended.
'zpool status USBFlash' just hangs.
I tried to insert an USB2 hub in front of the external case to force it to slowdown (D-Link DUB-H7).
Then it seems like everything was stable (but somewhat slower of cause).
When IO is suspended the 'mds_stores' process takes up full CPU time for two (of the 4) kernels.
Is there any other information I can give to help fix this issue?
Best regards,
- Morten Green Hermansen, Fanitas