Added function for creating subvolumes, more code reducing