2012-08-15 13:24, Darren Reed пишет:
Is it possible to do an install using 4K blocks with ZFS
(with it querying the underlying disk) or is it necessary
to do an install with a 512 byte blocks for root and then
migrate over to a 4K disk afterwards using the various
methods posted on the web?

I recall that the most recent (or nearly so) discussion on
the subject ended in integration of overrides for sd.conf
to enforce particular sector size for your drives. See here:

http://wiki.illumos.org/display/illumos/ZFS+and+Advanced+Format+disks

Hopefully, you (and recent oi) can do this:
1) Boot from Live media installer
2) Override the current sd.conf like this pattern:
sd-config-list =
    "SEAGATE ST3300657SS", "physical-block-size:4096",
    "DGC     RAID", "physical-block-size:4096",
    "NETAPP  LUN", "physical-block-size:4096";

3) Run "update_drv -vf sd"
3*) For a quick check, create the rpool yourself from
    command-line and "zdb -L rpool | grep ashift" to
    validate the sector size used
4) Detect the disks with the installation wizard and set up
   the system in its supported ways.

Whatever value is used for the pool, will be used afterwards
regardless of sd.conf overrides, but you may want to make
that sure these tweaks - if they help - make it into your
installed OS (i.e. to add other pools on other partitions
of the same drive later). Since much of the installation
is "cpio" from the running image of live media, the changed
sd.conf might just get copied over. Validate to make sure ;)

Also I am not certain whether GRUB supports 4K sectors for
boot drives, or if some other parts of the system would
complain - so please write to the list (and/or the Wiki page)
about the results of your experiment ;)

HTH,
//Jim Klimov



-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to