Re: Problems adding Intel 750 to zfs pool

2015-07-22 Thread Steven Hartland
Be aware that kern.geom.dev.delete_max_sectors will still come into play 
here hence the large request will still get chunked.


This is good to prevent excessively long running individual BIO's which 
would result in user operations being uncancelable.


Regards
Steve

On 21/07/2015 22:29, dy...@techtangents.com wrote:




Jim Harris 
22 July 2015 6:54 am


Hi Dylan,

I just committed SVN r285767 which should fix this issue.  I will 
request MFC to stable/10 after the 3 day waiting period.


Thanks,

-Jim


Love your work, Jim! Thank you.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Problems adding Intel 750 to zfs pool

2015-07-21 Thread dy...@techtangents.com




Jim Harris 
22 July 2015 6:54 am


Hi Dylan,

I just committed SVN r285767 which should fix this issue.  I will 
request MFC to stable/10 after the 3 day waiting period.


Thanks,

-Jim


Love your work, Jim! Thank you.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Problems adding Intel 750 to zfs pool

2015-07-21 Thread Jim Harris
On Fri, Jul 17, 2015 at 9:35 PM, dy...@techtangents.com <
dy...@techtangents.com> wrote:

> Hi,
>
> I've installed an Intel 750 400GB NVMe PCIe SSD in a Dell R320 running
> FreeBSD 10.2-beta-1... not STABLE, but not far behind, I think. Apologies
> if this is the wrong mailing list, or if this has been fixed in STABLE
> since the beta.
>
> Anyway, I've gparted it into 2 partitions - 16GB for slog/zil and 357GB
> for l2arc. Adding the slog partition to the pool takes about 2 minutes -
> machine seems hung during that time. Ping works, but I can't open another
> ssh session.
>
> Adding the l2arc doesn't seem to complete - it's been going 10 minutes now
> and nothing. Ping works, but I can't log in to the local console or another
> ssh session.
>
> I'm adding the partitions using their gpt names. i.e.
> zpool add zroot log gpt/slog
> zpool add zroot cache gpt/l2arc
>
> The system BIOS is up-to-date. The OS was a fresh 10.1 install, then
> freebsd-update to 10.2-beta2. 10.1 exhibited the same symptoms.
>
> Root is on zfs.
>
> Device was tested to be working on Windows 8.1 on a Dell T1700 workstation.
>
> Any ideas?
>

Hi Dylan,

I just committed SVN r285767 which should fix this issue.  I will request
MFC to stable/10 after the 3 day waiting period.

Thanks,

-Jim


> Cheers,
>
> Dylan Just
>
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Problems adding Intel 750 to zfs pool

2015-07-20 Thread Steven Hartland
Those figures are often inaccurate as the actual results can vary wildly 
based of if the device FW thinks there is actual data on the sectors 
being TRIM'ed.


Regards
Steve

On 20/07/2015 12:06, Will Green wrote:

I wonder if this is connected to NVMe?

Our SATA Intel DC S3500 drives (which are not that different to the 750s) TRIM 
much more quickly.

What does camcontrol think the secure erase time should be? For a 600GB S3500 
camcontrol accurately gives the secure erase time as 4 minutes:

# camcontrol security ada0

erase time4 min
enhanced erase time   4 min

Trimming drives before addition to a system is definitely worthwhile.

Will


On 20 Jul 2015, at 10:28, Steven Hartland  wrote:

This will almost certainly be due to slow TRIM support on the device.

Try setting the sysctl vfs.zfs.vdev.trim_on_init to 0 before adding the devices.

On 18/07/2015 05:35, dy...@techtangents.com wrote:

Hi,

I've installed an Intel 750 400GB NVMe PCIe SSD in a Dell R320 running FreeBSD 
10.2-beta-1... not STABLE, but not far behind, I think. Apologies if this is 
the wrong mailing list, or if this has been fixed in STABLE since the beta.

Anyway, I've gparted it into 2 partitions - 16GB for slog/zil and 357GB for 
l2arc. Adding the slog partition to the pool takes about 2 minutes - machine 
seems hung during that time. Ping works, but I can't open another ssh session.

Adding the l2arc doesn't seem to complete - it's been going 10 minutes now and 
nothing. Ping works, but I can't log in to the local console or another ssh 
session.

I'm adding the partitions using their gpt names. i.e.
zpool add zroot log gpt/slog
zpool add zroot cache gpt/l2arc

The system BIOS is up-to-date. The OS was a fresh 10.1 install, then 
freebsd-update to 10.2-beta2. 10.1 exhibited the same symptoms.

Root is on zfs.

Device was tested to be working on Windows 8.1 on a Dell T1700 workstation.

Any ideas?

Cheers,

Dylan Just

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Problems adding Intel 750 to zfs pool

2015-07-20 Thread Will Green
I wonder if this is connected to NVMe?

Our SATA Intel DC S3500 drives (which are not that different to the 750s) TRIM 
much more quickly.

What does camcontrol think the secure erase time should be? For a 600GB S3500 
camcontrol accurately gives the secure erase time as 4 minutes:

# camcontrol security ada0

erase time4 min
enhanced erase time   4 min

Trimming drives before addition to a system is definitely worthwhile.

Will

