add methods to attach and detach a volume