I ran the below command thru cmd with admin privileges. But still the issue has not been solved. I cannot format the drive since i have stored important data.
C:\Windows\system32>chkdsk /f g:
The type of the file system is NTFS.
Unable to determine volume version and state. CHKDSK aborted...