enlarging /var partition
hi
because of mysql i'm running into troubles with size of /var partition but i have second disk which aint even partitioned. how can i create new partition at second disk and move the current /var partition there ? thank you |
data in /var is typically just regular files, so it's not a scary thing to move. just create teh new partition with cfrdisk or such like, format with mke2fs or mkreiserfs and then mount it somewhere, e.g. /mnt/newvar. next just use "cp -Rv /var/ /mnt/newvar/" and sit back. once done, just update /etc/fstab to relfect the new location of the partition.
|
All times are GMT -5. The time now is 03:14 PM. |