Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am very new to linux OS
I have a server CENTOS 5.6 x86_64 standard
This server have 8 Hardisks running on RAID 5 with one HD as hot spare
The capacity is 300GB per hardisk
and the total current usage is as belows:
I knew there is something wrong on /tmp which mounted on two separated partitions ; this configurations done by the previous admin
1) What is the procedure to move the /tmp only to use in one partitions
2) The /var partition is mounted but it is not showing in df -h command
Here is my fstab file looks like
To know what partitions are mounted use the mount command with no options/parameters.
If you want to move the /tmp into an individual partition you have first to create the partition and format it using ext4 or ext3. And then mount it into /tmp but you've to be carreful you need to set the right permissions of that folder (stickybit).
I couldnt contact the previous admin who did that coz he already left our company
I am totally new to linux, previously I am the Windows servers admin
Could someone please guide me step by step on how to change the /tmp partitions settings to the correct one
I am totally new to linux, previously I am the Windows servers admin...
I'm a Windows Admin as well, but I am using Linux since about 17 Years. My experience is that Windows-knowledge is completely useless when it come to Linux. You're not the admin, your the newbie. Be careful not to damage a server.
Could someone please guide me step by step on how to change the /tmp partitions settings to the correct one...
How about reading the manuals? As you know, Linux is much about reading, read the manpages. Read about Raid with Linux, build a testbox, test your knowledge.
My opinion: as an admin using a step by step guide provided by a person you don't know and without any own knowledge..... you should consider if you've got the right job.
To reiterate. DO NOT TOUCH
You will regret it (been there, touched it, spent considerable time putting it back the way it was)
Most anyone will need considerable time to research what particular special feature this is performing. May get lucky and someone will recognize this.
- That is the /etc/fstab (what can be mounted and how), but what is the /etc/mtab (what is mounted now) ??
- What are the /proc reported mounts ??
- /tmp is a heavily used temporary directory. Strange things are sometime done to it to speed things up. On a server, especially.
- The two /tmp are the exact size, it looks like mirroring at first glance (but that may be wrong).
- How does your raid mount two directories to share the workload ??
- One of the /tmp in fstab is set to noauto. How is that getting mounted then ?? Check your /etc/rc.d files for mount commands.
- One is really mounted under /tmp, but the other is mounted under /var/tmp, but with the LABEL=/tmp.
They are mounting in two different locations. You can verify this by looking at /tmp and /var/tmp.
Is this some trick to accomplish something more tricky. Why did they need the same name ??
- If Linux allows it, and you are not getting error messages, then it is probably allowable, and most probably setup to solve some server problem !!!
- checkout the /usr/doc/LINUX-HOWTO/*Raid* (capitalization may vary)
Last edited by selfprogrammed; 08-29-2011 at 04:49 PM.