General Discussion

 View Only
  • 1.  Rest API question on the need to format newly created DP-VOLs

    Posted 04-27-2023 08:54


    Hi

    I'm creating a DP-VOL using the RestAPI (PF-Rest , built-in to the array)

    REQUEST:

    POST base-URL/v1/objects/ldevs

    REQUEST-BODY:


    {
     "ldevId": 1024,
     "poolId": 0,
     "byteFormatCapacity": "1T",
     "dataReductionMode": "disabled"
    }


    After creating the DP-VOL, which statement is actually
    true (based on fact ... not based on intuitive feeling, opinion or guess):

    Statement A:

    After creating a new DP-VOL with the RestAPI,
    there is zero reason to format the new DP-vol.
    Just, go ahead and present the DP-Vol to host-groups
    and use it.


    Staement B:

    After creating a new DP-VOL with the RestAPI,
    you should format the new DP-vol before using it.


    My guess ( could be wrong ... that's why I'm asking):

    I think that Statement A is true. My understanding is:
    Formatting a BASIC-LDEV ( aka POOL-VOL ) is essential since
    some media error detection is performed.
    Based on experience (... using SVP StoNav GUI ), this formatting
    occurs automatically when a DP-POOL is created from BASIC-LDEVs/POOL-VOLs.

    HOWEVER, formatting a DP-VOL performs no media checking, it
    simply returns a DP-VOL's used capacity to the DP-POOL,
    thus it would make no sense to format a NEW DP-VOL since
    it has no used capacity. 

    The reason I'm asking: In the E590 RestAPI manual, the section on
    formatting volumes appears immediately after the section on creating
    volumes. The manual does not contain any guidance on the question
    of formatting or not-formatting new DP-VOLs

    Thanks

    Andy



    ------------------------------
    Andrew Romero
    Storage Administrator
    ------------------------------



  • 2.  RE: Rest API question on the need to format newly created DP-VOLs

    Posted 04-28-2023 14:17

    Not having ever used REST to configure storage, my general modus-operandi is to create PG's; carve LDEVs (format them) and then place them (whilst undergoing or waiting format) into the HDP pool as pool vol's.



    ------------------------------
    Albert Hagopian
    Software Development Engineer - Specialist
    Hitachi Vantara
    ------------------------------



  • 3.  RE: Rest API question on the need to format newly created DP-VOLs

    Posted 04-28-2023 16:25
    >


  • 4.  RE: Rest API question on the need to format newly created DP-VOLs

    Posted 05-01-2023 05:36

    Hi Andrew,

    Statement A is correct, after creating a DP volume through PF or CMREST you don't need to format them, you can directly map them to the host group.




    ------------------------------
    Prasenjit Chatterjee
    Test Engineer
    Hitachi Vantara
    ------------------------------



  • 5.  RE: Rest API question on the need to format newly created DP-VOLs

    Posted 05-01-2023 05:37

    Hi Andrew,

    Statement A is correct, after creating a DP-vol you can directly map them to the host group.



    ------------------------------
    Prasenjit Chatterjee
    Test Engineer
    Hitachi Vantara
    ------------------------------