OpenVZ Forum


Home » General » Support » Install with 2 hard drives
Re: Install with 2 hard drives [message #27368 is a reply to message #27313] Fri, 15 February 2008 16:52 Go to previous message
John Kelly is currently offline  John Kelly
Messages: 97
Registered: May 2006
Location: Palmetto State
Member
LVM is my favorite:

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1          19      152586   83  Linux
/dev/hda2              20          25       48195   83  Linux
/dev/hda3              26          31       48195   83  Linux
/dev/hda4              32       19457   156039345   8e  Linux LVM
   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1       19457       [all]   8e  Linux LVM
The first three partitions are for /boot:
3) temporary install boot
2) rescue boot
1) sys boot

The fourth partition of the first disk, and all partitions of other disks, are used for LVM. It's great for dynamically adding and dropping logical volumes.

  LV        VG   Attr   LSize   Origin Snap%  Move Log Copy%
  rescue    v0   -wi-a-   1.00G
  swap      v0   -wi-ao 512.00M
  sys       v0   -wi-ao   8.00G
It takes some effort to get comfortable with LVM, but the results are worthwhile. I resisted learning it at first, but now that I know how to, I always do.

Cool
 
Read Message
Read Message
Read Message
Previous Topic: storing a whole VE on a NFS-share
Next Topic: Seeing BAD errors on OpenVZ Hardware node?
Goto Forum:
  


Current Time: Tue Aug 27 23:13:43 GMT 2024

Total time taken to generate the page: 0.03541 seconds