Re: want to change /var/log partition to a directory in /var --help

2005-05-25 Thread Urs Thuermann
Ionut Georgescu <[EMAIL PROTECTED]> writes: > Please send fdisk -l /dev/hda. Judging by your /etc/fstab, you can't do > anything because you have /home and /tmp between /var and /var/log. The > best you cand do is to move /tmp and /var/log to /var and extend /home > :-) > > I will describe the ne

Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Ionut Georgescu
Hi Siju, On Tue, May 24, 2005 at 06:41:17PM +0530, Siju George wrote: > Thankyou so much Ionut for the continuing help :-) You're welcome :-) Playing around with partition tables is one of my favourites. > # /etc/fstab: static file system information. > # > # > > /dev/hda1

Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Ivar Friheim
If you have enough room on the /var-partition, you could simply delete (or comment) the line containing " /dev/hda7 /var/log " from /etc/fstab and reboot. This will make your system start using your directory /var/log on the hda3-partition instead of mounting this directory on another partition. If

Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Siju George
Thankyou so much Ionut for the continuing help :-) On 5/24/05, Ionut Georgescu <[EMAIL PROTECTED]> wrote: > Please send fdisk -l /dev/hda. Judging by your /etc/fstab, you can't do > anything because you have /home and /tmp between /var and /var/log. The > best you cand do is to move /tmp and /var

Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Ionut Georgescu
Please send fdisk -l /dev/hda. Judging by your /etc/fstab, you can't do anything because you have /home and /tmp between /var and /var/log. The best you cand do is to move /tmp and /var/log to /var and extend /home :-) I will describe the next steps anyway: First: ext3 must resized offline. Secon

Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Siju George
Thankyou so much Ionut for the detailed steps :-) On 5/24/05, Ionut Georgescu <[EMAIL PROTECTED]> wrote: > cd /var > cp -r log log.bak # or cp -r log /home/log.bak is /var is too small > umount log > rmdir log > mv log.bak log > I understood the steps but I have a doubt. What will hape When I r

Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Ivar Friheim
> how can I change the "/var/log" from the "/var/log"partition to the > "/var" partition under a directory "/var/log" What you could do is create a symlink from /var/log to point to any other place (for examlpe /var) by using the command ln -s /var /var/log. But I guess you would have to go to ru

Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Ionut Georgescu
cd /var cp -r log log.bak # or cp -r log /home/log.bak is /var is too small umount log rmdir log mv log.bak log If the partition that used to be mounted under /var/log is just after /var, then you can extend /var: * with fdisk: -# delete /var/log -# write down where /var begins (pr

want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Siju George
Hi all, As I installed my Debian I gave very little space for /var/log partition and the partition is full now and the system is slow :-( how can I change the "/var/log" from the "/var/log"partition to the "/var" partition under a directory "/var/log" Could someone please tell me what steps shou