I have no idea about how i did but my partitions are mess.
I tried some solutions about similar issues which i found on ubuntu forums but no one worked. I can not resize any of them. Can someone simply explain me what should i do now.
partitions
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xa5f1e7de
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 1050623 524288 b W95 FAT32
/dev/sda2 1050624 1550335 249856 83 Linux
/dev/sda3 1550336 1953523711 975986688 8e Linux LVM
Disk /dev/mapper/ubuntu--vg-root: 991.9 GB, 991940313088 bytes
255 heads, 63 sectors/track, 120596 cylinders, total 1937383424 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/ubuntu--vg-root doesn't contain a valid partition table
Disk /dev/mapper/ubuntu--vg-swap_1: 7457 MB, 7457472512 bytes
255 heads, 63 sectors/track, 906 cylinders, total 14565376 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/ubuntu--vg-swap_1 doesn't contain a valid partition table