Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to extend a partition or disk? 2

Status
Not open for further replies.

robguts

ISP
Dec 2, 2002
11
SV
Our nodes are 2 Compaq Proliant DL580, with a Compaq Storage Works RA4100 (fiber). Recently we add some new disk to the array, we expanded the logical disk on the array (remember this is a phisical disk for MCSC).
This is a shared disk, that we use as our filestore, we need to extend the volume on windows, to match the new disk size. How can it be done?. I read about Veritas Volume Manager, but I'm not sure about the process
 
We tried VVM, and what a nightmare. I'd suspect you'd have better luck with something like partition magic, if its OK to take the cluster down for a short time.

During my trials with VVM - i found that Win2kSP3 with VVM keeps the processor at about 50% (as of last month anyway) stability issues when failing nodes, and functionality issues with DMP.

In order to do bring additional resources online and such - the cluadmin.exe does not see the resources. You either have to reboot the systems or use command like tools to get write & obtain drive signatures, (use dumpcfg) and import these values into the OS such that you can see it in the GUI. Get used to typing things like:
cluster .res "disk x:" /priv signature=1682838403

Maybe Veritas has come out with some additional patches and it works now, but we could not wait any longer for them to fix the product.
 
wilson7:
what vm version you run?
I'm running vm 3.0 SP1 + HF3 and vm 3.1 both works fine on a non clustered scenario. I've been able to expand disks on different storage types with no problems and no reboots.

robguts:
do you have a dual-rail (2 HBA per server) config?
in that case what is the SecurePath version? (-> it should be 3.1A SP1).
what kind of fabric? (hubs or switches)

Actually I've seen issues with MSCS, SecurePath 3.1A SP1 and VM3.1
The problem lies in SecurePath and not in VM.
On the other hand we've been using VM3.0 SP1 HF3 with MSCS and EMC SAN running MS Exchange. After many many problems the cluster now works fine.

A
 
Microsoft has a command line utility called diskpart.exe - see Q304736 in their KB. We were using PowerQuest Volume Mgr but had a lot of problems with it on a large volume. This utility from Microsoft expanded our 600 gb volume to 700 in seconds with no problems.
 
Thanks bettynumb1 it worked just perfect!!!

Just for the record here is the whole KB article.

Microsoft Knowledge Base Article - 304736

How to Extend the Partition of a Cluster Shared Disk
The information in this article applies to:
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server

This article was previously published under Q304736

SUMMARY

This article describes how to add additional storage capacity to a server cluster if the underlying hardware RAID supports "capacity extension" technology. Capacity extension provides the ability to add additional drives to an existing RAID set and extend the logical drive so that it appears as free space at the end of the same logical drive. With Windows 2000, you can use the Diskpart.exe command-line utility to extend an existing partition into free space. This process has the following requirements:

- The additional disk space must appear as free space at the end of the existing drive, and it must be directly behind the existing volume that is to be extended.
- The extension must not rely on software fault tolerance to combine the existing partition and free space.
- The disk signatures of the existing drive remain the same.
- Use of the Physical Disk Resource type for the disk. If the disk resource is provided by a third-party manufacturer, you must contact that manufacturer for information about how to increase disk space.

MORE INFORMATION

IMPORTANT: If you add an additional drive to an existing array and the new drive appears as a new logical disk (instead of free space at the end of the existing drive), the hardware does not support capacity extension because it refers to the free space as a new drive, and the following procedure will not work. Some storage hardware will, by default, automatically create a new logical disk and volume for the new space despite the fact that the expansion of the existing logical disk is a possible option. When you are using server clusters, software fault tolerance is not natively supported, and the creation of a spanned volume (Volume Set) is not a viable option. To add additional space:

- Create a second physical disk resource.

To obtain the Diskpart.exe utility for Windows 2000, download "Diskpart.exe: Diskpart Command Line Utility" from the following Microsoft Windows 2000 Resource Kit Web site:

An older version of the Diskpart.exe utility was previously released on the Resource Kit Web site. To verify that you have the correct version of the Diskpart file, install the package, right-click the file, and then click Properties.

Created: September 21, 2001
Size: 146,432 bytes


Then, start DISKPART.EXE and verify that the version matches or is greater than "5.1.3553".

NOTE: Older versions of the Diskpart.exe file have a file version of either 0.52 or 1.0.

If you want to extend the disk space for a shared disk on a Microsoft Windows NT 4.0 Cluster, use the instructions that are included in the following Microsoft Knowledge Base article:

263590 How to Extend the Disk Space of an Existing Shared Disk with Windows Clustering

How to Extend an Existing Drive into Free Space if the Hardware Supports Capacity Extension

- Back up the shared disk (or disks) that that you want to extend.
- Power off all but one node in the cluster.
- Take the entire group that the physical disk resource is located in offline. Bring only the physical disk resource that is to be extended online. This process should close any open handles to the disk.

NOTE: If you have any disk or Host Bus Adapter (HBA) utilities that access the disk, you may need to quit them or stop the services so that they will release any handles to the disk.

- Add the additional physical drives and extend the additional disk or disks as free space by using the instructions that are included with the hardware vendor documentation.

- Click All Programs, point to Administrative Tools, click Computer Management, and then start the Disk Management console. Verify that the new free space is added to the end of the proper drive. Right-click the existing partition, and then click Properties. On the General tab, type a unique name for the partition. This name will be used to identify the partition you want to extend in Diskpart.exe. Quit Computer Management.

NOTE If you encounter any problems with the preceding two steps while you are extending the drive, contact your hardware vendor for assistance.

- At a command prompt, type DISKPART, and then press ENTER to start Diskpart.exe.

- Type LIST VOLUME, and then press ENTER to display the existing volumes on the computer.

- Type SELECT VOLUME volume number, and then press ENTER, where volume number is the number of the volume that you want to extend. Note that the volume will have the unique name that you created in step 5, and will have been listed in the output of the command you ran in step 7.

- Type EXTEND, and then press ENTER to extend the partition into all of the available disk space to the end of the drive.

- Type EXIT, and then press ENTER.
Now that the volume has been extended, you can bring the entire group that contains the physical disk resource online, and then power up all of the other nodes in the cluster.

- Verify that the group can come online and failover to all other nodes in the cluster.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top