![]() |
|||
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
![]() ![]() |
![]() |
| ||||||||||||||||||
|
partition> Part-entry |
Information about the partition that you have chosen is displayed in the console window. For example, partition 3 produces this output:
Part Tag Flag Cylinders Size Blocks 3 unassigned wm 2178 - 3629 2.00GB (1452/0/0) 4194828 |
When the format tool prompts you to change some of the parameters of the partition configuration, press Return to accept the existing configuration.
Enter partition id tag[unassigned]: Enter partition permission flags[wm]: Enter new starting cyl[2178]: |
Change the size of the partition:
Enter partition size[4194828b, 1452c, 2048.26mb, 2.00gb]: new-partition-size |
Write the new partition layout to the disk:
partition> label |
Confirm that you want to change the partition size:
Ready to label disk, continue? y |
Verify that your modifications have been implemented:
partition> print |
Quit the format utility:
FORMAT MENU: disk - select a disk type - select (define) a disk type partition - select (define) a partition table current - describe the current disk format - format and analyze the disk repair - repair a defective sector label - write label to the disk analyze - surface analysis defect - defect list management backup - search for backup labels verify - read and display labels save - save new disk/partition definitions inquiry - show vendor, product and revision volname - set 8-character volume name !<cmd> - execute <cmd>, then return quit |
format> quit |
You return to the console prompt, #.
This section describes how to increase the size of a mirrored data partition on a physical 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 |
Back up the partition by using a tool such as ufsdump.
For information, see the ufsdump(1M) man page.
Identify the name of the data partition that you want to modify.
For information, see To Display the Configuration of a Disk Partition.
Change the size of the data partition.
For information, see To Change the Size of a Disk Partition on a Master-Eligible Node.
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.
Restore the data on the partition using the ufsrestore command.
For information, see the ufsrestore(1M) man page.
Reset the replication configuration:
# /usr/opt/SUNWscm/sbin/dscfg -i |
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 |
Repeat Step 2 through Step 9 for the second master-eligible node.
Reboot the original master node:
# init 6 |
Reboot the original vice-master node:
# init 6 |
Log in to the master node as superuser.
Resynchronize the vice-master node with the master node:
# nhcrfsadm -f all |
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 |
Restart the diskless and dataless nodes.
For information, see To Restart a Node.
Verify that the nodes have the correct configuration:
# nhadm check |
For information, see the nhadm(1M) man page.
![]() ![]() |