I know this because I tested this. I posted a data.ods file on
zfsonlinux earlier when I was redoing my laptop SSD and I measured it.
What other change is necessary? Where does that change come from
(upstream onnv-gate latest version or LLNL?)
In the case of upstream, it should already have been merged into
unstable and perhaps testing. I'd like to check, though, so any
specifics would be welcome
On 07/22/2011 01:06 AM, Manuel Amador (Rudd-O) wrote:It won't work. You'll likely corrupt the data if you force the ashift 12 in the internal data structures.What other change is necessary? Where does that change come from (upstream onnv-gate latest version or LLNL?) In the case of upstream, it should already have been merged into unstable and perhaps testing.
commit af19acde5f7cd5791d158012bcef1f4aace4ef73
Author: Victor Latushkin <Victor.L...@Sun.COM>
Date: Sun Feb 21 22:58:08 2010 +0100
hg commit 11725:6720637 want zdb -l option to dump uberblock arrays as well
commit db2f633064b5b229ddc26b1003dadff3dbfcab85
Author: Mark J Musante <Mark.M...@Sun.COM>
Date: Wed Feb 17 15:19:58 2010 +0100
hg commit 11422:PSARC/2009/511 zpool split
5097228 provide 'zpool split' to create new pool by breaking all mirrors
6880831 memory leak in zpool add
6891438 zfs_ioc_userspace_upgrade could reference uninitialised error variable
6891441 zvol_create_minor sets local variable zv but never references it
6891442 spa_import() sets local variable spa but never references it
6895446 vdevs left open after removing slogs or offlining device/file
commit 5cdd8cf8067a48b121e39a6a1766238bfa8b98b2
Author: Jeff Bonwick <Jeff.B...@Sun.COM>
Date: Tue Nov 10 15:02:11 2009 +0100
hg commit 10922:PSARC 2009/571 ZFS Deduplication Properties
6677093 zfs should have dedup capability
commit c8e9062d8679f9a30fbdb826ac7d9f8857f35e06
Author: Adam Leventhal <adam.le...@sun.com>
Date: Wed Nov 4 13:55:58 2009 +0100
hg commit 10105:6854612 triple-parity RAID-Z
6854621 RAID-Z should mind the gap on writes
It depends on how you define '"hacked" zfs build with ashift=12
hardcoded into it'.
If, like Rudd-O implies, you start with an existing pool and edit the
on disk data to somehow force ashift=12, then most likely it would
lead to corruption.
However, if you mean "some implementation of zfs/zpool that can force
the use of ashift=12 at pool creation time", then the resulting pool
should be accessible in other implementations.
For example, zfsonlinux has ashift as zpool create option which you
could easily use to create pool with ashift=12. In (open)solaris you'd
need to use a workaround using a device which has 4k sector size as
top level vdev (iscsi is easiest), see
http://www.mail-archive.com/zfs-d...@opensolaris.org/msg46498.html
or http://opensolaris.org/jive/thread.jspa?threadID=139316 for
example. The resulting pool (whichever implementation/method used to
create it) should be readable on other implementation (as long as it's
capable of reading the pool version).
--
Fajar