Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I want to move all website data from one drive to another as the storage is almost full. As I also want to keep the drive letter to the website drive I thought of switching the drive letters in windows to move to the new drive. Here is what I thought to to:
1. Stop IIS 6 and all services accessing the original drive.
2. Copy all files including NTFS rights to the new drive
3. Switch the drive letters of the two drives
4. Start IIS again

All without reboot. Would this be possible? Is changing the drive letter sufficient or are there any constraints in the background that would not be updated? I assume with this method I would not have to change any configuration etc.

share|improve this question
    
Is your website on the same drive where IIS6 is installed? –  Gennady Vanin Novosibirsk Aug 27 '10 at 15:01
    
No IIS is on drive c: (default install) and the website is on another website-dedicated drive. –  Uwe Aug 27 '10 at 16:02
    
Wouldn't it be easier to just clone the smaller drive to the larger drive? –  joeqwerty Aug 27 '10 at 22:11
add comment

3 Answers 3

up vote 3 down vote accepted

This should work without problems. IIS uses filesystem paths in its configuration, it doesn't care at all about low-level disk details.

share|improve this answer
    
IIS does not care but, for ex., other components, framework, services, servers, dll dependencies (in chain), on which depend/build website do –  Gennady Vanin Novosibirsk Aug 27 '10 at 15:51
1  
@vgv8, none of those care about which partition/volume/disk they reside on; the full path is all that is need to reference them. –  Massimo Aug 27 '10 at 17:02
1  
it was hard to get rid of all processes accessing the drive, but finally it worked. –  Uwe Aug 31 '10 at 12:04
add comment

I think in all scenarios, it would be more proper, more smooth and more versatile to mount new partition/disk-drive as folder on the old drive first. This does not constrain you to change it any time later on how you would wish

share|improve this answer
add comment

Your solution should work.

Make sure that it's working before you delete anything, and backup, backup, backup!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.