Solaris 10: Create multi-terabyte UFS filesystem

Contributor Icon Contributed by qmchenry Date Icon November 26, 2005  
Tag Icon Tagged: Solaris system administration

Solaris 10 supports UFS filesystems up to 16TB (with files up to 1TB in case you get carried away writing the great American novel). To do this, the newfs command needs to be modified when creating the filesystem.


Creating a multiterabyte filesystem (assuming you have a disk array with that much storage on hand) can be done by adding the -T option to newfs:

newfs -T /dev/rdsk/c0t1d0s1

The -T option forces the fragsize option to be euqal to the logical block size (bsize). Fragsize determines the smallest chunk of disk space that can be used in a file and can usually be a power of two fraction of the block size, but must be equal to the block size for big filesystems.

In addition, -T sets the number of bytes per inode (nbpi) to 1MB (1048576). When the filesystem is created, the total size of the filesystem is divided by nbpi to determine the number of inodes to create.

Previous recipe | Next recipe |
 
  • flexinfo
    Thanks! ;)
  • vish
    I request the author of this article to provide the details of disks and volume managment software if any (SVM or VXVM etc) used for constructing a multiterabyte filesystem.
    appreciable are screen texts .. .. to me ..it is a BIG failure
blog comments powered by Disqus