We need to resize the partition that is mounted to /var on a running machine. The only way to access it is via SSH, so live CD is not an option for us.
Can we repartition the file system without losing any data? (The system is freshly installed so there isn't any data yet.)
We tried parted but we got following warning:
Error: File system was not cleanly unmounted! You should run e2fsck. Modifying an unclean file system could cause severe corruption.