Unix/Linux Go Back    

Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

How do I set the block size in ZFS?


Closed Linux or Unix Question    
Thread Tools Search this Thread Display Modes
Old Unix and Linux 01-06-2009
sqa777 sqa777 is offline
Registered User
Join Date: Dec 2008
Last Activity: 20 February 2009, 2:14 AM EST
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
How do I set the block size in ZFS?

I was able to create a zpool and then created a zfs filesystem (BTW, thanks to all those who helped me get by the hard drive formatting issues I had posted here earlier).

I read that ZFS does variable block size, that is, a user can specify a blocksize, and if a file is smaller than the user specified blocksize, the file would be the smallest power of two between 512 bytes and the user specified blocksize.

Just how would I specify the blocksize? Is that an option I have to use in the zpool create command?
Sponsored Links
Old Unix and Linux 01-07-2009
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is offline Forum Staff  
Join Date: Jul 2006
Last Activity: 28 November 2015, 10:34 AM EST
Location: Berlin, Germany
Posts: 5,541
Thanks: 63
Thanked 259 Times in 251 Posts
download the zfs admin guide and search for "blocksize":

Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Block Size Ruben78 AIX 3 04-28-2008 08:40 PM
block size bache_gowda UNIX for Dummies Questions & Answers 1 05-31-2007 07:21 AM
How to know the OS Block size Dilippatel UNIX for Dummies Questions & Answers 1 07-20-2004 07:23 AM
block size csaunders Solaris 3 05-19-2004 02:35 PM
block size linuxpenguin Filesystems, Disks and Memory 5 06-01-2002 02:11 AM

All times are GMT -4. The time now is 06:01 PM.