So I have some problems with my M.2 SSD, I don't know whether It's the SSD itself or the M.2 slot in the motherboard.
couple of weeks ago my PC failed to boot up, the error was something like "can't access the boot drive", I was booting from my M.2 SSD so I figured my SSD could be broken or the M.2 slot is broken, so I boot my PC from another SSD (SATA) and It worked which confirms that the problem must be in the SSD/slot. but the weird thing is after I boot from another drive, the M.2 SSD was detected but It was unallocated, which is weird because I obviously have a lot of files in there. then I thought maybe It's not broken after all so I allocate the drive and began using it normally. Until today the same shit happen again, the M.2 SSD was missing from my PC so I went and checked the partition again to see It has become unallocated again, like wtf is wrong?. Is it the SSD or the M.2 slot itself? can anyone suggest me anything?