sun.com | docs.sun.com | How To Buy | My Sun | Worldwide Sites |  |

| Previous Contents Index Next
2. ## Increasing the Size of a Mirrored Data Partition on a Virtual Disk This section describes how to increase the size of a mirrored data partition created by the Solaris Volume Manager. This mirrored partition is called a soft partition. Perform this procedure to facilitate backup or to increase the partition size available to services or applications. ### To Increase the Size of a Mirrored Data Partition on a Virtual Disk Stop the cluster. For information, see To Shut Down a Cluster. Log in to a master-eligible node in single-user mode, as superuser:
       ok> boot -s
4. Back up the partition by using a tool such as `ufsdump`. For information, see the `ufsdump`(1M) man page. Mount the file system. For example, mount `dsk/d20` on `home2`, as follows:
       # mount /dev/md/dsk/d20 /home2
5. Add space to the virtual disk. For example, add 10 Gbytes to the `d20` device:
       # metattach d20 10g
6. For further information about virtual disks, see the Solaris Volume Manager Administration Guide. Grow the file system to its new size:
       # growfs -M /home2 /dev/md/rdsk/d20
8. Verify that the bitmap partition is the correct size. Identify the name of the local bitmap partition associated with the chosen data partition. For information, see To Display the Configuration of a Disk Partition. Confirm that the bitmap partition is at least the following size: 1 Kbyte + 4 Kbytes per Gbyte of data in the associated data partition If the bitmap partition is not big enough, increase the size of this partition as described in To Change the Size of a Disk Partition on a Master-Eligible Node. Reset the replication configuration:
       # /usr/opt/SUNWscm/sbin/dscfg -i
9. Re-create an empty replicated configuration file by typing `Y` at this prompt:
       # (Type Y for YES) Y
       # /usr/opt/SUNWscm/sbin/dscfg -i -p /etc/opt/SUNWesm/pconfig
12. Restore the backup of the disk using the `ufsrestore` command. For information, see the `ufsrestore`(1M) man page. Repeat Step 2 through Step 10 for the second master-eligible node. Reboot the master node:
        # init 6
13. Reboot the vice-master node:
        # init 6
15. Log in to the master node as superuser. Resynchronize the vice-master node with the master node:
        # nhcrfsadm -f all
16. Do not perform a switchover before the resynchronization is complete. Verify that the vice-master node is synchronized with the master node.
        # /usr/opt/SUNWesm/sbin/scmadm -S -M
18. Restart the diskless nodes or dataless nodes. For information, see To Restart a Node. Confirm that the nodes have the correct configuration.
        # nhadm check
2. For information, see the `nhadm`(1M) man page. ## Adding a Mirrored Data Partition to a Virtual Disk This section describes how to add a mirrored data partition to your disk configuration. To configure a virtual disk on the master-eligible nodes, you must include Solaris Volume Manager or the Solstice DiskSuite™ in the initial cluster configuration. For information about configuring Solaris Volume Manager, see the Netra High Availability Suite Foundation Services 2.1 6/03 Custom Installation Guide. ### To Add a Mirrored Data Partition to a Virtual Disk Stop the cluster. For information, see To Shut Down a Cluster. Log in to a master-eligible node in single-user mode, as superuser:
       ok> boot -s
5. Create two virtual disk partitions: one data partition and one bitmap partition. For information, see the following documents: For Solaris 8, "Creating DiskSuite Objects" in the Solstice DiskSuite 4.2 User's Guide For Solaris 9, "Creating Soft Partitions" in the Solaris Volume Manager Administration Guide Format the disk to include the configuration information for the two new partitions. For information, see the `format`(1M) man page. Ensure that the partition is replicated, by adding the `RNFS.Slice` parameter for the new soft partition to the `nhfs.conf` file.
       RNFS.Slice = slice-description
9. For information, see the `nhfs.conf`(4) man page. Add the `RNFS.Slice` parameter for the new partitions to the `nhfs.conf` file. The `RNFS.Slice` parameter is used to replicate the partition. Repeat Step 2 through Step 6 for the second master-eligible node. The changes you make must be identical on both master-eligible nodes. Reboot all of the peer nodes. For information, see To Restart a Cluster. Verify that the vice-master node is synchronized with the master node:
       # /usr/opt/SUNWesm/sbin/scmadm -S -M
   If the vice-master node is not synchronized with the master node, resynchronize it:
       # nhcrfsadm -f all
10. Confirm that the nodes have the correct configuration:
        # nhadm check
For information, see the `nhadm`(1M) man page.
Previous Contents Index Next

Copyright 1994-2004 Sun Microsystems