Skip to content

Evict unhealthy VDisk on Storage Nodes page #2389

Closed
@StekPerepolnen

Description

@StekPerepolnen

The improvement from #2226 is working, but only on the Storage Groups page.
The same improvement needs to be applied to the Storage Nodes page as well, since it also allows navigation to the vdisk page.

how to proceed to vdisk page

Image

/viewer/json/nodes regular reply

{
  "NodeId": 2,
  "UptimeSeconds": 15933,
  "CpuUsage": 0.0085562747,
  "DiskSpaceUsage": 6.99155569,
  "SystemState": {
    "StartTime": "1749638176275",
    "ChangeTime": "1749654108642",
    "LoadAverage": [3.86962890625, 3.5205078125, 3.8349609375],
    "NumberOfCpus": 256,
    "SystemState": "Green",
    "NodeId": 2,
    "Host": "man0-0506.ydb-dev.ik8s.nebiuscloud.net",
    "Version": "main.26726f2",
    "PoolStats": [
      {
        "Name": "System",
        "Usage": 0.00444669260863332,
        "Threads": 10,
        "Limit": 16
      },
      {
        "Name": "User",
        "Usage": 0.00218870394611365,
        "Threads": 1,
        "Limit": 16
      },
      {
        "Name": "Batch",
        "Usage": 0.00212064759939458,
        "Threads": 2,
        "Limit": 4
      },
      {
        "Name": "IO",
        "Usage": 0.00102781473169916,
        "Threads": 1,
        "Limit": 1
      },
      {
        "Name": "IC",
        "Usage": 0.00265295616418842,
        "Threads": 3,
        "Limit": 8
      }
    ],
    "Endpoints": [
      {
        "Name": "grpcs",
        "Address": ":2135"
      },
      {
        "Name": "http-mon",
        "Address": ":8765"
      },
      {
        "Name": "ic",
        "Address": ":19001"
      }
    ],
    "Roles": [
      "StateStorageBoard",
      "SchemeBoard",
      "Bootstrapper",
      "StateStorage",
      "Storage"
    ],
    "MemoryUsed": "2371145728",
    "MemoryLimit": "34359738368",
    "MaxDiskUsage": 0.0699155551311098,
    "Location": {
      "DataCenter": "man-b",
      "Rack": "2",
      "Unit": "103166899"
    },
    "TotalSessions": 0,
    "CoresUsed": 0.136900399318736,
    "CoresTotal": 16,
    "RealNumberOfCpus": 256
  },
  "PDisks": [
    {
      "PDiskId": 1,
      "ChangeTime": "1749652175256",
      "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_01",
      "Guid": "1",
      "Category": "1",
      "AvailableSize": "5953688698880",
      "TotalSize": "6401234567168",
      "State": "Normal",
      "NodeId": 2,
      "Device": "Green",
      "Realtime": "Green",
      "SerialNumber": "",
      "SystemSize": "817889280",
      "LogUsedSize": "1226833920",
      "LogTotalSize": "36805017600",
      "EnforcedDynamicSlotSize": "909083934720",
      "NumActiveSlots": 7
    },
    {
      "PDiskId": 2,
      "ChangeTime": "1749652955311",
      "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_02",
      "Guid": "2",
      "Category": "1",
      "AvailableSize": "6387033702400",
      "TotalSize": "6401234567168",
      "State": "Normal",
      "NodeId": 2,
      "Device": "Green",
      "Realtime": "Green",
      "SerialNumber": "",
      "SystemSize": "817889280",
      "LogUsedSize": "545259520",
      "LogTotalSize": "36805017600",
      "EnforcedDynamicSlotSize": "3181725614080",
      "NumActiveSlots": 2
    },
    {
      "PDiskId": 3,
      "ChangeTime": "1749652918308",
      "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_03",
      "Guid": "3",
      "Category": "1",
      "AvailableSize": "5961186017280",
      "TotalSize": "6401234567168",
      "State": "Normal",
      "NodeId": 2,
      "Device": "Green",
      "Realtime": "Green",
      "SerialNumber": "",
      "SystemSize": "817889280",
      "LogUsedSize": "1090519040",
      "LogTotalSize": "36805017600",
      "EnforcedDynamicSlotSize": "1060529766400",
      "NumActiveSlots": 6
    },
    {
      "PDiskId": 1001,
      "ChangeTime": "1749653040359",
      "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_04",
      "Guid": "2346760383811519390",
      "Category": "1",
      "AvailableSize": "5990084771840",
      "TotalSize": "6401234567168",
      "State": "Normal",
      "NodeId": 2,
      "Device": "Green",
      "Realtime": "Green",
      "SerialNumber": "",
      "SystemSize": "817889280",
      "LogUsedSize": "408944640",
      "LogTotalSize": "27262976000",
      "EnforcedDynamicSlotSize": "3186496634880",
      "NumActiveSlots": 2
    },
    {
      "PDiskId": 1002,
      "ChangeTime": "1749653238372",
      "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_05",
      "Guid": "18323056988329879991",
      "Category": "1",
      "AvailableSize": "6389487370240",
      "TotalSize": "6401234567168",
      "State": "Normal",
      "NodeId": 2,
      "Device": "Green",
      "Realtime": "Green",
      "SerialNumber": "",
      "SystemSize": "817889280",
      "LogUsedSize": "681574400",
      "LogTotalSize": "27262976000",
      "EnforcedDynamicSlotSize": "3186496634880",
      "NumActiveSlots": 2
    },
    {
      "PDiskId": 1000,
      "ChangeTime": "1749651930283",
      "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_06",
      "Guid": "5132767872367975203",
      "Category": "1",
      "AvailableSize": "6387715276800",
      "TotalSize": "6401234567168",
      "State": "Normal",
      "NodeId": 2,
      "Device": "Green",
      "Realtime": "Green",
      "SerialNumber": "",
      "SystemSize": "817889280",
      "LogUsedSize": "545259520",
      "LogTotalSize": "27262976000",
      "EnforcedDynamicSlotSize": "3186496634880",
      "NumActiveSlots": 2
    }
  ],
  "VDisks": [
    {
      "VDiskId": {
        "GroupID": 0,
        "GroupGeneration": 1,
        "Ring": 1,
        "Domain": 0,
        "VDisk": 0
      },
      "ChangeTime": "1749654108417",
      "PDiskId": 1,
      "VDiskSlotId": 0,
      "Guid": "1",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "11041505280",
      "AvailableSize": "898042429440",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "15651601983080773012",
      "InstanceGuid": "2147184839716016479",
      "FrontQueues": "Green",
      "StoragePoolName": "static",
      "ReadThroughput": "0",
      "WriteThroughput": "404"
    },
    {
      "VDiskId": {
        "GroupID": 0,
        "GroupGeneration": 1,
        "Ring": 1,
        "Domain": 1,
        "VDisk": 0
      },
      "ChangeTime": "1749654108417",
      "PDiskId": 2,
      "VDiskSlotId": 0,
      "Guid": "2",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "11177820160",
      "AvailableSize": "3170547793920",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "16931444032194148390",
      "InstanceGuid": "15241211543789111697",
      "FrontQueues": "Green",
      "StoragePoolName": "static",
      "ReadThroughput": "0",
      "WriteThroughput": "433"
    },
    {
      "VDiskId": {
        "GroupID": 0,
        "GroupGeneration": 1,
        "Ring": 1,
        "Domain": 2,
        "VDisk": 0
      },
      "ChangeTime": "1749654108417",
      "PDiskId": 3,
      "VDiskSlotId": 0,
      "Guid": "3",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "12404654080",
      "AvailableSize": "1048125112320",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "17373454707957543407",
      "InstanceGuid": "17779644032390374966",
      "FrontQueues": "Green",
      "StoragePoolName": "static",
      "ReadThroughput": "0",
      "WriteThroughput": "462"
    },
    {
      "VDiskId": {
        "GroupID": 2181042350,
        "GroupGeneration": 38,
        "Ring": 1,
        "Domain": 0,
        "VDisk": 0
      },
      "ChangeTime": "1749654108483",
      "PDiskId": 3,
      "VDiskSlotId": 1015,
      "Guid": "3",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "5043650560",
      "AvailableSize": "1055486115840",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "7890416831870446081",
      "InstanceGuid": "4818870014586011034",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/jorres-test:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "463"
    },
    {
      "VDiskId": {
        "GroupID": 2181042350,
        "GroupGeneration": 38,
        "Ring": 1,
        "Domain": 1,
        "VDisk": 0
      },
      "ChangeTime": "1749654108454",
      "PDiskId": 1,
      "VDiskSlotId": 1016,
      "Guid": "1",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "5043650560",
      "AvailableSize": "904040284160",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "12521041926113387769",
      "InstanceGuid": "10051890935918142328",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/jorres-test:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "435"
    },
    {
      "VDiskId": {
        "GroupID": 2181042350,
        "GroupGeneration": 38,
        "Ring": 1,
        "Domain": 2,
        "VDisk": 0
      },
      "ChangeTime": "1749654108442",
      "PDiskId": 1001,
      "VDiskSlotId": 5292,
      "Guid": "2346760383811519390",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "6952058880",
      "AvailableSize": "3179544576000",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "4738875074178328394",
      "InstanceGuid": "1899026232924683898",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/jorres-test:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "407"
    },
    {
      "VDiskId": {
        "GroupID": 2181042351,
        "GroupGeneration": 22,
        "Ring": 0,
        "Domain": 0,
        "VDisk": 0
      },
      "ChangeTime": "1749654108458",
      "PDiskId": 3,
      "VDiskSlotId": 1019,
      "Guid": "3",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "404446248960",
      "AvailableSize": "656083517440",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "12468612940421902183",
      "InstanceGuid": "7567267158631067439",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/robdrynkin-test:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "411"
    },
    {
      "VDiskId": {
        "GroupID": 2181042351,
        "GroupGeneration": 22,
        "Ring": 0,
        "Domain": 1,
        "VDisk": 0
      },
      "ChangeTime": "1749654108436",
      "PDiskId": 1,
      "VDiskSlotId": 1011,
      "Guid": "1",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "405945712640",
      "AvailableSize": "503138222080",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "147635376708173736",
      "InstanceGuid": "11091497622575628775",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/robdrynkin-test:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "653"
    },
    {
      "VDiskId": {
        "GroupID": 2181042351,
        "GroupGeneration": 22,
        "Ring": 0,
        "Domain": 2,
        "VDisk": 0
      },
      "ChangeTime": "1749654108483",
      "PDiskId": 1001,
      "VDiskSlotId": 5291,
      "Guid": "2346760383811519390",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "403492044800",
      "AvailableSize": "2783004590080",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "5147904007062501847",
      "InstanceGuid": "15397050023837162688",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/robdrynkin-test:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "495"
    },
    {
      "VDiskId": {
        "GroupID": 2181042352,
        "GroupGeneration": 36,
        "Ring": 0,
        "Domain": 0,
        "VDisk": 0
      },
      "ChangeTime": "1749654108471",
      "PDiskId": 1,
      "VDiskSlotId": 1017,
      "Guid": "1",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "5179965440",
      "AvailableSize": "903903969280",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "7490771247779881832",
      "InstanceGuid": "11550239979095323732",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/robdrynkin-test-2:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "467"
    },
    {
      "VDiskId": {
        "GroupID": 2181042352,
        "GroupGeneration": 36,
        "Ring": 0,
        "Domain": 1,
        "VDisk": 0
      },
      "ChangeTime": "1749654108492",
      "PDiskId": 3,
      "VDiskSlotId": 1016,
      "Guid": "3",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "4771020800",
      "AvailableSize": "1055758745600",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "12334375889036393629",
      "InstanceGuid": "16393542153006505182",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/robdrynkin-test-2:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "562"
    },
    {
      "VDiskId": {
        "GroupID": 2181042352,
        "GroupGeneration": 36,
        "Ring": 0,
        "Domain": 2,
        "VDisk": 0
      },
      "ChangeTime": "1749654108496",
      "PDiskId": 1000,
      "VDiskSlotId": 5292,
      "Guid": "5132767872367975203",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "5997854720",
      "AvailableSize": "3180498780160",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "8470865931606562694",
      "InstanceGuid": "11631054957864391596",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/robdrynkin-test-2:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "530"
    },
    {
      "VDiskId": {
        "GroupID": 2181042353,
        "GroupGeneration": 36,
        "Ring": 1,
        "Domain": 0,
        "VDisk": 0
      },
      "ChangeTime": "1749654108738",
      "PDiskId": 2,
      "VDiskSlotId": 1020,
      "Guid": "2",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "2181038080",
      "AvailableSize": "3179544576000",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "16704346992678361379",
      "InstanceGuid": "754754302987078105",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/arykov-test:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "1003"
    },
    {
      "VDiskId": {
        "GroupID": 2181042353,
        "GroupGeneration": 36,
        "Ring": 1,
        "Domain": 1,
        "VDisk": 0
      },
      "ChangeTime": "1749654108458",
      "PDiskId": 1,
      "VDiskSlotId": 1018,
      "Guid": "1",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "6406799360",
      "AvailableSize": "902677135360",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "16428825679718430266",
      "InstanceGuid": "5220870118845515098",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/arykov-test:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "757"
    },
    {
      "VDiskId": {
        "GroupID": 2181042353,
        "GroupGeneration": 36,
        "Ring": 1,
        "Domain": 2,
        "VDisk": 0
      },
      "ChangeTime": "1749654108496",
      "PDiskId": 1002,
      "VDiskSlotId": 5285,
      "Guid": "18323056988329879991",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "5997854720",
      "AvailableSize": "3180498780160",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "5012928756699741341",
      "InstanceGuid": "11743303765144647111",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/arykov-test:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "435"
    },
    {
      "VDiskId": {
        "GroupID": 2181042355,
        "GroupGeneration": 23,
        "Ring": 0,
        "Domain": 0,
        "VDisk": 0
      },
      "ChangeTime": "1749654108496",
      "PDiskId": 1000,
      "VDiskSlotId": 5291,
      "Guid": "5132767872367975203",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "6679429120",
      "AvailableSize": "3179817205760",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "16392047843819827635",
      "InstanceGuid": "11150598064529334385",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/galaxycrab:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "407"
    },
    {
      "VDiskId": {
        "GroupID": 2181042355,
        "GroupGeneration": 23,
        "Ring": 0,
        "Domain": 1,
        "VDisk": 0
      },
      "ChangeTime": "1749654108454",
      "PDiskId": 1,
      "VDiskSlotId": 1019,
      "Guid": "1",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "8042577920",
      "AvailableSize": "901041356800",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "7540742686868999375",
      "InstanceGuid": "11721795821996679630",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/galaxycrab:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "558"
    },
    {
      "VDiskId": {
        "GroupID": 2181042355,
        "GroupGeneration": 23,
        "Ring": 0,
        "Domain": 2,
        "VDisk": 0
      },
      "ChangeTime": "1749654108482",
      "PDiskId": 3,
      "VDiskSlotId": 1020,
      "Guid": "3",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "7769948160",
      "AvailableSize": "1052759818240",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "3951769136510162895",
      "InstanceGuid": "246327192362599266",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/galaxycrab:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "340"
    },
    {
      "VDiskId": {
        "GroupID": 2181042356,
        "GroupGeneration": 21,
        "Ring": 0,
        "Domain": 0,
        "VDisk": 0
      },
      "ChangeTime": "1749654108461",
      "PDiskId": 1002,
      "VDiskSlotId": 5286,
      "Guid": "18323056988329879991",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "4771020800",
      "AvailableSize": "3181725614080",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "14090868393349264555",
      "InstanceGuid": "13862763435226085382",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/senya:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "463"
    },
    {
      "VDiskId": {
        "GroupID": 2181042356,
        "GroupGeneration": 21,
        "Ring": 0,
        "Domain": 1,
        "VDisk": 0
      },
      "ChangeTime": "1749654108458",
      "PDiskId": 1,
      "VDiskSlotId": 1015,
      "Guid": "1",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "4362076160",
      "AvailableSize": "904721858560",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "2476982106795520777",
      "InstanceGuid": "17807092479596805253",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/senya:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "530"
    },
    {
      "VDiskId": {
        "GroupID": 2181042356,
        "GroupGeneration": 21,
        "Ring": 0,
        "Domain": 2,
        "VDisk": 0
      },
      "ChangeTime": "1749654108472",
      "PDiskId": 3,
      "VDiskSlotId": 1018,
      "Guid": "3",
      "Kind": "0",
      "NodeId": 2,
      "VDiskState": "OK",
      "DiskSpace": "Green",
      "SatisfactionRank": {
        "FreshRank": {
          "Flag": "Green"
        },
        "LevelRank": {
          "Flag": "Green"
        }
      },
      "Replicated": true,
      "ReplicationProgress": 1,
      "ReplicationSecondsRemaining": 0,
      "UnsyncedVDisks": "3",
      "AllocatedSize": "4225761280",
      "AvailableSize": "1056304005120",
      "HasUnreadableBlobs": false,
      "IncarnationGuid": "3290349319584923055",
      "InstanceGuid": "15731055145864388272",
      "FrontQueues": "Green",
      "StoragePoolName": "/ydb-slice-1/senya:ssd",
      "ReadThroughput": "0",
      "WriteThroughput": "312"
    }
  ]
},

