get the disk space with differnt type