[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


solaris -- format

Posted on 2006-04-12
Medium Priority
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

yuzh earned 2000 total points
ID: 16442034
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://www.ictp.trieste.it/~radionet/nuc1996/ref/usail/peripherals/disks/adding/solaris.html        (partition)
      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

ID: 16442080
Thanks yuzh, that should help a lot.

Have a nice holiday also.

Thank you!!!

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) 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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.
Suggested Courses

873 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