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?

Solaris


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
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
    #2  
Old Unix and Linux 01-07-2009
DukeNuke2's Unix or Linux Image
DukeNuke2 DukeNuke2 is offline Forum Staff  
Soulman
 
Join Date: Jul 2006
Last Activity: 25 May 2015, 5:19 AM EDT
Location: Berlin, Germany
Posts: 5,492
Thanks: 61
Thanked 245 Times in 238 Posts
download the zfs admin guide and search for "blocksize":

http://dlc.sun.com/pdf/819-5461/819-5461.pdf
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 07:40 PM
block size bache_gowda UNIX for Dummies Questions & Answers 1 05-31-2007 06:21 AM
How to know the OS Block size Dilippatel UNIX for Dummies Questions & Answers 1 07-20-2004 06:23 AM
block size csaunders Solaris 3 05-19-2004 01:35 PM
block size linuxpenguin Filesystems, Disks and Memory 5 06-01-2002 01:11 AM



All times are GMT -4. The time now is 11:27 AM.