device size is in MB