Disk Partitioning

Solaris Disk Partitioning


bash-3.2# format
Searching for disks...done

AVAILABLE DISK SELECTIONS:
       0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
          /pci@0/pci@0/pci@2/scsi@0/sd@0,0
       1. c1t1d0 <HITACHI-H103014SCSUN146G-A2A8-136.73GB>
          /pci@0/pci@0/pci@2/scsi@0/sd@1,0
Specify disk (enter its number): 0
selecting c1t0d0
[disk formatted]
Warning: Current Disk has mounted partitions.
/dev/dsk/c1t0d0s0 is currently mounted on /. Please see umount(1M).
/dev/dsk/c1t0d0s1 is currently used by swap. Please see swap(1M).


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> verify

Primary label contents:

Volume name = <        >
ascii name  = <SUN146G cyl 14087 alt 2 hd 24 sec 848>
pcyl        = 14089
ncyl        = 14087
acyl        =    2
nhead       =   24
nsect       =  848
Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -  5152       50.01GB    (5153/0/0)  104873856
  1       swap    wu    5153 -  7213       20.00GB    (2061/0/0)   41945472
  2     backup    wm       0 - 14086      136.71GB    (14087/0/0) 286698624
  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 unassigned    wm       0                0         (0/0/0)             0

format> partition


PARTITION MENU:
        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
        quit
partition> 3
Part      Tag    Flag     Cylinders         Size            Blocks
  3 unassigned    wm       0                0         (0/0/0)             0

Enter partition id tag[unassigned]:
Enter partition permission flags[wm]:
Enter new starting cyl[0]: 7214
Enter partition size[0b, 0c, 7214e, 0.00mb, 0.00gb]: 66g

partition> label
Ready to label disk, continue? y

partition> print
Current partition table (unnamed):
Total disk cylinders available: 14087 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -  5152       50.01GB    (5153/0/0)  104873856
  1       swap    wu    5153 -  7213       20.00GB    (2061/0/0)   41945472
  2     backup    wm       0 - 14086      136.71GB    (14087/0/0) 286698624
  3 unassigned    wm    7214 - 14014       66.00GB    (6801/0/0)  138413952
  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

partition> quit

bash-3.2#
bash-3.2# newfs /dev/dsk/c1t0d0s3
newfs: construct a new file system /dev/rdsk/c1t0d0s3: (y/n)? y
Warning: 4224 sector(s) in last cylinder unallocated
/dev/rdsk/c1t0d0s3:     138413952 sectors in 22529 cylinders of 48 tracks, 128 sectors
        67584.9MB in 1409 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
Initializing cylinder groups:
...........................
super-block backups for last 10 cylinder groups at:
 137534368, 137632800, 137731232, 137829664, 137928096, 138026528, 138124960,
 138223392, 138321824, 138412064

mount /dev/dsk/c1t0d0s3 /axs

Comments

Popular posts from this blog

vmWare - Vcenter Server Appliance 5.5 - embedded DB problem

Installing Pytest on Windows Platform

X Forwarding with Putty on Windows