Eternus RAID group names and "

Hi!

Discovered that if RAID group names contain " then menu json is errored out.

It's allmost as in https://forum.xorux.com/discussion/292/stor2rrd-2-01-json-parse-error

Is it possible that " can be escaped in RAID group names?

Comments

  • Pavel
    edited May 2021
    Hi,

    what kind of storage are you talking about?
  • Fujitsu Eternus DX200
  • In pool.cfg (in data/storage/pool.cfg) file there's row:
    0:RAID1_3.5"10Tnr7

    And if tmp/menu.txt contains the same row it gives json parse error.

    But ... if i remove " from name in menu.txt file ... all is good :)

  • Hi,

    I am wandering that storage alowed msuch character, most of storage devices do not allow special characters in names.
    Ok, escaping can bring further problems across our tool, the easies way to workaround it is removing it.
    This is easy, we can provide you a patch quickly.
  • I was surprised as well that these kind of characters are allowed ... but what to do ... they are there.
    If it can patched i would like that but in the other way i had to tell admin that these kind of characters in raid group names are not best way and i suggest to remove them.

    But untill they are removed ... if it's really easy patch it would be great ...



  • Ok, it was fast - names are changed and all is working - so no need for patch!
Sign In or Register to comment.