I was in Live USB session.. i needed to download some files for work but there wasn't that much space in my storage then i noticed that /dev/sda3 is really big than the other 2 partitions and it's absolutely empty. my pendrive is 16GB and it shows that there are three partitions, one is around 3GB, which is /dev/sda1 (it's the main OS i think), one is 4.4MB EFI partition, which is /dev/sda2 and the last one is 13GB writable partition, which is /dev/sda3 and it's only 2.5% full and it is located in /var/log . so i downloaded some files in there, and before shutting down my pc i forgot to delete those files but after that when i opened my pc again i noticed that the file isn't there anymore but the storage is the same when the file was there.
So, I have 3 questions-
- Can i make the storage the same as it was before downloading the files in /var/log ?
- Is there a way to increase the storage in /dev/sda1 by reducing the storage of /dev/sda3 ?
- My USB has not persistent storage (and i don't have another PC/LAPTOP/USB Drives to make it persistent), can i save the files in dev/sda3 so that even after i restart my pc the files remain there ?
Note- I didn't had permission to save files to /var/log but i changed it to everyone and created a folder there, after i restarted my pc the folder was gone but the storage was the same as when the folder was there. And i'm actually really new to Linux/Ubuntu so i don't know much.
NAME SIZE FSTYPE
loop0 2G squashfs
sda 14.7G iso9660
├─sda1 2.7G iso9660
├─sda2 4.2M vfat
└─sda3 12.1G ext4
sr0 1024M