Skip to content

Instantly share code, notes, and snippets.

@stas
Created November 9, 2009 12:16
Show Gist options
  • Save stas/229903 to your computer and use it in GitHub Desktop.
Save stas/229903 to your computer and use it in GitHub Desktop.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OpenVZ partitioning, 2 x HDD 70G
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------------------------------------------------------------------
(RAID LEVEL) | LVM LEVEL VOLUME GROUPS | FS LEVEL
------------------------------------------------------------------------------------------------------------------------------------
1HDD 2HDD Volume groups logical volumes Mount points and filesystems
==== ==== ============= =============== ============================
1G 1G RAID1 skip skip /boot ext(2,3)/reiserfs
60G 60G RAID1 new volume group +rootfs - 4G / ext(2,3)/reiserfs
+swap - sizeof(RAM) swapfs
+var - 5G /var ext(2,3)/reiserfs
+home - 1G /home ext(2,3)/reiserfs
+tmp - 1G /tmp ext(2,3)/reiserfs
+vz - restof(FREE SPACE - 1G) /vz ext(2,3)/reiserfs
1G free space in volume group!!!
10G 10G RAID0 (striping) new volume group +vzdump all(FREESPACE) /vz/dump ext(2,3)/reiserfs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment