[root@db2 instance]# ./db2idrop db2inst1
DBI1070I Program db2idrop completed successfully.
首先DROP了这个实例
然后/home里面还有这个db2inst1文件夹,无法删除
导致无法重新创建DB2INST1
Q请问如何将HOME目录中DB2INST1删除呢?
收起db2idrop可以成功的话,直接删了那个目录就行
有时候实例受损,db2idrop无法执行成功,删除方法如下:
1- db2greg -delinstrec instancename=<instancename>
2- Remove manually the directory sqllib from the instance directory
3- Recreate the instance