Problems with partitions

Hi. I newbie in solaris.

I have server T2000 with 2 disk on raid.

I have partitions:

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm     825 -  3916       15.00GB    (3092/0/0)   31464192
  1       swap    wu       0 -   824        4.00GB    (825/0/0)     8395200
  2     backup    wm       0 - 14086       68.35GB    (14087/0/0) 143349312
  3 unassigned    wm    3917 -  7008       15.00GB    (3092/0/0)   31464192
  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 unassigned    wm       0                0         (0/0/0)             0

I must have partition more then 20gb. I try to increase partition#3:

partition> 3
Part      Tag    Flag     Cylinders         Size            Blocks
  3 unassigned    wm    3917 -  7008       15.00GB    (3092/0/0)   31464192

Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[3917]:
Enter partition size[31464192b, 3092c, 7008e, 15363.38mb, 15.00gb]: 22.00gb

then i name this partition table as test1 and save

partition> name
Enter table name (remember quotes): test1

partition> q


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        inquiry    - show vendor, product and revision
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> save
Saving new partition definition
Enter file name["./format.dat"]:

But then a reboot (or not reboot server) partiotion3 have old value?

How I can increase partition value for new fs?

Use the growfs command.

I want to increase partition, but not filesystem!
I have only root filesystem (/). I want create new fs with space more then 20 gb! I have only 15(partition 3). About you say :"Use the growfs command."?

I overlook you didn't write the new label. Use the "label" command instead of "name".

I didn't understand, why label? how it would see it?

To label means to write the partition (a.k.a. slice) table. This is what you are failing to do.

1 Like

Thank you,jlliagre