bad vdisk

Image

For failed disks, the VDiskId information is still present:

/viewer/json/nodes bad vdisks reply

    {
      "NodeId": 1,
      "UptimeSeconds": -110271,
      "Disconnected": true,
      "DiskSpaceUsage": 8.57804012,
      "SystemState": {
        "Host": "man0-0505.ydb-dev.ik8s.nebiuscloud.net",
        "DisconnectTime": "1749543838447"
      },
      "PDisks": [
        {
          "PDiskId": 1,
          "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_01",
          "Guid": "1",
          "AvailableSize": "5852134113280",
          "TotalSize": "6401234567168",
          "State": "Normal",
          "NodeId": 1,
          "ExpectedSlotCount": 16
        },
        {
          "PDiskId": 2,
          "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_02",
          "Guid": "2",
          "AvailableSize": "7629816463360",
          "TotalSize": "7681475940352",
          "State": "Normal",
          "NodeId": 1,
          "ExpectedSlotCount": 16
        },
        {
          "PDiskId": 3,
          "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_03",
          "Guid": "3",
          "AvailableSize": "5953279754240",
          "TotalSize": "6401234567168",
          "State": "Normal",
          "NodeId": 1,
          "ExpectedSlotCount": 16
        },
        {
          "PDiskId": 1001,
          "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_04",
          "Guid": "1740442249360462024",
          "AvailableSize": "6399029411840",
          "TotalSize": "6401234567168",
          "State": "Normal",
          "NodeId": 1,
          "ExpectedSlotCount": 16
        },
        {
          "PDiskId": 1000,
          "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_05",
          "Guid": "4291854627095692855",
          "AvailableSize": "5995537367040",
          "TotalSize": "6401234567168",
          "State": "Normal",
          "NodeId": 1,
          "ExpectedSlotCount": 16
        },
        {
          "PDiskId": 1002,
          "Path": "/dev/disk/by-partlabel/ydb_disk_ssd_06",
          "Guid": "16910309944976056698",
          "AvailableSize": "6394394705920",
          "TotalSize": "6401234567168",
          "State": "Normal",
          "NodeId": 1,
          "ExpectedSlotCount": 16
        }
      ],
      "VDisks": [
        {
          "VDiskId": {
            "GroupID": 2181042353,
            "GroupGeneration": 36,
            "Ring": 2,
            "Domain": 0,
            "VDisk": 0
          },
          "PDiskId": 2,
          "VDiskSlotId": 1011,
          "NodeId": 1,
          "VDiskState": "LocalRecoveryError",
          "AllocatedSize": "8042577920",
          "AvailableSize": "1265819975680"
        },
        {
          "VDiskId": {
            "GroupID": 2181042353,
            "GroupGeneration": 36,
            "Ring": 2,
            "Domain": 1,
            "VDisk": 0
          },
          "PDiskId": 1,
          "VDiskSlotId": 1001,
          "NodeId": 1,
          "VDiskState": "LocalRecoveryError",
          "AllocatedSize": "8042577920",
          "AvailableSize": "1264593141760"
        },
        {
          "VDiskId": {
            "GroupID": 2181042353,
            "GroupGeneration": 36,
            "Ring": 2,
            "Domain": 2,
            "VDisk": 0
          },
          "PDiskId": 3,
          "VDiskSlotId": 1001,
          "NodeId": 1,
          "VDiskState": "LocalRecoveryError",
          "AllocatedSize": "8860467200",
          "AvailableSize": "1051669299200"
        }
      ]
    },

As long as VDiskId remains available, the option to evict should remain accessible as well.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions