partition> print
Current partition table (original):
Total disk cylinders available: 2045 + 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    wu       0 - 2044        3.99GB    (2045/0/0) 8376320
  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
  8       boot    wu       0 -    0        2.00MB    (1/0/0)       4096
  9 alternates    wm       1 -    2        4.00MB    (2/0/0)       8192

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]: 0
Enter partition size[0b, 0c, 0e, 0.00mb, 0.00gb]: 1022c
partition> 4
Part      Tag    Flag     Cylinders        Size            Blocks
  4 unassigned    wm       0               0         (0/0/0)          0

Enter partition id tag[unassigned]: 
Enter partition permission flags[wm]: 
Enter new starting cyl[0]: 1023
Enter partition size[0b, 0c, 1023e, 0.00mb, 0.00gb]: 1022c
partition> label
Ready to label disk, continue? y

partition> quit

format> quit
bash-3.2# prtvtoc /dev/rdsk/c1d0s2
* /dev/rdsk/c1d0s2 partition map
*
* Dimensions:
*     512 bytes/sector
*      32 sectors/track
*     128 tracks/cylinder
*    4096 sectors/cylinder
*    2047 cylinders
*    2045 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       2      5    01          0   8376320   8376319   /export/home2
       3      0    00          0   4186112   4186111
       4      0    00    4190208   4186112   8376319
       8      1    01          0      4096      4095
       9      9    00       4096      8192     12287

bash-3.2# prtvtoc /dev/rdsk/c1d0s3
* /dev/rdsk/c1d0s3 partition map
*
* Dimensions:
*     512 bytes/sector
*      32 sectors/track
*     128 tracks/cylinder
*    4096 sectors/cylinder
*    2047 cylinders
*    2045 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       2      5    01          0   8376320   8376319   /export/home2
       3      0    00          0   4186112   4186111
       4      0    00    4190208   4186112   8376319
       8      1    01          0      4096      4095
       9      9    00       4096      8192     12287
bash-3.2# prtvtoc /dev/rdsk/c1d0s4
* /dev/rdsk/c1d0s4 partition map
*
* Dimensions:
*     512 bytes/sector
*      32 sectors/track
*     128 tracks/cylinder
*    4096 sectors/cylinder
*    2047 cylinders
*    2045 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       2      5    01          0   8376320   8376319   /export/home2
       3      0    00          0   4186112   4186111
       4      0    00    4190208   4186112   8376319
       8      1    01          0      4096      4095
       9      9    00       4096      8192     12287
bash-3.2# newfs /dev/rdsk/c1d0s3
newfs: /dev/rdsk/c1d0s3 last mounted as /export/home2
newfs: construct a new file system /dev/rdsk/c1d0s3: (y/n)? y
/dev/rdsk/c1d0s3:       4186112 sectors in 1022 cylinders of 128 tracks, 32 
sectors
        2044.0MB in 45 cyl groups (23 c/g, 46.00MB/g, 11264 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 94272, 188512, 282752, 376992, 471232, 565472, 659712, 753952, 848192,
 3298432, 3392672, 3486912, 3581152, 3675392, 3769632, 3863872, 3958112,
 4052352, 4146592
bash-3.2# newfs /dev/rdsk/c1d0s4
newfs: construct a new file system /dev/rdsk/c1d0s4: (y/n)? y
/dev/rdsk/c1d0s4:       4186112 sectors in 1022 cylinders of 128 tracks, 32 
sectors
        2044.0MB in 45 cyl groups (23 c/g, 46.00MB/g, 11264 i/g)
super-block backups (for fsck -F ufs -o b=#) at:
 32, 94272, 188512, 282752, 376992, 471232, 565472, 659712, 753952, 848192,
 3298432, 3392672, 3486912, 3581152, 3675392, 3769632, 3863872, 3958112,
 4052352, 4146592
bash-3.2# mkdir /export/home03
bash-3.2# mkdir /export/home04
bash-3.2# mount /dev/dsk/c1d0s3  /export/home03
bash-3.2# mount /dev/dsk/c1d0s4  /export/home04
bash-3.2# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c0d0s0        8.7G   4.8G   3.8G    57%    /
/devices                 0K     0K     0K     0%    /devices
/dev                     0K     0K     0K     0%    /dev
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   974M   1.0M   973M     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       8.7G   4.8G   3.8G    57%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   973M    44K   973M     1%    /tmp
swap                   973M    40K   973M     1%    /var/run
/dev/dsk/c0d0s7         14G    15M    14G     1%    /export/home
/dev/dsk/c0d1s2        3.9G   4.0M   3.9G     1%    /export/home1
/dev/dsk/c1d0s3        1.9G   2.0M   1.9G     1%    /export/home03
/dev/dsk/c1d0s4        1.9G   2.0M   1.9G     1%    /export/home04
bash-3.2#
 
 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to