Sounds like you formatted the drive using the FAT 32 file system, which will only recognize 40 GB, which works out to about 36 GB of HDD space once you include that file system's overhead. Reformat the drive and select NTFS as the file system and it should recognize the full drive.