disk managment in solaris

Posted on 2012-08-14
Last Modified: 2012-08-21
Hello experts,

I am trying to configure slices on Solaris vm. Can someone please provide me a quick guide on how to do it and best practices with respect to corporate environment?

Thanks in advance
Question by:ashwin2012

    Expert Comment


    As far as I know, you're not able to configure slices at a VM level.
    You must fight with the slices thing only at "real machine" (Host machine) level.

    Author Comment

    i do not have a sparc machine so i configured VM for solaris on my x86 machine

    but since solaris 10 supports x86 architecture it is possible.
    LVL 76

    Expert Comment

    What drives does your host presents to the vm?

    Are you looking for command line options
    Metainit, metadb, metattach, etc. or are you looking o use the GUI disk management tool?

    Are you doing this during the install?

    Author Comment

    i read something like format command to make slices, as far as i know metainit,matadb,metattach are for Solaris volumen manager to create raid0,1,5
    LVL 76

    Expert Comment

    format is the partitioning tool.

    Author Comment

    i am sorry if my query had been confusing. so can you please provide partitioning info.
    LVL 76

    Accepted Solution

    Select the disk from the list that you want to partition
    Print will printout the current partition table on the disk.
    Do not delete partition number 2 which is/should be labeled as the backup and include the entire drive size.

    Choose a slice, 0-7, set the mount pont if needed, specify the starting cylinder, select the size f the partition usng actual size k,m,g etc or use number of cylinders.
    Select the next slice and make sure to use the starting cylinder as the last referenced (print to see the new partition table) +1.
    The new partition table will not be written to disk unless you hit w or answer yes when exiting the partition mode of format.
    Once the slices are defined, you would need to use newfs to create the filesystem n the slice.

    X86 versions of Solaris have been available from at least Solaris 8.
    LVL 22

    Assisted Solution

    If you are running Solaris 10, you might want to consider not using slices at all and just use the entire partition as a ZFS root drive. That is one of the advantages of ZFS, it simplifies the whole disk administration process.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
    About FreeBSD Jails In FreeBSD, jails are a way of doing operating system level virtualization.  The basis of FreeBSD jails is chroot (, which changes the root directory of processes.  As a…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now