본문 바로가기

Work/Solaris

solaris 에서 format 명령어 error시


Error occurred with device in use checking: No such device
or
Error occurred with device in use checking: Permission denied
or
/dev/dsk/cXXXXXXX is part of SVM volume diskset:XXX. Please see metaclear(1M).
/dev/dsk/cXXXXXXX contains an SVM mdb. Please see metadb(1M).



format>label

label unable to get current partition map.
cannot label disk when partitions are in use as described


Solaris10 
format 명령어에서 label 시도시 위와 같이 Error 발생시 


export NOINUSE_CHECK=1