Adding Disk Space to an Existing Diskset (With Solaris 9 OS)Karan Grover, January 2008 The following procedure provides steps for adding a LUN to an existing diskset in a cluster environment and then growing the logical volume. This procedure was done using the Solaris 9 Operating System with a generic patch revision level of 117171-02 and Sun Cluster 3.1 software. Caution: If you plan to use this procedure in a live cluster database environment, before you perform the procedure, make a complete backup of the file system in which you will implement the change. 1. Capture the output of the 2. Make the LUN visible to the server by running 3. Capture the output of the 4. Compare and 5. On all the cluster nodes, run the 6. Run the following command to get the LUN name with the metadevice name of the new LUN: #scdidadm -L |grep LUN 7. Run the 8. Run the following command to add the disk to the current device set and make the change visible on all nodes: #metaset -s <setname> -a <diskname> -h <hostnames> 9. On all nodes, run the 10. Run the following command to attach the LUN to the block device: #metattach -s <setname> <disk number on which the file system is mounted> <slice that has the free space> 11. Run the following command to grow the logical file system without destroying its contents: #growfs -M /<fsname> /rdisk <name>
Important Note: Stop all database or application writes to the affected file system before issuing the Note: In the
Comments (latest comments first)Discuss and comment on this resource in the BigAdmin Wiki
Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License. |
BigAdmin SubscriptionsBigAdmin Areas
BigAdmin Sun Center
BigAdmin Topics | ||||||||||