Suppose I have a drive that lies about blksz, but I want to do a root zpool on 
it... What do I do?
-- 
Skickat fr�n min Android-telefon med K-9 E-post. Urs�kta min f�ordighet.

Richard Elling <[email protected]> skrev:

                        

                                

On Feb 15, 2012, at 8:24 AM, Gordon Ross wrote:

                                
                                

                                        

A recent version of the "ashift" patch can be found here:
 http://yalms.org/cr/zfs-blksize/
                                        

                                

                                

                                        
                                

                                

Upon further consideration, the UI here is very inconsistent with other 
options. 

                                

Actually I think the UI issues are more difficult and important than the actual 
asize 

                                

change. To wit, no other nvlist options are set via vdev specification. I'd 
much 

                                

rather see any such setting as normal options.  In other words, the above code

                                

specifies something like:

                                

        zpool create zwimming blocksize=4096 c0t0d0

                                

rather than the more consistent:

                                

        zpool create -b 4k zwimming c0t0d0

                                

                                        
                                

                                

 -- richard

                                
                                

                                        

                                                
There are also changes there for the format command to make it do
megabyte aligned partitions.  With both changes in place, one can
ensure 4k-aligned access on an illumos partition.
                                                
Gordon
                                                
On Wed, Feb 15, 2012 at 8:22 AM, Alasdair Lumsden <[email protected]> wrote:
                                                

Hi Roy,
                                                

                                                

                                                        
                                                

                                                

                                                        

Any idea how much code this is? Or is it the old patch that was rejected a year 
ago or so?
                                                        

                                                

                                                

                                                        
                                                

                                                

It is indeed that patch.
                                                

                                                

                                                        
                                                

                                                

Illumos wasn't prepared to integrate it, but potentially OI could, as a 
workaround until Illumos provide whatever solution they had in mind.
                                                

                                                

                                                        
                                                

                                                

I'll try and get hold of the code.
                                                

                                                

                                                        
                                                

                                                

Regards,
                                                

                                                

                                                        
                                                

                                                

Alasdair
                                                

                                                

                                                        
                                                

                                                

-------------------------------------------
                                                

                                                

illumos-discuss
                                                

                                                

Archives: https://www.listbox.com/member/archive/182180/=now
                                                

                                                

RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175550-b1877313
                                                

                                                

Modify Your Subscription: https://www.listbox.com/member/?&;
                                                

                                                

Powered by Listbox: http://www.listbox.com
                                                

                                                
                                                
-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175743-23d1427b
Modify Your Subscription: https://www.listbox.com/member/?&;
Powered by Listbox: http://www.listbox.com
                                        

                                

                        

                        
                        

--

                                                                

DTrace Conference, April 3, 2012, 
http://wiki.smartos.org/display/DOC/dtrace.conf

                                                                

ZFS Performance and Training

                                                                

[email protected]
+1-760-896-4422
                                                                        
                                                                        
                                                                

                        
                        

                                 illumos-discuss | Archives   | Modify Your 
Subscription                        

                




-------------------------------------------
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