add attach and detach disk