This was all in an external hard disk.
This was the scenario: I had 900GB of unallocated space and a 20GB ext4 partition. I used gparted to extend the etx4 partition across the entire disk.
After this, since there was some kind of warning in gparted (an exclamation icon beside the partition name) I clicked on repair. It started and said completed successfully.
On mounting the disk now the GUI shows no folders.
Also, du -h gives the following:
4.0K /media/user/61d564a3-1af1-460f-8508-f037b8088c1a/lost+found
8.0K /media/user/61d564a3-1af1-460f-8508-f037b8088c1a
df -h
/dev/sdb2 917G 72M 871G 1% /media/user/61d564a3-1af1-460f-8508-f037b8088c1a
Have I lost the data? If yes, it has to be the rescue operation, right?
Edit: In Gparted it says used is 14.76 GB so the data might still just be there.