All of them are located in the first software CD :
Remember to reboot with -r argument after install these packages.
(3 is the number of metadb replicates to use)
Task | Command |
---|---|
Create a 5GB logical volume (called soft partition) | metainit d0 -p c1t0d0s2 5G |
Create a fs | newfs /dev/md/rdsk/d0 |
Extend a logical volume | metattach d0 1G |
Extend a fs | growfs -M /export/home /dev/md/rdsk/d0 |
Just add a line like :
mddb_bootlist1="sd:71:16:id0"; md_devid_destroy=1;
in /kernel/drv/md.conf, read (carefully) Sun's doc
Ok, since i had a hard disk failure in a production box a monday evening, (a production box for sure) I now trying to setup (software) raid 1 as far it's possible. Check my jumpstart raid 1 profile. That's why - after setting up a box with raid 1 - I'm trying to remove a disk (while the OS running), I didn't have errors.
Just remember to do :
metareplace -e d0 c1t0d0s0
for each mirror you have.
Create a raid 1 mirror, and use its device for soft partitions
Create the mirror
metainit d6 1 1 c1t0d0s5 metainit d7 1 1 c1t1d0s5 metainit d8 -m d6 metattach d8 d7
Create a soft partition
metainit d10 -p d8 512M