Go to main content

Managing Devices in Oracle® Solaris 11.3

Exit Print View

Updated: April 2018
 
 

How to Create a File System on Removable Media

  1. (Optional) If necessary, format the media.
  2. (Optional) Create an alternate Solaris partition table.
    $ rmformat -s slice-file device-name

    A sample slice file appears similar to the following:

    slices: 0 = 0, 30MB, "wm", "home" :
    1 = 30MB, 51MB :
    2 = 0, 94MB, "wm", "backup" :
    6 = 81MB, 13MB
  3. Become an administrator.

    For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.3.

  4. Determine the appropriate file system type and select one of the following:
    # mkfs -F FS-type -o FS-type-specific-options device

    where FS-type-specific-options refers to options that are specific to the file system type you are creating.

    The following example creates a PCFS file system.

    # mkfs -F pcfs -o nofdisk,size=9800 /dev/rdsk/c11t0d0p0

    The following example create a UDFS file system.

    # mkfs -F udfs /dev/rdsk/c0t1d0p0