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
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.> dylan at techtangents.com <mailto:dylan at 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 >
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, dylan at 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 at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
On Fri, Jul 17, 2015 at 9:35 PM, dylan at techtangents.com < dylan at 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 at freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" >