Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

remove home partition centos 6

Remove /home Partition on CentOS 6

# umount /home
# lvm lvremove /dev/mapper/VolGroup-lv_home
# lvm lvresize -l+100%FREE /dev/mapper/VolGroup-lv_root
# resize2fs /dev/mapper/VolGroup-lv_root

Now we still need to edit /ect/fstab to prevent CentOS from trying to mount a non-existent partition on start up. remove line /dev/mapper/VolGroup-lv_home /home
Comment

PREVIOUS NEXT
Code Example
Shell :: resume an interrupted upload/download 
Shell :: restart iis 
Shell :: how to install deface makers for ubuntu 
Shell :: attemting to start apache server 
Shell :: git 2 
Shell :: aws ec2 "ubuntu" "sudo yum install nginx" "No package ngix available." 
Shell :: powershell check end of string 
Shell :: raspian buster mit uv4l 
Shell :: how to check app is installed or not unity 
Shell :: change webcam whitebalance ubuntu 
Shell :: sDepends: libgcc-s1 (= 3.0) but it is not installable 
Shell :: ubuntu install gerrit 
Shell :: how to set findstr to new variable 
Shell :: bash similiar to choice in cmd 
Shell :: change data type powershell 
Shell :: kubernetes cert kubeconfig 
Shell :: git exclude nested folder 
Shell :: why lubuntu 20.04 freezes 
Shell :: how to kill a program in lunux mint 
Shell :: git remove last merge commit 
Shell :: docker add route to network 
Shell :: gcloud create cluster command 
Shell :: install reachrouter 
Shell :: how to start lightdm from command line 
Shell :: Rclone initial commit to remote drive 
Shell :: snap uninstall docker 
Shell :: show date on 24 hour format terminal 
Shell :: get OS name from lsb-release 
Shell :: mount one directory to another in mac 
Shell :: mac cleanup github 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =