+
Skip to content

[求助/Help]物理机转宿主机做raid报错 #22672

@liwenson

Description

@liwenson

dell的服务器有一块boss卡和一块raid卡,想用boss卡的磁盘用于装系统,raid卡用于做数据盘,目前手动做了raid5,但是在自定义磁盘配置中无法看到做完raid之后的虚拟磁盘,如果在自定义磁盘配置中创建raid会报错

Image

{
  "class": "InputParameterError",
  "code": 400,
  "details": "无效的RAID配置:Raid config after none raid config 0",
  "time": "2025-06-05T14:29:57+08:00"
}
{
  "method": "post",
  "url": "/v2/hosts/c720a99b-0544-4c6b-8075-6cc3328350e8/convert-hypervisor",
  "headers": {
    "Accept": "application/json, text/plain, */*",
    "Content-Type": "application/json;charset=utf-8",
    "x-yunion-lang": "zh-CN"
  },
  "data": {
    "nets": [
      {
        "network": "12b7e52b-2dc7-4be3-8fa9-606a44f8c57c"
      }
    ],
    "name": "cloudpods-hz-worker21",
    "host_type": "hypervisor",
    "disks": [
      {
        "size": 427008,
        "image_id": "51a6b87c-6141-454c-8690-641dc831c082"
      },
      {
        "size": -1,
        "mountpoint": "/(系统)"
      },
      {
        "size": -1,
        "fs": "ext4",
        "mountpoint": "/opt/cloud/workspace"
      }
    ],
    "baremetal_disk_configs": [
      {
        "conf": "none",
        "driver": "PCIE",
        "count": 1,
        "range": [
          0
        ],
        "adapter": 0,
        "type": "ssd"
      },
      {
        "conf": "raid5",
        "driver": "MegaRaid",
        "count": 8,
        "range": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "adapter": 0,
        "type": "ssd"
      }
    ]
  },
  "params": {}
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载