The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
cpu, memory and virtual memory usage ocelot UNIX for Dummies Questions & Answers 4 12-01-2008 07:57 AM
How can I get memory usage or anything that show memory used from sar file? panithat HP-UX 1 03-31-2008 01:26 PM
memory increasing Frank2004 High Level Programming 0 10-21-2005 11:40 PM
Monitor CPU usage and Memory Usage Gajanad Bihani High Level Programming 2 03-09-2005 07:35 AM
memory increasing on UNIX netfer High Level Programming 1 05-25-2004 12:44 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-02-2008
shamrock shamrock is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2007
Location: USA
Posts: 750
I am not sure about centos 4.x? Can't you extend the /var filesystem online without reinstalling the OS.
  #2 (permalink)  
Old 09-02-2008
mcraul mcraul is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 80
i am not sure i have never tried it before. That would be super helpful if you could then i can add another gig just for buffer.
  #3 (permalink)  
Old 09-02-2008
shamrock shamrock is offline Forum Advisor  
Registered User
  
 

Join Date: Oct 2007
Location: USA
Posts: 750
I have no experince on centos so I can't help you there.
  #4 (permalink)  
Old 09-08-2008
mcraul mcraul is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 80
Anybody know how to allocate more space to a partition without reinstalling the whole OS?

Thanks
  #5 (permalink)  
Old 09-08-2008
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 669
When you installed the system did you use LVM (Logical Volume Manager)?

When you do df is would look somethign like:

/dev/mapper/RootVG-var
####### ####### ####### 51% /var

I named my Volume group "RootVG" yours could be different.

If you use LVM you can extend/reduce partitions.

Otherwise its going to be a bit harder.
  #6 (permalink)  
Old 09-08-2008
Ikon's Avatar
Ikon Ikon is offline Forum Advisor  
Registered User
  
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 669
One Option is your not using LVM:

1) Backup your databases
2) Add New Harddrive
3) Mount to somewhere /var/mydatabases (whatever)
4) Reconfigure mysql to use new drive for databases (basedir, i beleive)
5) Restore Databases

That would clear up rest of var for logging and what ever else and you would have your mysql dbs on its own drive(s). You could install 2 Drives and setup raid.
  #7 (permalink)  
Old 09-09-2008
mcraul mcraul is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 80
Do you think it would be ok to delete anything in this dir?

Code:
# ls -al |more
total 37228
drwxr-xr-x   2 rpm  rpm      4096 Sep  3 22:50 .
drwxr-xr-x  24 root root     4096 May 15 22:58 ..
-rw-r--r--   1 rpm  rpm   2813952 Aug 22 15:46 Basenames
-rw-r--r--   1 rpm  rpm     12288 May 15 23:01 Conflictname
-rw-r--r--   1 root root    16384 Sep  3 22:50 __db.001
-rw-r--r--   1 root root  1318912 Sep  3 22:50 __db.002
-rw-r--r--   1 root root   450560 Sep  3 22:50 __db.003
-rw-r--r--   1 rpm  rpm    757760 Aug 22 15:46 Dirnames
-rw-r--r--   1 rpm  rpm   5279744 Aug 22 15:46 Filemd5s
-rw-r--r--   1 rpm  rpm     28672 Aug 22 15:46 Group
-rw-r--r--   1 rpm  rpm     32768 Aug 22 15:46 Installtid
-rw-r--r--   1 rpm  rpm     45056 Aug 22 15:46 Name
-rw-r--r--   1 rpm  rpm  27951104 Aug 22 15:46 Packages
-rw-r--r--   1 rpm  rpm    335872 Aug 22 15:46 Providename
-rw-r--r--   1 rpm  rpm    110592 Aug 22 15:46 Provideversion
-rw-r--r--   1 rpm  rpm     12288 Aug 22 15:46 Pubkeys
-rw-r--r--   1 rpm  rpm    217088 Aug 22 15:46 Requirename
-rw-r--r--   1 rpm  rpm    147456 Aug 22 15:46 Requireversion
-rw-r--r--   1 rpm  rpm     86016 Aug 22 15:46 Sha1header
-rw-r--r--   1 rpm  rpm     77824 Aug 22 15:46 Sigmd5
-rw-r--r--   1 rpm  rpm     12288 Aug 22 15:46 Triggername
this is in /var/lib/rpm

thanks
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0