[SunHELP] changing disk partitioning

Steve Sandau ssandau at gwi.net
Fri Mar 12 09:48:08 CST 2004


> I've got a Solaris 9 machine that I'm setting up.  The disk partitioning is
> below.
> 
> I'd like to split up slice #4 into 2 separate slices.  However when I try to
> do this, I do not see any way of writing the partition table back out.
> 
> Can this be done on a running system or is a reload of the OS my only
> option.  The drive only contains the OS so far.
> 
> partition> p
> Current partition table (original):
> Total disk cylinders available: 24620 + 2 (reserved cylinders)
> 
> Part      Tag    Flag     Cylinders         Size            Blocks
>   0       root    wm    4355 - 11613       10.00GB    (7259/0/0)  20971251
>   1       swap    wu       0 -  1451        2.00GB    (1452/0/0)   4194828
>   2     backup    wm       0 - 24619       33.92GB    (24620/0/0) 71127180
>   3        var    wm    1452 -  4354        4.00GB    (2903/0/0)   8386767
>   4 unassigned    wm   11614 - 24619       17.92GB    (13006/0/0) 37574334
>   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 don't think there's any problem doing that on a running system. 
Partition 4 appears to be usused. If I read your message right, I think 
you are looking for the "label" command (within format) which will write 
the partition table to the disk. Yes?

Steve



More information about the SunHELP mailing list