-- Es wird eine ganze Disks für die Soft Partition verwendet .
partition> p
Current partition table (original):
Total disk cylinders available: 7506 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 1 - 7505 16.86GB (7505/0/0) 35363560
1 unassigned wm 0 0 (0/0/0) 0
2 unassigned wm 0 0 (0/0/0) 0
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 wu 0 - 0 2.30MB (1/0/0) 4712
-- Disk wird in die MetaDB eingetragen
root@ffz00dm1 # metainit d22 1 1 c1t0d0s0
d22: Concat/Stripe is setup
-- drei Soft Partition werden angelegt.
root@ffz00dm1 # metainit d20 -p d22 500M
d20: Soft Partition is setup
root@ffz00dm1 # newfs /dev/md/rdsk/d20
newfs: construct a new file system /dev/md/rdsk/d20: (y/n)? y
root@ffz00dm1 # mkdir /aa
root@ffz00dm1 # mount /dev/md/dsk/d20 /aa
root@ffz00dm1 # metainit d21 -p d22 700M
d21: Soft Partition is setup
root@ffz00dm1 # newfs /dev/md/rdsk/d21
newfs: construct a new file system /dev/md/rdsk/d21: (y/n)? y
root@ffz00dm1 # mkdir /ab
root@ffz00dm1 # mount /dev/md/dsk/d21 /ab
root@ffz00dm1 # metainit d23 -p d22 1200
d23: Soft Partition is setup
root@ffz00dm1 # newfs /dev/md/rdsk/d23
newfs: construct a new file system /dev/md/rdsk/d23: (y/n)? y
root@ffz00dm1 # mkdir /ac
root@ffz00dm1 # mount /dev/md/dsk/d23 /ac
-- metaDB informationen.
root@ffz00dm1 # metastat -p
d0 -m d1 d2 1
d1 1 1 c0t1d0s0
d2 1 1 c1t1d0s0
d3 -m d4 d5 1
d4 1 1 c0t1d0s3
d5 1 1 c1t1d0s3
d6 -m d7 d8 1
d7 1 1 c0t1d0s1
d8 1 1 c1t1d0s1
d22 1 1 c1t0d0s0
d20 -p d22 -o 1 -b 1024000
d21 -p d22 -o 1024002 -b 1433600
d23 -p d22 -o 2457603 -b 2457600
root@ffz00dm1 # df -k
Filesystem kbytes used avail capacity Mounted on /dev/md/dsk/d0 5164116 2246111 2866364 44% / /proc 0 0 0 0% /proc fd 0 0 0 0% /dev/fd mnttab 0 0 0 0% /etc/mnttab /dev/md/dsk/d3 482824 304428 130114 71% /var swap 4286464 24 4286440 1% /var/run swap 4286528 88 4286440 1% /tmp /dev/md/dsk/d20 480847 9 432754 1% /aa
/dev/md/dsk/d21 673951 9 613287 1% /ab
/dev/md/dsk/d23 1188287 9 1128864 1% /ac