当我尝试将EBS卷附加到作为Kubernetes集群一部分的运行EC2实例时,显示以下错误:
Error attaching volume: Invalid value '/dev/sdf' for unixDevice. Attachment point /dev/sdf is already in use
这是lsblk的输出:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 150G 0 disk └─xvda1 202:1 0 150G 0 part / xvdc 202:32 0 37.5G 0 disk └─vg--ephemeral-ephemeral 254:0 0 75G 0 lvm /mnt/ephemeral xvdd 202:48 0 37.5G 0 disk └─vg--ephemeral-ephemeral 254:0 0 75G 0 lvm /mnt/ephemeral