[Solaris Tip] SVM Soft Partition Basics

Solaris Volume Manager (SVM) formerly called as Online DiskSuite and Solstice Disk Suite (SDS) is a volume manager that comes with the standard installation of Solaris 8, 9, and 10. But soft partition functionality was not included on the first release of SDS on Solaris 8, but it could be added with patch 108693-06 (latest). Upon introduction of Solaris 9, soft partition is included in SVM as one of it’s functionality.

Enough with the long history of SVM, but what is Soft Partition? Soft Partition divides (sub-divides) your partitions which bypasses the limitation of the 7 slices (slice 0 to 7 excluding slice 2) in Solaris Systems.

Here are some tips for usual tasks of a UNIX Administrator:

Checking for available FREE space for our Soft Partition:

[email protected]# metarecover -v -n d6 -p

Create a Soft Partition with 500MB space:

[email protected]# metainit d100 -p d6 500m
[email protected]# newfs /dev/md/rdsk/d100

Expanding an existing Soft Patition:

[email protected]# metattach d100 256m
[email protected]# growfs -M /export/home /dev/md/rdsk/d100

Troubleshooting: If in case you come accross this kind of errors:

d6: On-disk structures invalid or no soft partitions found.

Just recreate its metadata and your good to go!

[email protected]# metarecover d6 -p -m

Removing the soft partition

[email protected]# metaclear d100

Hope this could help!

Readers who found this post were searching for:

  • solaris 10 svm cheat sheet
  • metarecover
  • what is soft partition in solaris 10
  • svm soft partition
  • solaris soft partitions
  • sun volume manager cheat sheet
  • how to create the soft partion from partition on solaris
  • solaris zone filesystem resize vxfs