LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 07-03-2018, 09:03 AM   #1
robertkwild
Member
 
Registered: Feb 2015
Posts: 382

Rep: Reputation: Disabled
kickstart - setting up hard drive


hi all,

im trying to setup/configure a hard drive manually for my kickstart file

how much space/size should each of the below partitions be and what one should be the biggest, also should they be all xfs format?

normally when i do a install of centos 7 i just tick the hard drive i want linux on and it just does it but how would i do it manually

/
/boot
/home
/var
/tmp
/usr
/opt

cheers,
rob
 
Old 07-03-2018, 11:00 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,784

Rep: Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936Reputation: 5936
By default CentOS creates a /boot partiton and an LVM partitions with /, /home and swap logical volumes.

Do you want to use LVM and do you really need that many separate partitions?

The major downside to xfs is that there isn't a tool to shrink the filesystem. If you think you might want to "adjust" the partition sizes then I would use ext4.
 
1 members found this post helpful.
Old 07-03-2018, 11:30 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,753

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by robertkwild View Post
hi all,
im trying to setup/configure a hard drive manually for my kickstart file how much space/size should each of the below partitions be and what one should be the biggest, also should they be all xfs format? normally when i do a install of centos 7 i just tick the hard drive i want linux on and it just does it but how would i do it manually

/
/boot
/home
/var
/tmp
/usr
/opt
I'd agree with EXT4 for resizing, but not really sure what you're asking here or why. You can look at any of your other kickstart configurations, and get the sizes from them, or look into the ISO (after mounting it or burning it to a DVD) to see how large those things are. You seem to have been working with kickstart for three years now:
https://www.linuxquestions.org/quest...me-4175560474/
https://www.linuxquestions.org/quest...or-4175572384/
https://www.linuxquestions.org/quest...es-4175572502/
https://www.linuxquestions.org/quest...de-4175572601/
https://www.linuxquestions.org/quest...on-4175572672/
 
1 members found this post helpful.
  


Reply



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
Setting Permissions on USB Hard Drive nutjob16 Linux - Hardware 2 08-12-2011 09:02 PM
Setting execute permissions on a second hard drive Diogones Linux - Newbie 8 04-06-2011 09:26 AM
Setting permission on hard drive petero Linux - Hardware 1 06-03-2005 01:19 AM
setting using dma flag on hard drive? danny678010 Linux - Hardware 3 08-27-2003 08:43 PM
hard drive setting UDMA PIO etc cevjr Linux - Hardware 3 07-30-2003 05:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

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