Re: [ext2resize] How to...
Status: Inactive
Brought to you by:
adilger
From: Andreas D. <ad...@tu...> - 2001-07-28 18:07:08
|
Martin writes: > Simple question, below is what I've got now : > > [root@dagma /root]# df -h > Filesystem Size Used Avail Use% Mounted on > /dev/sda8 251M 131M 107M 55% / > /dev/sda1 23M 4.3M 17M 20% /boot > /dev/sda6 3.8G 1.3G 2.3G 36% /home > /dev/sda5 3.8G 2.7G 1004M 73% /usr > /dev/sda7 251M 137M 101M 58% /var > > The problem is with sending mail becouse the /var partition is to small. > I'd like to extend it with some space (let's say 1Gb) taken from /home. You send > 100MB emails? > How to do it in most safest way. I've got RH7.1 with etx2resize latest > version installed from rpm. Because you are running on DOS partitions, then you probably want to use GNU parted (which uses the ext2resize code). It will also handle the needed changes to the partition table, which ext2resize will not. If you are using something like LVM, then it is a lot easier. > Is it posiblle to do it through internet ? My server is about 30 miles away > from me :-)) Maybe yes, maybe no. If you are able to directly log in as root, then you will be able to unmount /home (you may need to change /etc/ssh/sshd_config to allow direct root login). You need to shut down all unnecessary services to make /var unmountable. You can use "lsof" to see which processes have files open in /var. Good luck. Cheers, Andreas -- Andreas Dilger http://sourceforge.net/projects/ext2resize/ http://www-mddsp.enel.ucalgary.ca/People/adilger/ |