LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 07-22-2013, 03:45 PM   #1
jsynodin
LQ Newbie
 
Registered: Oct 2012
Location: San Diego
Distribution: rhel 6.3
Posts: 1

Rep: Reputation: Disabled
creating new /home partition with LVM


hi everyone,

i have several rhel 6 machines, installed some time ago with 1 partion containing all system directories and using LVM. now i have to harden the machines with CIS benchmark tools. one of the rules is to have /tmp and /home, each on its own partition.
any ideas as to how to do this with minimum disruption?

thanks
Jim
 
Old 07-23-2013, 01:21 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,285
Blog Entries: 54

Rep: Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854
Quote:
Originally Posted by jsynodin View Post
i have several rhel 6 machines, installed some time ago with 1 partion containing all system directories and using LVM.
Depending on their purpose servers should have a more elaborate partitioning scheme to avoid filling them...


Quote:
Originally Posted by jsynodin View Post
now i have to harden the machines with CIS benchmark tools. one of the rules is to have /tmp and /home, each on its own partition.
any ideas as to how to do this with minimum disruption?
Making room for and creating partitions should be straightforward. Best first run
Code:
lsof -Pwln -a +D/home
lsof -Pwln -a +D/tmp
and check which processes access those directories. Because if they can't be stopped easily you could drop to runlevel 1 to move and remount or else copy (and delete ) and remount on boot. *Given maintenance window and downtime this would also be a good time to ensure your LVM / backup scheme works as advertised, especially with respect to LVM header location as most tools default to inserting only one header at the start (first two megs) of the LVM while you can explicitly have LVM add a header to the end of it.
 
  


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
[SOLVED] How to extend /home or / partition through LVM smilemukul Linux - Newbie 9 01-29-2012 11:07 PM
can we use partition type 83 for creating a lvm volume. mayrus9 Red Hat 2 10-20-2009 12:13 AM
LVM with BIG /home Partition cryingthug Linux - Server 2 10-05-2009 09:15 PM
Creating an LVM Volume Group with a mounted ext3 partition alexpacio Linux - Software 1 11-09-2008 02:44 PM
Extending home partition with LVM The_Outlander Slackware 2 01-03-2007 08:13 PM


All times are GMT -5. The time now is 07:20 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration