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 have next question. I have Centos 6. When I type command
I see next output:
disk /dev/mapper/asr_1p3: 71.4 ГБ, 71381811200 байт
255 heads, 63 sectors/track, 8678 cylinders
Units = цилиндры of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
I have read about LVM. And now I have another question. I have almost all space mounted on / including var. As I understand, it is not a good idea to do so. So my question is how to separate my var directory on separate partition if all space in single mounting point?
The reason why people say /var and /tmp should be seperated is due to isolation of file space. These filesystems can become full easily on some systems, say a web server that gets millions of requests a day the httpd access logs in /var/log/httpd/ would start to consume the entire filesystem.
If this is an actual issue for you then you can look at creating a new lv(provided the volume group has enough space) for these. If you don't have enough space you can reduce the size of your current lv to create the new ones.
Again, this isn't something that you must do but it is something that could be a potential issue under certain types of server configuration.
I think what we have here is misunderstanding( I have next situation (I dont khow how to get screen from my virtual machine):
/dev/sda2 bla bla mounted on /
/dev/sda1 bla bla mounted on /boot
lvdisplay shows no output however LVM is installed. So my question is: How to get some space from / and create separate partition for /var. Unfortunatelly I dont have any LV configured. Partitions were created during initial setting and var was allocated on the same space and FS as /. How to change this?
Yeap. There is mapper in output. But no output for pvdisplay or vgdisplay. I think it is because LVM is included in this distribution and was used during initial setting only. Or it is not a LVM but just name of file in /dev directory and has no concern to LVM.