Written by J. Moellenkamp on
Reading time: 1 minute
SolarisEnglish
Less known Solaris Features: Point-in-time copy with AVS - Part 6: Preparation of the test environment
After all this theory, i will go into more practical stuff. In the follwing parts of this tutorial i will give you an introcution to point-in-time copies with AVS. But at first we have to prepare some things.
At first: We need only one system for this example, so we don´t need any networking configuration. Furthermore you need to assume the root role to do the configuration in this example.
Okay, i will use two harddisks in my example: /dev/dsk/c1d0 and /dev/dsk/c1d1. I´ve choosen the following layout for the disk.
With this configuration i have two 128 mb sized slices. I will use them for data in my example. Additionally i´ve create two 32 mb small slices for the bitmaps. 32 mb for the bitmaps is too large, but i didn´t wanted to calculate the exact size. You will find the exact math behind the size of the bitmap in the manuals.
It´s important to have exactly the same layout on the second disk, at least, when you you use independent or non-compact dependent copies. Okay, to be more precise, the slices under the control of the point-in-time copy functionality has to have the same size. To simplify the fulfillment of this requirement, i copy the layout from my master disk to the shadow disk.
Okay, now let´s create a file system for testing purposes on the master disk.
Okay, that´s all … now let´s try point-in-time copies.