Hello,
I have a project that required me to replace the two mirrored 36G disks on our S8 box with two 146G disks. I am posting my plan and a couple questions at the end. If anyone has any suggestions to make it easier or sees an error, please let me know. Assume all env changes will happen at the OK prompt.
Thanks
1) Using printenv from the OK prompt, ensure the 1st disk is the boot device.
2) Use metadb to verify I have at least two databases on each disk.
3) Use metadetach to break all mirrors to the second disk.
4) [Hot/Cold] swap old disk with new (second disk).
5) Use drvconfig to configure new special device files.
6) Use prtvtoc and fmthard to format the new disk.
7) Modify partition seven to consume all remaining disk.
8) Use metadb to create additional copies of database on new disk.
9) Use metainit to create new metadevices on new disk.
********** Question step***********
10) Reattach new metadevices to mirrors, allow to sync.
***********************************
11) Verify functionality
12) Change env so that 2nd disk is the boot device.
13) Use metadetach to break all mirrors to the first disk.
14) [Hot/Cold] swap old disk with new (first disk).
15) Use drvconfig to configure new special device files.
16) Use prtvtoc and fmthard to format the new disk.
17) Modify partition seven to consume all remaining disk.
18) Use metadb to create additional copies of database on new disk.
19) Use metainit to create new metadevices on new disk.
20) Verify functionality.
21) Change env so that both devices are listed as boot devices.
Questions
Step 10, Can you mirror (slice 7) two metadevices that are not the same size, assuming that the larger does is not utilized beyone what the smaller one's capacity is? When resyncing after the first disk has been replaced, the size of slice 7 will not match up, but the metadevice over slice 7 will consume the entire slice.
Is it possible to mirror soft partitions (on the same disk) that are already mirrored to the other disk. I have three filesystems I would like to mirror for a short time during an application upgrade. These soft partitions are created out of a mirror. I would like all three filesystems to have the same information for about three weeks (and of course, the data will change by the minute), then separate them out to different application environments (ie, kill the soft partition mirror).
Any suggestions, comments, or slaps upside the head would be appreciated...
Thanks
Will
I have a project that required me to replace the two mirrored 36G disks on our S8 box with two 146G disks. I am posting my plan and a couple questions at the end. If anyone has any suggestions to make it easier or sees an error, please let me know. Assume all env changes will happen at the OK prompt.
Thanks
1) Using printenv from the OK prompt, ensure the 1st disk is the boot device.
2) Use metadb to verify I have at least two databases on each disk.
3) Use metadetach to break all mirrors to the second disk.
4) [Hot/Cold] swap old disk with new (second disk).
5) Use drvconfig to configure new special device files.
6) Use prtvtoc and fmthard to format the new disk.
7) Modify partition seven to consume all remaining disk.
8) Use metadb to create additional copies of database on new disk.
9) Use metainit to create new metadevices on new disk.
********** Question step***********
10) Reattach new metadevices to mirrors, allow to sync.
***********************************
11) Verify functionality
12) Change env so that 2nd disk is the boot device.
13) Use metadetach to break all mirrors to the first disk.
14) [Hot/Cold] swap old disk with new (first disk).
15) Use drvconfig to configure new special device files.
16) Use prtvtoc and fmthard to format the new disk.
17) Modify partition seven to consume all remaining disk.
18) Use metadb to create additional copies of database on new disk.
19) Use metainit to create new metadevices on new disk.
20) Verify functionality.
21) Change env so that both devices are listed as boot devices.
Questions
Step 10, Can you mirror (slice 7) two metadevices that are not the same size, assuming that the larger does is not utilized beyone what the smaller one's capacity is? When resyncing after the first disk has been replaced, the size of slice 7 will not match up, but the metadevice over slice 7 will consume the entire slice.
Is it possible to mirror soft partitions (on the same disk) that are already mirrored to the other disk. I have three filesystems I would like to mirror for a short time during an application upgrade. These soft partitions are created out of a mirror. I would like all three filesystems to have the same information for about three weeks (and of course, the data will change by the minute), then separate them out to different application environments (ie, kill the soft partition mirror).
Any suggestions, comments, or slaps upside the head would be appreciated...
Thanks
Will