LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-07-2016, 07:35 AM   #1
sudharshandatla
LQ Newbie
 
Registered: Sep 2015
Posts: 22

Rep: Reputation: Disabled
Incresing the file system size


Hello,

If new lun is assigned to linux server.

How to extend the file system size with newly assigned lun..?
or

How to add this new lun to file system..??

Can you let me know
 
Old 01-07-2016, 07:43 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
You mean that your filesystem is on a different LUN and you want to extend it to a second LUN? You need a volume manager to do this, normally LVM. The filesystem must be created on top of a logical volume; you can then add the new LUN to the same volume group and extend the filesystem over it.

I suggest you read about LVM, for example the LVM Howto at http://tldp.org.
 
Old 01-07-2016, 07:48 AM   #3
sudharshandatla
LQ Newbie
 
Registered: Sep 2015
Posts: 22

Original Poster
Rep: Reputation: Disabled
Ok. Thanks for the reply.

One more doubt,

We are able to see in /var/log folder files like messages0.log, messages1.log and messages

What was the difference in these files and what was the use of this files.

I had faced this one in one of the interview..

Regards/RAJU
 
Old 01-07-2016, 07:53 AM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Please open a new thread, since this question is quite different from the title of this thread.

The answer is in the man page for logrotate.
 
Old 01-07-2016, 09:13 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by sudharshandatla View Post
Ok. Thanks for the reply.
One more doubt,

We are able to see in /var/log folder files like messages0.log, messages1.log and messages What was the difference in these files and what was the use of this files. I had faced this one in one of the interview..
This goes nicely with another thread of yours:
http://www.linuxquestions.org/questi...es-4175563215/
http://www.linuxquestions.org/questi...id-4175552814/
http://www.linuxquestions.org/questi...on-4175560692/


...asking about 'interview questions'. If you don't have the knowledge about such basic things, why are you interviewing for a job that requires you to know them? Not to sound nasty, but it doesn't seem like you've thought this through. The flaws:
  • An interviewer can as ANYTHING THEY WANT, and accept ANY ANSWER they choose to. Asking for 'interview answers' is pointless.
  • Even if you DO bluff your way into a job you don't have the knowledge to do...what are you going to to AFTER YOU'RE HIRED??? Ask your co-workers for advice about EVERYTHING? It will be VERY apparent, VERY quickly that you don't have the skills, and you'll be fired.

Last edited by TB0ne; 01-07-2016 at 09:15 AM.
 
  


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
Any good software to produce file system tree and file size report? ginda Linux - General 1 06-23-2009 04:50 AM
Changing file system size yusufs Linux - Newbie 1 10-16-2008 10:17 AM
File system size manoj.linux AIX 2 03-06-2008 09:23 AM
file system size larger than fysical size:superblock or partition table corrupt klizon Linux - General 0 06-18-2004 04:18 PM
max size file system f.montel Linux - Hardware 0 05-27-2004 04:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:51 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