Author Topic: Cache Storage on new drive  (Read 2011 times)

GABRIELA

  • Newbie
  • *
  • Posts: 9
    • View Profile
Cache Storage on new drive
« on: September 22, 2017, 03: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!

jsquizz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 576
    • View Profile
Re: Cache Storage on new drive
« Reply #1 on: September 23, 2017, 12: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:\
#CMOD #DB2 #AFP2PDF #TSM #AIX #RHEL #AWS #AZURE #GCP #EVERYTHING

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2229
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Cache Storage on new drive
« Reply #2 on: September 24, 2017, 02: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.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR

Norbert Novotny

  • Jr. Member
  • **
  • Posts: 46
    • View Profile
Re: Cache Storage on new drive
« Reply #3 on: October 03, 2017, 08:26:24 AM »
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.
Norbert Novotny
Legal archiving - Swisscom AG

Mobile:  +41-On-request

Dev: #SQL, #Perl, #Java, #C

Interests: #CMOD, #Multiplatforms, #DB2, #Oracle, #TSM, #ERM, #Performance