Placing metadatabases within a filesystem is a useful technique if the number of disk slices available is an issue. Placing the metadatabase inside of a filesystem frees up an additional disk slice.

 1. metadb -a -f -c2 /dev/rdsk/disk1 /dev/rdsk/disk2 - to create the
    metadatabases
 2. metainit d71 1 1 /dev/rdsk/disk1
 3. metainit d72 1 1 /dev/rdsk/disk2
 4. metainit d70 -m d71
 5. reboot
 6. metattach d70 d72 - these last 5 steps created a mirrored meta device.
 7. NOW create the filesystem, newfs /dev/md/rdsk/d70

NOTE: Do not newfs the disk device or you will destroy the metadatabase.

Recent Changes