LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2002, 01:49 PM   #1
hoodman10
LQ Newbie
 
Registered: Nov 2002
Location: Florida
Distribution: redhat 7.2
Posts: 1

Rep: Reputation: 0
/var file space too low need to make it larger


How do I take unused space in /usr and move it to /var without losing all my data? Redhat 7.2 is my OS.

Filesystem Size Used Avail Use% Mounted on
/dev/sda5 372M 70M 283M 20% /
/dev/sda1 48M 6.0M 39M 13% /boot
/dev/sda3 2.0G 33M 1.8G 2% /home
none 93M 0 93M 0% /dev/shm
/dev/sda2 5.4G 1.1G 4.0G 21% /usr
/dev/sda6 248M 204M 31M 87% /var

 
Old 11-25-2002, 06:23 PM   #2
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
with ur partition layout, its a bit tricky. you'll have to make use of parted and lvm:
parted - to shrink /usr -- this is very dangerous and might render your system corrupted
lvm - to add the freed diskspace to /var

If I were u I'd backup my config and data and do a clean install - much easier.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Low disk space problem Maverick1182 Linux - Newbie 3 08-07-2005 04:14 AM
Running a bit low on space zxzx123 Linux - Newbie 3 12-25-2004 08:37 PM
make OpenBSD's text console larger? gani *BSD 4 09-20-2004 11:44 PM
Low disk space??? kevinlyfellow Linux - General 6 11-12-2003 02:37 PM
How do I make my Linux Partition larger? SeXuaLSoYBeaN Linux - Software 1 10-17-2003 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration