Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Description

Platform
Category

:
:
:

Growing a File System Greater than 1TB


Solaris 10
How-To

Problem
Today i got a task about a resize. I have to grow a ufs filesystem more than 1 tb. I got the below error
message
"File system was not set up with the multi-terabyte format." "Its size cannot be increased to a
terabyte or more."
Cause
Attempted to expand a file system that was not created by using the newfs -T command.
Solution

Back up the data for the file system that you want to expand to greater than 1 terabyte.
Re-create the file system by using the newfs command to create a multiterabyte file system.
Restore the backup data into the newly created file system.

When creating a new UFS filesystem originally smaller than 1TB you must use the -T option with newfs
so ensure the filesystem can extended greater than 1TB when required.
# newfs -T /dev/rdsk/c#t#d#s#
In my experience i learned that a ufs filesystem needs to be created with multi-terabyte support at
beninning or this task will require a new filesystem creation !
# fstyp -v /dev/rdsk/c2t0d0s0 | head -2
ufs
magic 11954 format dynamic time Wed Feb 22 15:41:04 2012

# fstyp -v /dev/rdsk/c2t0d0s0 | head -2


ufs
magic decade format dynamic time Wed Feb 22 17:05:38 2012
So when decade exists we have a multi-tera support.

You might also like