LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-20-2011, 06:32 AM   #1
shravankumar.bbc
LQ Newbie
 
Registered: Mar 2010
Posts: 9

Rep: Reputation: 0
Dis usage


Hello friends,

In my server partions are like /=70gb, /boot=400Mb /var=30GB /home=20Gb swap=6gb, /opt=10gb /usr=10gb and all the partions are created my using lvm. with that we can increase r descrease the size.
Coming to my problem in my server am runnig NTP server. it should must be always on only which is installed in / partion. In / more than 40Gb space is free . Presently my /var is almost full and i need to increase the size of /var by reducing the / only.
other partions are also full. with out restarting the server and with out unmounting the / partion can we reduse it.
Please friends help me.
Thanks in advance.
 
Old 03-20-2011, 06:35 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello,

You should check first why all your partitions are full and eliminate the cause or solve the problem if any. Have a look at this howto for an easy to understand guide on LVM and the commands/procedures uses.

Kind regards,

Eric
 
Old 03-20-2011, 08:21 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,922
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Welcome to LQ!

FYI: I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem.



First off: what is your distribution? Second: Why such a large '/var'? You do have 'logrotate' running? Your log files are filling '/var/log' (find out what's happening)? How many users on the server? '70GB' for '/'? It looks to me like you have not setup a good project design for the server.

Quote:
excerpt from 'man logrotate';
LOGROTATE(8) System Administrator's Manual LOGROTATE(8)

NAME
logrotate - rotates, compresses, and mails system logs

SYNOPSIS
logrotate [-dv] [-f|--force] [-s|--state file] config_file ..

DESCRIPTION
logrotate is designed to ease administration of systems that generate large numbers of log files. It allows automatic rotation,
compression, removal, and mailing of log files. Each log file may be handled daily, weekly, monthly, or when it grows too large.

Normally, logrotate is run as a daily cron job. It will not modify a log multiple times in one day unless the criterium for that
log is based on the log's size and logrotate is being run multiple times each day, or unless the -f or -force option is used.

Any number of config files may be given on the command line. Later config files may override the options given in earlier files, so
the order in which the logrotate config files are listed is important. Normally, a single config file which includes any other
config files which are needed should be used. See below for more information on how to use the include directive to accomplish
this. If a directory is given on the command line, every file in that directory is used as a config file.

If no command line arguments are given, logrotate will print version and copyright information, along with a short usage summary.
If any errors occur while rotating logs, logrotate will exit with non-zero status.

Just a few links to aid you to gaining some understanding;



1 Linux Documentation Project
2 Rute Tutorial & Exposition
3 Linux Command Guide
4 Bash Beginners Guide
5 Bash Reference Manual
6 Advanced Bash-Scripting Guide
7 Linux Newbie Admin Guide
8 LinuxSelfHelp
9 Utimate Linux Newbie Guide
10 Linux Home Networking
11 Virtualiation- Top 10

The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!

 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anyone help me to understand dis? kalps Linux - Networking 1 03-04-2009 09:09 PM
Dis montylee Linux - Newbie 0 01-06-2007 09:17 AM
my own lin dis. ewt3y Linux - Distributions 2 08-11-2005 04:27 AM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Trash Can Up And Dis... opioid Linux - Software 6 05-12-2004 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:10 AM.

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