Solaris 10: Create multi-terabyte UFS filesystem

Home -> UNIX -> Solaris -> System administration

12015 views

From the computer of: qmchenry (338 recipes)
Created: Nov 26, 2005


0 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

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.

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.





Related recipes:

  ZFS: Set or change the mount point of a filesystem
  Solaris: unmounting a filesystem with umount
  Boot Solaris from CD-ROM to solve problems
  Solaris: Mount filesystem with UFS logging enabled
  ZFS: Create a mirrored storage pool
  ZFS: Create a writable clone of a filesystem
  Solaris: fuser to find users or processes making filesystem umount fail
  ZFS: Create a new filesystem from an existing pool
  Create a local Solaris flash archive
  ZFS: Create a basic filesystem or pool using zpool

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.