solaris -- format

Posted on 2006-04-12
Last Modified: 2013-12-21
Just installed solaris 9 on a box for testing, network and disk 1 is setup and working fine, I need to setup the 2nd disk.

This should be fairly simple but seen a few things that through me off, nerver had to actually patition one so wanted to see if I can get some pointers so I don't things messed up here.

On this second disk I just need to partition it with a few partions such as


have seen that the vfstab needs to be edited after the partitions are created, does the partition process not do that?

here is what I have right now far as the disk 2 that I need to partition goes.

        0      - change `0' partition
        1      - change `1' partition
        2      - change `2' partition
        3      - change `3' partition
        4      - change `4' partition
        5      - change `5' partition
        6      - change `6' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
partition> print
Current partition table (original):
Total disk cylinders available: 7506 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0 unassigned    wm       0               0         (0/0/0)           0
  1 unassigned    wm       0               0         (0/0/0)           0
  2     backup    wm       0 - 7505       16.86GB    (7506/0/0) 35368272
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6 unassigned    wm       0               0         (0/0/0)           0
  7       home    wm       0 - 7505       16.86GB    (7506/0/0) 35368272

Thanks for any pointers on this

Question by:bt707
    LVL 38

    Accepted Solution

    I suggest you to make it 3 (or just  1 partition), the name of the partions
    is the mount point of the disk device name of the partition (define in /etc/vfstab)


    /backup   (including archive)
    /opt         (including iplanet)

    You need to partition the disk first, then run newfs on each partion, then edit
    /etc/vfstab to mount the partions.

    PS: do NOT attemp to change partition 2 (it refer to the whole disk). make sure  the sum of all the other partions == 16.86GB  (Partition 2)

          please read
          http:Q_20556230.html (how to add the disk)
    PS: you might need to change the size of partions 7 before you can create another partions.

         Have a nice holiday!

    Author Comment

    Thanks yuzh, that should help a lot.

    Have a nice holiday also.

    Thank you!!!

    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (, discussed installing the Solaris Operating S…
    Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
    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.

    745 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

    14 Experts available now in Live!

    Get 1:1 Help Now