Soft-partitioning with DiskSuite
Tags:
Soft Partitioning with Disksuite (Solaris Volume Manager):
---------------------------------
to create mirrored, soft-partitions:
using these disks:
c0t2d0 (36g)
c0t3d0 (36g)
(this example assumes that these two disks are non-root, and that disksuite is already
installed and the required number of metadatabases already exist on the root disk(s).)
# create 20gb soft-partition on c0t2d0s0 called d79
metainit d79 -p c0t2d0s0 20gb
# encapsulate d79 and call that device d89
metainit d89 1 1 d79
# create a mirror adding d89 and call it d99
metainit d99 -m d89
# create 20gb soft-partition on c0t3d0s0 called d59
metainit d59 -p c0t3d0s0 20gb
# encapsulate d59 and call that device d69
metainit d69 1 1 d59
# attach d69 to the mirror d99
metattach d99 d69
which leaves you with this:
99 - mirrored volume
89 69 - encapsulated partitions
79 59 - soft-partitions
# create a filesystem
newfs /dev/md/rdsk/d99
# mount d99 as you would any other disksuite volume:
mount /dev/md/dsk/d99 /mountpoint
continue to add partitions to that slice as needed, and space permits:
metainit d78 -p c0t2d0s0 10gb
metainit d88 1 1 d78
metainit d98 -m d88
metainit d58 -p c0t3d0s0 10gb
metainit d68 1 1 d58
metattach d98 d68
98 - mirrored volume
88 68 - encapsulated partitions
78 58 - soft-partitions
newfs /dev/md/rdsk/d98
mount /dev/md/dsk/d98 /mountpoint
..and so on.
2005 Kyle Reynolds
»
- Add new comment
- 2593 reads
