Skip to content

Instantly share code, notes, and snippets.

View salimzadeh's full-sized avatar
🙂
Developing

Ali Reza Salimzadeh salimzadeh

🙂
Developing
View GitHub Profile
@salimzadeh
salimzadeh / readme.md
Created February 1, 2022 14:37 — forked from troyfontaine/readme.md
Resize root partition (or how to remove the default /home partition) on CentOS 7 online

Resize root partition (or how to remove the default /home partition) on CentOS 7 online

This requires you to be able to ssh into the instance using the root user account and that no services be running as users out of /home on the target machine.

The examples are from a default installation with no customation-you NEED to know what you're working with for volumes/partitions to not horribly break things.

By default, CentOS 7 uses XFS for the file system and Logical Volume Manager (LVM), creating 3 partitions: /,/home and

Step 1 - Copy /home Contents

To backup the contents of /home, do the following:

@salimzadeh
salimzadeh / index.html
Created July 16, 2012 12:08
A web page created at CodePen.io
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Iconic Rotary List &middot; CodePen</title>
<!--
Copyright (c) 2012 Jeff Zerger, http://codepen.io/erlenstar
Permission is hereby granted, free of charge, to any person obtaining