exsi挂载ISCSI存储出错恢复
发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,查看该卷状态:# esxcli storage filesystem list在iscsi出错后在esxi中看到的存储状态如下:Mount Point
千家信息网最后更新 2024年09月22日exsi挂载ISCSI存储出错恢复
查看该卷状态:
# esxcli storage filesystem list
在iscsi出错后在esxi中看到的存储状态如下:
Mount Point Volume Name UUID Mounted Type Size Free------------------------------------------------- ----------- ----------------------------------- ------- ------ -------------- --------------/vmfs/volumes/5d4bc70c-70355d08-734b-d09466821f5e iscsi-storage 5d4bc70c-70355d08-734b-d09466821f5e true VMFS-6 0
恢复步骤如下:
1. 要查看希望移除的数据存储所在的 LUN 的唯一标识符,请运行以下命令:
# esxcfg-scsidevs -m
2. 卸载该卷
# esxcli storage filesystem unmount [-u UUID | -l label | -p path ]
例如,使用以下命令之一卸载 LUN01 数据存储:
# esxcli storage filesystem unmount -l LUN01# esxcli storage filesystem unmount -u 4e414917-a8d75514-6bae-0019b9f1ecf4# esxcli storage filesystem unmount -p /vmfs/volumes/4e414917-a8d75514-6bae-0019b9f1ecf4
注意:如果尝试卸载的 VMFS 文件系统具有活动 I/O 或尚未满足卸载 VMFS 数据存储的必备条件,则会在 VMkernel 日志中显示如下错误:
WARNING:VC:637: unmounting opened volume ('4e414917-a8d75514-6bae-0019b9f1ecf4' 'LUN01') is not allowed.VC:802: Unmount VMFS volume f530 28 2 4e414917a8d7551419006bae f4ecf19b 4 1 0 0 0 0 0 :Busy
出现上述错误需要查看该卷正在使用的进程,使用如下命令:
# vsish -e ls /storage/scsifw/devices/naa.6842b2b00066caec000084bb4f7e9e4e/worlds/ |sed 's:/::' |while read i;do ps |grep $i;done
结束正在使用该卷的进程, 使用上述命令重新卸载该卷
使用如下命令重新扫描ISCSI存储卷:
# esxcli storage core adapter rescan --all
重新查看所有卷状态:
# esxcli storage filesystem list
所有卷状态正常
参考链接:esxi卸载存储、 不能卸载存储
存储
命令
状态
数据
正在
进程
错误
尚未
所在
文件
日志
条件
标识
标识符
步骤
系统
链接
参考
尝试
活动
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
加强校园网络安全检查记录
网络安全稿件电厂
公主连接没服务器吗
济南奇点网络技术
数据库有办法按时间排序吗
山西软件开发服务有哪些
移动端软件开发需要什么软件
华三服务器远程控制kvm
国内做期货的平台软件开发
营口网络安全态势感知装置
网络技术研发对联
我的世界单机版怎么加入服务器
上海应用软件开发哪里好
nos数据库结构化
长沙网络安全专业招聘
湖北武汉互联网服务器云空间
搜网络安全拍手歌
我的世界服务器阿里云
ug怎么清除3d数据库
产品价格数据库
呼市新华互联网科技学校视频
网络安全审查新政策
英国知名软件开发
杭州直播软件开发平台
超市收钱数据库用什么软件
安徽采购系统管理软件开发
web3d用什么服务器好用
校园网络安全问题问卷
宁波软件开发者
连连科技互联网寿险宁波