How do I set the block size in ZFS? | Unix Linux Forums | Solaris

  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 Thread    
Thread Tools Search this Thread Display Modes
Old 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 01-07-2009
DukeNuke2's Avatar
DukeNuke2 DukeNuke2 is offline Forum Staff  
Join Date: Jul 2006
Last Activity: 3 March 2015, 1:39 AM EST
Location: Berlin, Germany
Posts: 5,455
Thanks: 59
Thanked 236 Times in 229 Posts
download the zfs admin guide and search for "blocksize":
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 03:20 AM.