PeterBen

updated

18 years ago

P

PeterBen

120 Posts

0

1426

May 29th, 2009 04:00

renaming library

Hello, i am trying to rename the library to have a humen friendly name but i get an error stating that the library must be disabled before changing its name.
of course i try it on disabled library. it looks like the name is a read only attribute. can it be changed somehow?
  • DavidHampson

    2 Intern

    •

    1080 Posts

    687

    0

    Posted May 29th, 2009 05:00

    Peter, library name can only be set at creation.
  • HabibG2

    455 Posts

    687

    0

    Posted May 29th, 2009 05:00

    Delete your current library
    Recreate it with the new name.
    Reconfigure it.

    If this is not an option then you are stuck with your current name.
  • DavidHampson

    2 Intern

    •

    1080 Posts

    687

    0

    Posted May 29th, 2009 05:00

    If you are ever unsure of whether a field is read only, create only etc check the resource specification in the command guide - for example looking at the jukebox resource you would look at NSR_JUKEBOX - in this case it explains of the name field:

    (create-only, single string)
    This attribute specifies the name of this jukebox. The value of this
    attribute may follow the "rd=hostname:" syntax of a remote device,
    when the jukebox is defined on a storage node. See
    nsr_storage_node(5) for additional detail on storage nodes.
    Example: name: Huntington;
  • dsakhuja

    24 Posts

    687

    0

    Posted May 30th, 2009 05:00

    Go to devices tab in NMC & right click the library you want to rename & disable the library. Again right click the library & go to properties of the library & rename the library.
  • KASAM

    1 Rookie

    •

    35 Posts

    687

    0

    Posted June 1st, 2009 06:00

    Hello,

    Good info on this Thread so far.

    When deleting the Library, does the need exist to be aware of library partitions? And are partitions listed as different Autochangers in the Devices tab?
  • NavinRam

    6 Posts

    687

    0

    Posted June 1st, 2009 06:00

    Hi,

    I concur with dsakhuja. Just remember to enable the library after you have renamed it and wait for it to show as ready.
    If you are renaming a storage node, you will get "rd=storagenode:new name"

    Thanks.
  • HabibG2

    455 Posts

    687

    0

    Posted June 2nd, 2009 01:00

    Of course, you are absolutely correct, Library can be renamed via the NMC as I have done it myself.

    My answer to his question was based on the fact that he has already tried to rename the library with the library disabled and was not able to so do.
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    687

    0

    Posted June 2nd, 2009 01:00

    You do not need to delete library- see what dsakhuja told you as that is correct answer. Libraries CAN be renamed from NMC.
  • PeterBen

    120 Posts

    687

    0

    Posted June 5th, 2009 07:00

    it does not allow to rename in my 7.4.2 running on windows
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    161

    0

    Posted June 6th, 2009 02:00

    ? I believe I first met this with 7.4.2 and Windows :D And don't remember having any special build for that. Do you run any custom patches perhaps?