On Fri, Apr 04, 2003 at 05:28:18PM +0530, Amol Chawathe wrote: > > I have installed tomcat 4.1.x in /usr/local/tomcat4 The > application directory which it is using is /usr/local/tomcat4/ > webapps Now the /usr partition is having only 2GB which is > completely filled .My problem is that can we enlarge the size > of the partition , I have /home with 20 GB , I want to reduce > the size of /home and increase the size of /usr , can anyone > please tell me how I go about without loosing any data .Thanks > again for such a wonderful support the linux team . > ---end quoted text---
o AFAIK, non-destructive re-partitioning of an ext2 partition is not possible. o Here is a possible workaround to create some space under /usr. It would be possible to create space by moving tomcat to /home and placing a symlink at /usr/local for it. viz: # cd /usr/local # mv tomcat4 /home # ln -s /home/tomcat tomcat o Things should work fine after next boot. Attempt this if yours is a stand alone box and number of users would not increase with time. Just my 2p. Bish -- : ####[ GNU/Linux One Stanza Tip (LOST) ]####################### Sub : Searching for rpm package name LOST #238 Want to know to which package a particular executable or binar on your rpm based distro lies ? Do : #rpm -qf `which <executable-file>` ####<[EMAIL PROTECTED]>#################### : ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
