Forum Discussion

fortec's avatar
fortec
Level 2
10 years ago

How to list media server deduplication pools

How do you determine if a disk storage pool is a deduplication pool? What command explicitely shows that a storage pool is a media server deduplication pool?

 

Thanks in advance!

6 Replies

  • I don't have access to a system right now to test, but the command you are looking for is

    nbdevquery -listdp -U

    You may need to add -stype <server_type> as well.
    -stype AdvancedDisk
    and/or
    -stype PureDisk

    See NetBackup Commands Reference Guide 
     

  • nbdevquery -listdp -U

    Disk Pool Name   : Adv_disk
    Disk Pool Id     : Adv_disk
    Disk Type        : AdvancedDisk
    Status           : UP
    Flag             : Patchwork
    Flag             : Visible
    Flag             : OpenStorage
    Flag             : AdminUp
    Flag             : InternalUp
    Flag             : SpanImages
    Flag             : LifeCycle
    Flag             : CapacityMgmt
    Flag             : FragmentImages
    Flag             : Cpr
    Flag             : RandomWrites
    Flag             : FT-Transfer
    Flag             : CapacityManagedRetention
    Flag             : CapacityManagedJobQueuing
    Raw Size (GB)    : 7.87
    Usable Size (GB) : 7.87
    Num Volumes      : 1
    High Watermark   : 98
    Low Watermark    : 80
    Max IO Streams   : -1
    Comment          :
    Storage Server   : cyborg(UP)

     

  • Sorry the thing you are looking for is 

    Disk Type        : PureDisk

  • If you are looking to llist JUST MSDP then use the flag Marianne mentioned of -stype. Full command:

    nbdevquery -listdp -stype PureDisk

    V7.5 dp_disk_lptmssrv 1 18.20 18.20 1 98 80 -1 lptmssrv

    You can then awk the result for scripts. 

  • if you don't want all the other stuff (assuming a unix system)

    nbdevquery -listdp -stype PureDisk -U | egrep "Disk Pool Name|Disk Type"

     

    Will give a neat little output like this

     

    nbdevquery -listdp -stype PureDisk -U | egrep "Disk Pool Name|Disk Type"

     


    Disk Pool Name   : MSDPPool
    Disk Type            : PureDisk


    Disk Pool Name   : MSDPPool2
    Disk Type            : PureDisk