I am installing RED Hat linux on my machine
and want to create partition mounted on /boot , / ,/var, /var/log,/opt , /export/home and /tmp.
Do i need to force any of the mounted partition to be primary as i know if it is not created as a primary partition it is created as a logical partition
This option appears in the installation gui when installing
I would suggest keeping / reasonably small and try not to use it for anything other than the core OS, splitting off /usr (biggest on install) along with /tmp, /var and create an area for home directories preferably on another disk in another volume group.
I have installed Red hat Linux 5.11 with all the necessary patches needed but I have one questions
The partitions and disk space is not right e.g when using df –k
I get this
I want to create other partitions with disk space such as
/var 160000MB
/tmp 4000MB
/opt 40000 - 200000MB
/usr 4000 MB
Now I know I can use the fdisk command but also there is a LVM (which I have never used before )
Having looked at previous disk partition on other Red Hat Servers
There is something like this and also would like something similar
/dev/mapper/vg-sys-optvol 43 GB
dev/mapper/vg-sys-varvol 2GB
dev/mapper/vg-sys-tmpvol 2GB
dev/mapper/vg-sys-varlogvol 2GB
Please can you advise and assist on this
Moderator's Comments:
Please use code tags as required by forum rules!
Last edited by RudiC; 05-31-2016 at 11:37 AM..
Reason: Added code tags.
I have installed Red hat Linux 5.11 with all the necessary patches needed but I have one questions
The partitions and disk space is not right e.g when using df –k
I get this
I want to create other partitions with disk space such as
/var 160000MB
/tmp 4000MB
/opt 40000 - 200000MB
/usr 4000 MB Now I know I can use the fdisk command but also there is a LVM (which I have never used before )
Having looked at previous disk partition on other Red Hat Servers
There is something like this and also would like something similar
/dev/mapper/vg-sys-optvol 43 GB
dev/mapper/vg-sys-varvol 2GB
dev/mapper/vg-sys-tmpvol 2GB
dev/mapper/vg-sys-varlogvol 2GB
Please can you advise and assist on this
Hi, DOkuwa
Please, do not get confused between partitions and lvm volume management. Both are independent of each other.
LVM is an abstraction layer that works with disk blocks. These disk blocks can be full disk (unpartitioned) or part of a disk (partitions) /boot can not reside inside a LVM for your operating system, thus it must be in a partition (using fdisk or parted)
The rest of the disk can be part of an LVM.
LVM involves three layers. PV (Physical Volume), VG (Volume Group), and finally LV (Logical Volume)
Let's do an example with a 500GiB hard drive
Use fdisk to do two partitions one for /boot (500MiB) and one for the rest of the system.
Now you have two partitions dividing your disk /dev/sda2 you use it for the LVM
First, the PV:
This prepares the partition to be part of LVM
Second, the VG:
This creates a volume named vg-sys ready to be carved with logical volumes
Third, the LV:
These will carve six logical volumes out the volume group vg-sys, they are named with the -n flag
Last edited by Aia; 05-31-2016 at 12:24 PM..
Reason: Add root and swap volume examples
I'm am working with a Red Hat Enterprise 3 server.
This is a dedicated server that is supposedly dedicated to one domain, but I have been tasked with trying to figure out if there are files on this system that are being accessed by other IP's.
Does anyone know if how I would go about finding... (0 Replies)
hello.
I would be greatfull if someone could tell me how will i see what dns server and gateway my red hat server uses.
I tryied to find out by typing ifconfig command but i got :
-bash: ifconfig: command not found , although man ifonconfig gives output with info about using that command.
Is... (3 Replies)
Hello there!
Will anybody please tell me some good links to online eBooks on Red Hat Linux 9 user experiences and the like. If the books are in PDF Format, it will be nice to read.
Thanks for cooperation in advance.
Enjoy using open source and breathe freely!
JAM (5 Replies)
please help me how to install softwares in linux.i have a ethernet internet connection.i try to open the site on LAN to download internet client.but i cannot as our lan supports only internet explorer....i downloaded the linux client by booting thru XP......but i cannot c my NTFS partition thru... (0 Replies)
I have a Red Hat upgrade disk. I installed it and it corrupted my entire hard drive! I had gotten the disks out of a Dummy's book at my local library. Trying to install 'Red Hat', has cost me $100.00 in damages. (The cool part is my friend gave me that $100.00 part) Ah...A 120gig Hard Drive. Just... (3 Replies)
I just installed red hat 7.2 on my laptop. it's dual booted with xp and red hat. when i boot in to linux it boots up to the screen to ask me my name and pass....i put in root and my password. after this it goes to a blue screen and sits there. the after about 2 minutes it comes up with a fatal... (1 Reply)