Solaris Volume Manager (SVM) How to 'growfs' an UFS on Top of a SVM mirror/concat/soft partition by Expanding an Existing LUN
(Doc ID 2018655.1)
Last updated on NOVEMBER 15, 2017
Applies to:Solaris Cluster - Version 3.0 to 4.3 [Release 3.0 to 4.3]
Sun Solaris Volume Manager (SVM) - Version 11.9.0 to 11.11 [Release 11.0]
Oracle Solaris on SPARC (64-bit)
Oracle Solaris on SPARC (32-bit)
Oracle Solaris on x86-64 (64-bit)
Oracle Solaris on x86 (32-bit)
Solstice Disk Suite (SDS) and Solaris Volume Manager (SVM) have traditionally allowed you to increase the amount of available space on mirror/concat/raid 5/soft partition.
The aim of this document is to provide you with practical examples on how to achieve the goal of increasing the file system (fs) size by expanding the LUNs used for metadevices in any possible configurations.
Before increasing the fs size, you will need to increase the metadevice underlying layer by adding new free space on it.
With this document free space will be added by expanding the existing LUNs at the storage level.
Such a change can be achieved *only* offline unmounting the fs.
The reason is that there is no way to make SVM aware of the new size of the partition/LUN. To increase the size of the SVM metadevice and filesystem you will have to remove metadevice and to recreate it afterwards.
The subsequent growing of the file system will ONLY work if the amount of space added does not alter the existing drive geometry or structure of the disk label. If the disk label gets altered in any way other than appending more sectors to the existing structure, data must be restored afterwards.
One example of such a change, where is no fs expansion possible, is a LUN expansion that forces a transition from SMI to EFI label. (On Solaris 10, anything greater than 2 TB requires an EFI label.)
The following are different metadevices type you may deal with:
D) raid 5
E) soft partition
Either if you have a stripe (C) or a raid 5 (D) metadevices, you cannot use this procedure because the recreation of the metadevice will destroy data (RAID 5 and the stripe need to be initialized). Therefore no examples available for (C) and (D) in this doc.
There are further limits to increase fs on SVM mirrored root. Details in:
<Document 1012206.1> Solaris Volume Manager How To Grow SVM (SDS) Mirrored root
If you want to expand your fs online by adding a new LUN you can refer to the following document:
<Document 2018654.1> Solaris Volume Manager (SVM) How to 'growfs' an UFS on Top of a SVM mirror/concat/raid5/soft partition by Adding a New LUN
It is always recommended to have a valid backup of the filesystem available before making such kind of changes.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!