problem with repartitioning in linux server
i have a linux server with fallowing configuration :
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 9.7G 4.7G 4.6G 51% /
/dev/sda6 19G 368M 18G 3% /var
/dev/sda2 194G 8.7G 176G 5% /usr
/dev/sda1 494M 26M 444M 6% /boot
tmpfs 2.0G 0 2.0G 0% /dev/shm
Now i want to have /var as 10 gb and /usr as 20 gb and / as 194 gb .How can i do that?
Solution what i thin is:
1)go to single user mode
doing chroot /mnt/sysimage and then cpoying data from one dir to other and emptying the first dir...
or how can i proceed?