OnDemand Users Group

Support Forums => CMOD for Multiplatforms => Topic started by: GABRIELA on September 22, 2017, 10:20:37 PM

Title: Cache Storage on new drive
Post by: GABRIELA on September 22, 2017, 10:20:37 PM
Hello,
I�ve migrated OnDemand from one Windows server to another.
The problem is that, as cache storage has the same structure on the new server, but on a different drive letter (D:\ instead of f:\), documents cannot be accessed� Can I fix path or change drive letter somewhere in Database or OnDemand configuration?
Thank you!
Title: Re: Cache Storage on new drive
Post by: jsquizz on September 23, 2017, 07:23:39 PM
Sounds like it would require less headaches and less engineering to get your Windows SA's to change the drive mapping back to f:\
Title: Re: Cache Storage on new drive
Post by: Justin Derrick on September 24, 2017, 09:26:40 PM
Fixing this in UNIX is tricky but in Windows I think it's nearly impossible without spending a lot of time writing code.

I agree with Jeff -- switching your drive letter is probably faster / easier / better.

-JD.
Title: Re: Cache Storage on new drive
Post by: nonix on October 03, 2017, 03:26:24 PM
Hi Gabriela,

I think you can try to explore windows command (almost forgotten) SUBST.

Associates a path with a drive letter.

SUBST [drive1: [drive2:]path]
SUBST drive1: /D

  drive1:        Specifies a virtual drive to which you want to assign a path.
  [drive2:]path  Specifies a physical drive and path you want to assign to
                 a virtual drive.
  /D             Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.


I think it even works in user space, so no SA should be required, but don't take me granted 'm not Windoz guy :)

Cheers,
N.