Server Story..../etc
esx 에서 vcenter 운영중일때 iscsi 연결 강제 종료후 해당 iscsi 게속 남아있고 삭제 안될때
Sumin Family
2011. 12. 9. 12:42
esx host 를 여러대 운영중이고,
해당 host 를 vcenter 로 묶어서 운영중인상태에서,
iscsi 의 storage 를 붇였다가 i/o 체크 를 활성화 해둔뒤 해당 storage 를 제거 하면,
host 에 연결했던 sotrage 가 비활성화 인체로 삭제가 안되는경우가 있다.
Call "HostDatastoreSystem.RemoveDatastore" for object "datastoreSystem-123" on vCenter Server "WIN-I18P0SSLK50" failed.
Can't remove datastore 'nexenta111' because Storage I/O Control is enabled on it. Correct it and re-try the operation
이럴때 지우려고 하면 i/o 체크가 되어있어서 삭제가 안된다고 나온다..
이럴때 아래와 같이 vcenter db 에 가서 지우자. ㅠ.ㅠ
select top 100 * from dbo.VPX_FS_MOUNT_VOLUME_INFO
delete from VPX_FS_MOUNT_VOLUME_INFO where name='nexenta111'
delete from vpx_datastore where name='nexenta111'
그뒤에 호스트를 각각 재부팅 하면 새로올라온 호스트에서 해당 내용이 삭제가 된것을 볼수 있다.