> On 20 Jul 2015, at 10:28, Steven Hartland  wrote:
> 
> This will almost certainly be due to slow TRIM support on the device.
> 
> Try setting the sysctl vfs.zfs.vdev.trim_on_init to 0 before adding the 
> devices.
> 
> On 18/07/2015 05:35, dy...@techtangents.com wrote:
>> Hi,
>> 
>> I've installed an Intel 750 400GB NVMe PCIe SSD in a Dell R320 running 
>> FreeBSD 10.2-beta-1... not STABLE, but not far behind, I think. Apologies if 
>> this is the wrong mailing list, or if this has been fixed in STABLE since 
>> the beta.
>> 
>> Anyway, I've gparted it into 2 partitions - 16GB for slog/zil and 357GB for 
>> l2arc. Adding the slog partition to the pool takes about 2 minutes - machine 
>> seems hung during that time. Ping works, but I can't open another ssh 
>> session.
>> 
>> Adding the l2arc doesn't seem to complete - it's been going 10 minutes now 
>> and nothing. Ping works, but I can't log in to the local console or another 
>> ssh session.
>> 
>> I'm adding the partitions using their gpt names. i.e.
>> zpool add zroot log gpt/slog
>> zpool add zroot cache gpt/l2arc
>> 
>> The system BIOS is up-to-date. The OS was a fresh 10.1 install, then 
>> freebsd-update to 10.2-beta2. 10.1 exhibited the same symptoms.
>> 
>> Root is on zfs.
>> 
>> Device was tested to be working on Windows 8.1 on a Dell T1700 workstation.
>> 
>> Any ideas?
>> 
>> Cheers,
>> 
>> Dylan Just
>> 
>> ___
>> freebsd-stable@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 
> ___
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Problems adding Intel 750 to zfs pool

2015-07-20 Thread Steven Hartland

This will almost certainly be due to slow TRIM support on the device.

Try setting the sysctl vfs.zfs.vdev.trim_on_init to 0 before adding the 
devices.


On 18/07/2015 05:35, dy...@techtangents.com wrote:

Hi,

I've installed an Intel 750 400GB NVMe PCIe SSD in a Dell R320 running 
FreeBSD 10.2-beta-1... not STABLE, but not far behind, I think. 
Apologies if this is the wrong mailing list, or if this has been fixed 
in STABLE since the beta.


Anyway, I've gparted it into 2 partitions - 16GB for slog/zil and 
357GB for l2arc. Adding the slog partition to the pool takes about 2 
minutes - machine seems hung during that time. Ping works, but I can't 
open another ssh session.


Adding the l2arc doesn't seem to complete - it's been going 10 minutes 
now and nothing. Ping works, but I can't log in to the local console 
or another ssh session.


I'm adding the partitions using their gpt names. i.e.
zpool add zroot log gpt/slog
zpool add zroot cache gpt/l2arc

The system BIOS is up-to-date. The OS was a fresh 10.1 install, then 
freebsd-update to 10.2-beta2. 10.1 exhibited the same symptoms.


Root is on zfs.

Device was tested to be working on Windows 8.1 on a Dell T1700 
workstation.


Any ideas?

Cheers,

Dylan Just

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Problems adding Intel 750 to zfs pool

2015-07-17 Thread dy...@techtangents.com

I found this:
https://lists.freebsd.org/pipermail/freebsd-fs/2015-February/020828.html

Seems to be related to vfs.zfs.vdev.trim_on_init - I turn this off and 
it adds immediately.




dy...@techtangents.com 
18 July 2015 2:35 pm
Hi,

I've installed an Intel 750 400GB NVMe PCIe SSD in a Dell R320 running 
FreeBSD 10.2-beta-1... not STABLE, but not far behind, I think. 
Apologies if this is the wrong mailing list, or if this has been fixed 
in STABLE since the beta.


Anyway, I've gparted it into 2 partitions - 16GB for slog/zil and 
357GB for l2arc. Adding the slog partition to the pool takes about 2 
minutes - machine seems hung during that time. Ping works, but I can't 
open another ssh session.


Adding the l2arc doesn't seem to complete - it's been going 10 minutes 
now and nothing. Ping works, but I can't log in to the local console 
or another ssh session.


I'm adding the partitions using their gpt names. i.e.
zpool add zroot log gpt/slog
zpool add zroot cache gpt/l2arc

The system BIOS is up-to-date. The OS was a fresh 10.1 install, then 
freebsd-update to 10.2-beta2. 10.1 exhibited the same symptoms.


Root is on zfs.

Device was tested to be working on Windows 8.1 on a Dell T1700 
workstation.


Any ideas?

Cheers,

Dylan Just


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Problems adding Intel 750 to zfs pool

2015-07-17 Thread dy...@techtangents.com

Hi,

I've installed an Intel 750 400GB NVMe PCIe SSD in a Dell R320 running 
FreeBSD 10.2-beta-1... not STABLE, but not far behind, I think. 
Apologies if this is the wrong mailing list, or if this has been fixed 
in STABLE since the beta.


Anyway, I've gparted it into 2 partitions - 16GB for slog/zil and 357GB 
for l2arc. Adding the slog partition to the pool takes about 2 minutes - 
machine seems hung during that time. Ping works, but I can't open 
another ssh session.


Adding the l2arc doesn't seem to complete - it's been going 10 minutes 
now and nothing. Ping works, but I can't log in to the local console or 
another ssh session.


I'm adding the partitions using their gpt names. i.e.
zpool add zroot log gpt/slog
zpool add zroot cache gpt/l2arc

The system BIOS is up-to-date. The OS was a fresh 10.1 install, then 
freebsd-update to 10.2-beta2. 10.1 exhibited the same symptoms.


Root is on zfs.

Device was tested to be working on Windows 8.1 on a Dell T1700 workstation.

Any ideas?

Cheers,

Dylan Just

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"