0

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.

3
  • Is your website on the same drive where IIS6 is installed? Aug 27, 2010 at 15:01
  • No IIS is on drive c: (default install) and the website is on another website-dedicated drive.
    – kcode
    Aug 27, 2010 at 16:02
  • Wouldn't it be easier to just clone the smaller drive to the larger drive?
    – joeqwerty
    Aug 27, 2010 at 22:11

3 Answers 3

4

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

3
  • IIS does not care but, for ex., other components, framework, services, servers, dll dependencies (in chain), on which depend/build website do Aug 27, 2010 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, 2010 at 17:02
  • 1
    it was hard to get rid of all processes accessing the drive, but finally it worked.
    – kcode
    Aug 31, 2010 at 12:04
3

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

1

Your solution should work.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .