[zfs-discuss] mixing WD20EFRX and WD2002FYPS in one pool

2012-11-21 Thread Eugen Leitl
Hi,

after a flaky 8-drive Linux RAID10 just shredded about 2 TByte worth
of my data at home (conveniently just before I could make
a backup) I've decided to both go full redundancy as well as
all zfs at home.

A couple questions: is there a way to make WD20EFRX (2 TByte, 4k
sectors) and WD200FYPS (4k internally, reported as 512 Bytes?) 
work well together on a current OpenIndiana? Which parameters
need I give the zfs pool in regards to alignment? 

Or should I just give up, and go 4x WD20EFRX?

Secondly, has anyone managed to run OpenIndiana on an AMD E-350
(MSI E350DM-E33)? If it doesn't work, my only options would
be all-in-one with ESXi, FreeNAS, or zfs on Linux.

Thanks,
-- Eugen
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] mixing WD20EFRX and WD2002FYPS in one pool

2012-11-21 Thread Jan Owoc
HI Eugen,


On Wed, Nov 21, 2012 at 3:45 AM, Eugen Leitl eu...@leitl.org wrote:
 Secondly, has anyone managed to run OpenIndiana on an AMD E-350
 (MSI E350DM-E33)? If it doesn't work, my only options would
 be all-in-one with ESXi, FreeNAS, or zfs on Linux.

I'm currently running OI 151a7 on an AMD E-350 system (installed as
151a1, I think). I think it's the ASUS E35M-I [1]. I use it as a NAS,
so I only know that the SATA ports, USB port and network ports work -
sound, video acceleration, etc., are untested.

[1] http://www.asus.com/Motherboards/AMD_CPU_on_Board/E35M1I/


Jan
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] mixing WD20EFRX and WD2002FYPS in one pool

2012-11-21 Thread Eugen Leitl
On Wed, Nov 21, 2012 at 08:31:23AM -0700, Jan Owoc wrote:
 HI Eugen,
 
 
 On Wed, Nov 21, 2012 at 3:45 AM, Eugen Leitl eu...@leitl.org wrote:
  Secondly, has anyone managed to run OpenIndiana on an AMD E-350
  (MSI E350DM-E33)? If it doesn't work, my only options would
  be all-in-one with ESXi, FreeNAS, or zfs on Linux.
 
 I'm currently running OI 151a7 on an AMD E-350 system (installed as
 151a1, I think). I think it's the ASUS E35M-I [1]. I use it as a NAS,
 so I only know that the SATA ports, USB port and network ports work -
 sound, video acceleration, etc., are untested.

Thanks, this is great to know. The box will be headless, and
run in text-only mode. I have an Intel NIC in there, and don't
intend to use the Realtek port for anything serious.
I intend to boot off USB flash stick, and runn OI with napp-it.
8 GByte RAM, unfortunately not ECC, but it will do for a secondary 
SOHO NAS, as data is largely read-only.
 
 [1] http://www.asus.com/Motherboards/AMD_CPU_on_Board/E35M1I/
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] mixing WD20EFRX and WD2002FYPS in one pool

2012-11-21 Thread Jim Klimov

On 2012-11-21 16:45, Eugen Leitl wrote:

Thanks, this is great to know. The box will be headless, and
run in text-only mode. I have an Intel NIC in there, and don't
intend to use the Realtek port for anything serious.


My laptop based on AMD E2 VISION integrated CPU and Realtek Gigabit
had intermittent problems with rge driver (intr count went to
about 100k/sec and X11 locked up until I disconnected the LAN),
but these diminished or disappeared after I switched to gani
driver (source available from internet).

OI lacks support for the Radeon chips in my CPU (works as vesavga).
And USB3.


I intend to boot off USB flash stick, and runn OI with napp-it.
8 GByte RAM, unfortunately not ECC, but it will do for a secondary
SOHO NAS, as data is largely read-only.


Theoretically, if memory has a hiccup while scrub verifies your
disks, it can cause phantom checksum mismatches to be detected.
I am not sure about timing of reads and other events involved
in further reconstitution of the data - whether the recovery
attempt will use the re-read (and possibly correct) sector data
or if it will continue based on invalid buffer contents.

I guess ZFS being on the safe side should double-check the found
discrepancies and those sectors it's going to use to recover a
block, at least of the kernel knows it is on non-ECC RAM (if it
does), but I don't know if it really does that. (Worthy RFE if not).

HTH,
//Jim Klimov

___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] mixing WD20EFRX and WD2002FYPS in one pool

2012-11-21 Thread Timothy Coalson
On Wed, Nov 21, 2012 at 4:45 AM, Eugen Leitl eu...@leitl.org wrote:

 A couple questions: is there a way to make WD20EFRX (2 TByte, 4k
 sectors) and WD200FYPS (4k internally, reported as 512 Bytes?)
 work well together on a current OpenIndiana? Which parameters
 need I give the zfs pool in regards to alignment?


There is a way, but you don't give the parameters to zfs, see
http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disksOverriding
the Physical Sector Size.

Tim
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] mixing WD20EFRX and WD2002FYPS in one pool

2012-11-21 Thread Timothy Coalson
On Wed, Nov 21, 2012 at 1:29 PM, Timothy Coalson tsc...@mst.edu wrote:

 On Wed, Nov 21, 2012 at 4:45 AM, Eugen Leitl eu...@leitl.org wrote:

 A couple questions: is there a way to make WD20EFRX (2 TByte, 4k
 sectors) and WD200FYPS (4k internally, reported as 512 Bytes?)
 work well together on a current OpenIndiana? Which parameters
 need I give the zfs pool in regards to alignment?


 There is a way, but you don't give the parameters to zfs, see
 http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disksOverriding
  the Physical Sector Size.


Actually, you may not even need to do that, if the vdev specification
contains some disks that report 512 sectors and some that report 4k
sectors, it will use 4k sector alignment on all devices in that vdev.  So,
as long as each vdev you make has at least one EFRX in it, you will get
ashift=12, which is what you want.

Tim
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss