http://www.howtoforge.com/linux_lvm_snapshots

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Back Up (And Restore) LVM Partitions With LVM Snapshots | HowtoForge - Linux Howtos and Tutorials</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="http://www.howtoforge.com/" />
<style type="text/css" media="all">@import "misc/drupal.css";</style><style type="text/css">@import url(modules/copyright/copyright.css);</style>

<link rel="stylesheet" type="text/css" media="screen" href="http://www.howtoforge.com/modules/taxonomy_dhtml/menuExpandable3.css" />
<script type="text/javascript" src="http://www.howtoforge.com/modules/taxonomy_dhtml/menuExpandable3.js"></script>

  <style type="text/css">
    .trip-search-form input.form-submit {
       margin-bottom: 1em;
    }
    .trip-search-more-link {
      font-weight: bold;
      font-style: italic;
    }
    .trip-search-excerpt {
      font-weight: bold;
    }
  </style><script type="text/javascript" language="Javascript" src="modules/trip_search/popupcalendar/calendar.js"></script>
<style type="text/css" media="screen">
  <!--
   @import url(themes/howtoforge/modules.css);
   @import url(themes/howtoforge/nav.css);
   @import url(themes/howtoforge/layout.css);
  -->
 </style>
<style type="text/css" media="all">@import "themes/howtoforge/style.css";</style><!--[if lte IE 6]>
 <style type="text/css" media="screen">
   /* IE min-width trick */
   div#wrapper1 {
     width:expression(((document.compatMode && document.compatMode=='CSS1Compat') ? document.documentElement.clientWidth : document.body.clientWidth) < 720 ? "720px" : "auto");
     }
     body {
     width:expression(((document.compatMode && document.compatMode=='CSS1Compat') ? document.documentElement.clientWidth : document.body.clientWidth) < 1000 ? "1000px" : "auto");
     }
     .columns {
     width:expression(((document.compatMode && document.compatMode=='CSS1Compat') ? document.documentElement.clientWidth : document.body.clientWidth) < 1000 ? "1000px" : "auto");
     }
     div#header {
     width:expression(((document.compatMode && document.compatMode=='CSS1Compat') ? document.documentElement.clientWidth : document.body.clientWidth) < 1000 ? "1000px" : ((document.compatMode && document.compatMode=='CSS1Compat') ? document.documentElement.clientWidth : document.body.clientWidth)-20);
     }
  </style>
  <![endif]-->

<script type="text/javascript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<script type="text/javascript">
<!--
if (top.location != self.location)
top.location = self.location;
//-->
</script>
<meta name="verify-v1" content="Oq8ZMOLKw+gmUf/31qy3xciuZ2pyp2ybp5AkDpCs5eY=" />
<!-- BEGIN: AdSolution-Tag 4.3: Global-Code [PLACE IN HTML-HEAD-AREA!] -->
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/dlv/aslmain.js"></script>
<!-- END: AdSolution-Tag 4.3: Global-Code -->
</head>
<body >
<!-- ads -->
<center>
<!-- BEGIN Banner Flex-->
<!-- BEGIN: AdSolution-Website-Tag 4.3 : HowtoForge / Howtos 728x90 -->
<script language="javascript" type="text/javascript">
Ads_kid=0;Ads_bid=0;Ads_xl=728;Ads_yl=90;Ads_xp='';Ads_yp='';Ads_xp1='';Ads_yp1='';Ads_opt=0;Ads_wrd='[KeyWord]';Ads_par='';Ads_cnturl='';
</script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/cjf/00/15/24/18.js"></script>
<!-- END:AdSolution-Tag 4.3 --><!-- END Banner Flex-->
</center>
<!-- ads ende -->

<table border="0" cellspacing="0" cellpadding="0" width="100%" align="center" style="margin-top:0px;">
<tr><td valign="top">
<div class="hide">
  <a href="#content" title="Skip the site navigation to go directly to the content">Skip to content</a>
</div>

<!-- closes #header-->
<!-- START: HEADER -->
<div id="wrapper1">
 <div id="wrapper2">
  <div class="header" id="header"><h1><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></h1>
   <div class="headerpadding">
         <div id="site-name"><a href="" title="Home"><img
      src="/images/howtoforge_logo.gif" alt="HowtoForge - Linux Howtos and Tutorials Logo" /></a></div>
    
    
         <ul id="primary">
             <li><a href="forums/sendmessage.php">Contact</a></li>
             <li><a href="advertise">Advertise</a></li>
             <li><a href="membership">Membership</a></li>
             <li><a href="add_howto">Contribute</a></li>
             <li><a href="trip_search">Search</a></li>
             <li><a href="http://lxer.com" target="_blank">News</a></li>
             <li><a href="forums">Forums</a></li>
             <li><a href="taxonomy_menu/4">Mini-Howtos</a></li>
             <li><a href="taxonomy_menu/1">Howtos</a></li>
           </ul>

    
     <form action="/trip_search" method="post" id="search">
      <div><input class="form-text" type="text" size="15" value="" name="keys" id="keys" />
       <input class="form-submit" type="submit" id="submit" value="Search" /></div>
     </form>
    </div>
   </div>
<!-- END: HEADER-->
<hr class="hide" />
    <div class="columns">
            <div class="leftcolumn sidebar" id="sidebar-left">
        <div class="leftpadding">
            <div class="block block-sidecontent" id="block-sidecontent-0">
<h2 class="title"><span style="margin-top:5px;font-weight:bold"><table border="0" width="138"><tr><td valign="top"><img src="/images/arrow.gif" width="16" height="16" border="0" alt="Options For This Howto"></td><td valign="top">Options For This Howto</td></tr></table></span></h2>
<div class="content"><ul style="list-style-image:url(images/pointer.gif);">
<li><a href="/forums">Free Support</a><br /></li>
<li><a target="_blank" href="http://www.projektfarm.de/contact_nav.html">Paid Support</a></li>
</ul></div>
</div>
<div class="block block-user" id="block-user-1">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">Navigation</span></h2>
<div class="content"><div class="menu">
<ul>
<li class="expanded"><a href="taxonomy_menu/1" title="">Howtos</a>
<ul>
<li class="expanded"><a href="taxonomy_menu/1/1" title="">Linux</a>
<ul>
<li class="leaf"><a href="taxonomy_menu/1/1/57">CentOS</a></li>
<li class="leaf"><a href="taxonomy_menu/1/1/46">Debian</a></li>
<li class="leaf"><a href="taxonomy_menu/1/1/47">Fedora</a></li>
<li class="leaf"><a href="taxonomy_menu/1/1/2">Kernel</a></li>
<li class="leaf"><a href="taxonomy_menu/1/1/48">Mandriva</a></li>
<li class="leaf"><a href="taxonomy_menu/1/1/49">SuSE</a></li>
<li class="leaf"><a href="taxonomy_menu/1/1/50">Ubuntu</a></li>

</ul>
</li>
<li class="leaf"><a href="taxonomy_menu/1/3">Apache</a></li>
<li class="leaf"><a href="taxonomy_menu/1/34">Backup</a></li>
<li class="leaf"><a href="taxonomy_menu/1/75">Control Panels</a></li>
<li class="leaf"><a href="taxonomy_menu/1/8">DNS</a></li>
<li class="leaf"><a href="taxonomy_menu/1/76">Desktop</a></li>
<li class="expanded"><a href="taxonomy_menu/1/78" title="">Email</a>
<ul>
<li class="leaf"><a href="taxonomy_menu/1/78/24">Anti-Spam/Virus</a></li>
<li class="leaf"><a href="taxonomy_menu/1/78/4">Postfix</a></li>
<li class="leaf"><a href="taxonomy_menu/1/78/23">Procmail</a></li>
<li class="leaf"><a href="taxonomy_menu/1/78/5">Sendmail</a></li>

</ul>
</li>
<li class="leaf"><a href="taxonomy_menu/1/35">FTP</a></li>
<li class="leaf"><a href="taxonomy_menu/1/59">Monitoring</a></li>
<li class="leaf"><a href="taxonomy_menu/1/7">MySQL</a></li>
<li class="expanded"><a href="taxonomy_menu/1/79" title="">Programming</a>
<ul>
<li class="leaf"><a href="taxonomy_menu/1/79/80">C/C++</a></li>
<li class="leaf"><a href="taxonomy_menu/1/79/6">PHP</a></li>

</ul>
</li>
<li class="leaf"><a href="taxonomy_menu/1/51">Samba</a></li>
<li class="expanded"><a href="taxonomy_menu/1/9" title="">Security</a>
<ul>
<li class="leaf"><a href="taxonomy_menu/1/9/24">Anti-Spam/Virus</a></li>

</ul>
</li>
<li class="leaf"><a href="taxonomy_menu/1/43">Virtualization</a></li>
<li class="leaf"><a href="taxonomy_menu/1/10">Other</a></li>
<li class="leaf"><a href="taxonomy_menu/1/54">FreeBSD</a></li>

</ul>
</li>
<li class="collapsed"><a href="taxonomy_menu/4" title="">Mini-Howtos</a></li>
<li class="leaf"><a href="forums" title="">Forums</a></li>
<li class="leaf"><a href="image" title="">Screenshots</a></li>
<li class="leaf"><a href="aggregator/sources/1" title="">News</a></li>
<li class="leaf"><a href="trip_search" title="">Search</a></li>
<li class="collapsed"><a href="add_howto" title="">Contribute</a></li>
<li class="leaf"><a href="membership" title="">Membership</a></li>
<li class="leaf"><a href="user" title="">Login</a></li>
<li class="leaf"><a href="sitemap" title="">Site Map</a></li>
<li class="leaf"><a href="advertise" title="Advertise On HowtoForge">Advertise</a></li>
<li class="leaf"><a href="forums/sendmessage.php" title="">Contact</a></li>
<li class="leaf"><a href="disclaimer" title="Disclaimer">Disclaimer</a></li>
<li class="leaf"><a href="imprint" title="Imprint">Imprint</a></li>

</ul>
</div></div>
</div>
<div class="block block-user" id="block-user-0">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">User login</span></h2>
<div class="content"><div class="user-login-block">

  <form action="http://www.howtoforge.com/index.php?q=user/login" method="post"  onsubmit="md5hash(vb_login_password,vb_login_md5password,vb_login_md5password_utf)">

  <script type="text/javascript" src="http://www.howtoforge.com/forums/clientscript/vbulletin_md5.js"></script>

  <div class="user-login-block">

    <div class="form-item">

    <label for="edit-vb_login_username">Username:</label><br />

    <input maxlength="64" class="form-text" name="vb_login_username" id="navbar_username" size="15" value="" type="text">

    </div>

    <div class="form-item">

    <label for="edit-vb_login_password">Password:</label><br />

    <input class="form-text" maxlength="64" name="vb_login_password" id="edit-vb_login_password" size="15" value="" type="password">

    </div>

    <div class="form-item">

    <label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />Remember Me?</label>

    </div>

    <input class="form-submit" name="op" value="Log in" type="submit">

  </div>

  <input name="s" value="" type="hidden">

  <input name="do" value="login" type="hidden">

  <input name="forceredirect" value="1" type="hidden">

  <input name="vb_login_md5password" type="hidden">

  <input name="vb_login_md5password_utf" type="hidden">

  <input type="hidden" name="url" value="http://www.howtoforge.com" />

  </form>

<div class="item_list">

  <a href="http://www.howtoforge.com/forums/register.php">Create a new account</a><br />

  <a href="http://www.howtoforge.com/forums/login.php?do=lostpw">Request new password</a>

</div>

</div></div>
</div>
<div style="border:1px #D0D9D9 solid;margin:0px;margin-top:5px;width:137px;padding:0px;">
<script type="text/javascript"><!--
google_ad_client = "pub-3043223216276099";
google_ad_width = 137;
google_ad_height = 90;
google_ad_format = "120x90_0ads_al";
//2007-02-07: Linkblock Hauptseite Menü
google_ad_channel = "0347912882";
google_color_border = "EDF2F2";
google_color_bg = "EDF2F2";
google_color_link = "003399";
google_color_text = "000000";
google_color_url = "008000";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div><div class="block block-block" id="block-block-3">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">Screenshots</span></h2>
<div class="content"><table border="0" width="136">
<tr><td>
<div class="menu"><ul><li class="collapsed"><a href="image/tid/37">Asianux 2.0</a></li><li class="collapsed"><a href="image/tid/44">Blag Linux 30001</a></li><li class="collapsed"><a href="image/tid/58">Blag Linux 49999 (alpha)</a></li><li class="collapsed"><a href="image/tid/38">CentOS 4.2</a></li><li class="collapsed"><a href="image/tid/45">Debian Sid (Xfce)</a></li><li class="collapsed"><a href="image/tid/36">Fedora Core 4</a></li><li class="collapsed"><a href="image/tid/56">Fedora Core 5</a></li><li class="collapsed"><a href="image/tid/77">Fedora Core 6</a></li><li class="collapsed"><a href="image/tid/52">IPCop 1.4.10</a></li><li class="collapsed"><a href="image/tid/39">Kanotix 2005-03</a></li><li class="collapsed"><a href="image/tid/28">Knoppix 4.02</a></li><li class="collapsed"><a href="image/tid/33">Kubuntu 5.10 RC1</a></li><li class="collapsed"><a href="image/tid/53">Kurumin Linux 6.0</a></li><li class="collapsed"><a href="image/tid/32">Mandriva 2006 Powerpack+</a></li><li class="collapsed"><a href="image/tid/29">Mandriva 2006 RC2</a></li><li class="collapsed"><a href="image/tid/42">PCLinux OS 0.92</a></li><li class="collapsed"><a href="image/tid/40">Slackware 10.2</a></li><li class="collapsed"><a href="image/tid/31">SuSE 10.0 (OSS)</a></li><li class="collapsed"><a href="image/tid/41">Symphony OS BETA1 PR1</a></li><li class="collapsed"><a href="image/tid/30">Ubuntu 5.10 Preview</a></li><li class="collapsed"><a href="image/tid/74">Ubuntu 6.06 LTS</a></li><li class="collapsed"><a href="image/tid/55">Xandros 3.0.2 Open Circulation Edition</a></li></ul></div></td></tr>
</table></div>
</div>
<div class="block block-block" id="block-block-2">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">Newsletter</span></h2>
<div class="content"><form method="[object HTMLInputElement]" action="/mailgust/index.php?" name="subscribe">
<input name="lid" value="1" type="hidden" />
<input name="list" value="subscription" type="hidden" />
<input name="method" value="create" type="hidden" />
<input name="fromext" value="1" type="hidden" />
<input name="digest" value="0" type="hidden" />
<table border="0" cellpadding="0" cellspacing="0" width="136">
<tr>
<td colspan="2">
<b>Subscribe to HowtoForge Newsletter</b><br />
and stay informed about our latest HOWTOs and projects.
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input name="email" value="enter email address" size="17" onclick="document.subscribe.email.value = ''" type="text" style="font-size:10px;" />
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input class="form-submit" name="Submit" value="Submit" border="0" type="submit" style="margin-top: 0;" />
</td>
</tr>
<tr>
<td colspan="2">
(To unsubscribe from our newsletter send a blank email with the subject 'unsubscribe' to:
<br /><a href="mailto:%6e%65%77%73%6c%65%74%74%65%72%40%68%6f%77%74%6f%66%6f%72%67%65%2e%63%6f%6d?subject=unsubscribe">newsletter<br />@howtoforge.com</a>.)
</td>
</tr>
</table>
</form></div>
</div>
          </div>
        </div>
                  <div class="rightcolumn sidebar" id="sidebar-right">
        <div class="rightpadding">
        <center>
<!-- BEGIN Banner Skyscraper-->
<!-- BEGIN: AdSolution-Website-Tag 4.3 : HowtoForge / Howtos Sky Dynamic -->
<script language="javascript" type="text/javascript">
Ads_kid=0;Ads_bid=0;Ads_xl=0;Ads_yl=0;Ads_xp='';Ads_yp='';Ads_xp1='';Ads_yp1='';Ads_opt=0;Ads_wrd='[KeyWord]';Ads_par='';Ads_cnturl='';
</script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/cjf/00/15/24/20.js"></script>
<!-- END:AdSolution-Tag 4.3 --><!-- END Banner Skyscraper-->
</center><div class="block block-user" id="block-user-3">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">Who's online</span></h2>
<div class="content">There are currently 9 users and 1966 guests online.</div>
</div>
<div class="block block-vbforumblocks" id="block-vbforumblocks-1">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">HowtoForge Forums</span></h2>
<div class="content"><div class="item-list"><ul><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12142&amp;goto=newpost" >Spamassassin Auto-whitelist functionality..</a>
</li><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12141&amp;goto=newpost" >adding the apache user to every new group</a>
</li><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12140&amp;goto=newpost" >MySQL accounts not created!</a>
</li><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12139&amp;goto=newpost" >ISPConfig not installing in Fedora 6</a>
</li><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12138&amp;goto=newpost" >can not update</a>
</li><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12137&amp;goto=newpost" >VirtualHost Not updated properly</a>
</li><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12136&amp;goto=newpost" >Passwords</a>
</li><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12135&amp;goto=newpost" >Webalizer Problem</a>
</li><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12134&amp;goto=newpost" >Problem with ISPConfig User</a>
</li><li><a href="http://www.howtoforge.com/forums/showthread.php?t=12133&amp;goto=newpost" >Mail Server stops randomly..</a>
</li></ul></div></div>
</div>
<div class="block block-archive" id="block-archive-0">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">Browse archives</span></h2>
<div class="content">
<!-- calendar -->
<div class="calendar"><table summary="A calendar to browse the archives.">
 <caption><a href="archive/2007/03/17" title="Previous month">«</a> April 2007  </caption>
 <tr class="header-week">
 <th abbr="Monday">Mo</th>
 <th abbr="Tuesday">Tu</th>
 <th abbr="Wednesday">We</th>
 <th abbr="Thursday">Th</th>
 <th abbr="Friday">Fr</th>
 <th abbr="Saturday">Sa</th>
 <th abbr="Sunday">Su</th>
</tr>
 <tr class="row-week"><td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
  <td class="day-link"><a href="archive/2007/4/1" title="2 posts">1</a></td>
 </tr>
 <tr class="row-week">
  <td class="day-link"><a href="archive/2007/4/2" title="4 posts">2</a></td>
  <td class="day-link"><a href="archive/2007/4/3" title="3 posts">3</a></td>
  <td class="day-link"><a href="archive/2007/4/4" title="3 posts">4</a></td>
  <td class="day-link"><a href="archive/2007/4/5" title="1 post">5</a></td>
  <td class="day-normal">6</td>
  <td class="day-normal">7</td>
  <td class="day-normal">8</td>
 </tr>
 <tr class="row-week">
  <td class="day-link"><a href="archive/2007/4/9" title="7 posts">9</a></td>
  <td class="day-link"><a href="archive/2007/4/10" title="2 posts">10</a></td>
  <td class="day-link"><a href="archive/2007/4/11" title="16 posts">11</a></td>
  <td class="day-link"><a href="archive/2007/4/12" title="2 posts">12</a></td>
  <td class="day-link"><a href="archive/2007/4/13" title="1 post">13</a></td>
  <td class="day-normal">14</td>
  <td class="day-link"><a href="archive/2007/4/15" title="3 posts">15</a></td>
 </tr>
 <tr class="row-week">
  <td class="day-link"><a href="archive/2007/4/16" title="1 post">16</a></td>
  <td class="day-today"><a href="archive/2007/4/17" title="3 posts">17</a></td>
  <td class="day-future">18</td>
  <td class="day-future">19</td>
  <td class="day-future">20</td>
  <td class="day-future">21</td>
  <td class="day-future">22</td>
 </tr>
 <tr class="row-week">
  <td class="day-future">23</td>
  <td class="day-future">24</td>
  <td class="day-future">25</td>
  <td class="day-future">26</td>
  <td class="day-future">27</td>
  <td class="day-future">28</td>
  <td class="day-future">29</td>
 </tr>
 <tr class="row-week">
  <td class="day-future">30</td>
<td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
<td class="day-blank">&nbsp;</td>
</tr>
</table></div>

</div>
</div>
<div class="block block-aggregator" id="block-aggregator-feed-1">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">News</span></h2>
<div class="content"><div class="item-list"><ul><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85791" target="_blank">Comparing and merging files with Meld</a>
</li><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85789" target="_blank">Forget Windows and OS X: Just Try Linux</a>
</li><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85792" target="_blank">Back Up (And Restore) LVM Partitions With LVM Snapshots</a>
</li><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85795" target="_blank">Open Source Centre&#039;s head to talk at Open Tuesday</a>
</li><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85788" target="_blank">Azereus BitTorrent Client Review for Linux</a>
</li><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85808" target="_blank">Microsoft&#039;s &#039;Men in Black&#039; kill Florida open standards legislation</a>
</li><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85784" target="_blank">New Book on KDevelop</a>
</li><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85786" target="_blank">KDE-Forum Romania Launched</a>
</li><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85786" target="_blank">KDE-Forum Romania Launched</a>
</li><li><a href="http://lxer.com/module/newswire/ext_link.php?rid=85782" target="_blank">Puppy Linux 2.15CE has a few new tricks</a>
</li></ul></div><div class="more-link"><a href="aggregator/sources/1" title="View this feed&#039;s recent news.">more</a></div></div>
</div>
<div class="block block-comment" id="block-comment-0">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">Recent comments</span></h2>
<div class="content"><div class="item-list"><ul><li><a href="perfect_setup_xen3_debian#comment-3435">Tutorial title needs adjustment</a><br />2 days 22 hours ago</li><li><a href="suphp_debian_ispconfig#comment-3434">Hello,Thanks for this</a><br />2 days 23 hours ago</li><li><a href="lamp_installation_ubuntu6.06#comment-3432">Thanks</a><br />4 days 10 hours ago</li><li><a href="xen_3.0_ubuntu_dapper_drake#comment-3429">Partiitons on /dev/sdb won&#039;t mount with with Xen kernel</a><br />6 days 1 hour ago</li><li><a href="perfect_setup_debian_etch_p7#comment-3428">Great job!</a><br />1 week 15 hours ago</li><li><a href="perfect_setup_ubuntu_6.10_p6#comment-3427">SSL Cert for Apache</a><br />1 week 23 hours ago</li><li><a href="sharp_fonts_gnome#comment-3426">I agree</a><br />1 week 1 day ago</li><li><a href="useful_linux_commands#comment-3425">THANK YOU - I was looking for that ..</a><br />1 week 3 days ago</li><li><a href="ruby_on_rails_apache2_fastcgi_debian_p6#comment-3424">Directory</a><br />1 week 3 days ago</li><li><a href="repackage_deb_packages_debian_ubuntu#comment-3423">perfect</a><br />1 week 5 days ago</li></ul></div></div>
</div>
<div class="block block-node" id="block-node-0">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">Syndicate</span></h2>
<div class="content"><div class="xml-icon"><a href="node/feed"><img src="misc/xml.png"  alt="XML feed" title="XML feed" /></a></div></div>
</div>
        </div>
      </div>
      
      <hr class="hide" />

      <div class="centercolumn">
        <div class="centerpadding">
          <div class="main-content" id="main">
            
                              <div id="breadcrumbs">
                  <div class="breadcrumb"><a href="">Home</a> &raquo; <a href="taxonomy_menu/1" title="">Howtos</a> &raquo; <a href="taxonomy_menu/1/1" title="">Linux</a></div> <span class="breadcrumb">  &raquo;  Back Up (And Restore) LVM Partitions With LVM Snapshots</span>
                </div>
                                                                <h1 id="title">Back Up (And Restore) LVM Partitions With LVM Snapshots</h1>
                                                            
            <!-- start main content -->
            <table border="0" cellspacing="0" cellpadding="0">
            <tr><td>

            <div id="content">
            <!-- begin content --><div class="node">

   
  <div class="info">Submitted by falko on Sun, 2007-04-15 12:24.<span class="taxonomy"> :: <a href="taxonomy/term/1">Linux</a> | <a href="taxonomy/term/10">Other</a></span></div>
  <div class="content">
  <h2>Back Up (And Restore) LVM Partitions With LVM Snapshots </h2>
<p>Version 1.0 <br />
  Author: Falko Timme &lt;ft [at] falkotimme [dot] com&gt; <br />
Last edited 04/11/2007</p>
<p>This tutorial shows how you can create backups of LVM partitions with an LVM feature called LVM snapshots. An LVM snapshot is an exact copy of an LVM partition that has all the data from the LVM volume from the time the snapshot was created. The big advantage of LVM snapshots is that you don't have to worry about open files and database connections, and you don't have to interrupt/halt services on the live partition because a snapshot is usually created in fractions of a second, so your users won't notice any disruption, and your snapshot holds consistent data.</p>
<p>I will also show how to restore an LVM partition from a backup in an extra chapter at the end of this tutorial.  </p>
<p>This document comes without warranty of any kind!  I do not issue any guarantee that this will work for you!</p>
<p>&nbsp;</p>
<h3>1 Preliminary Note</h3>
<p>I have tested this on a Debian Etch server with the IP address <span class="system">192.168.0.100</span> and the hostname <span class="system">server1.example.com</span>. It has two hard disks: </p>
<ul>
  <li><span class="system">/dev/sda</span> (10GB) that contains a small <span class="system">/boot</span> partition (non-LVM), a <span class="system">/</span> partition (LVM, a little less than 10GB), and a swap partition (LVM) </li>
  <li><span class="system">/dev/sdb</span> (60GB), unused at the moment; will be used to create a 30GB <span class="system">/backups</span> partition (LVM) and for the snapshots of the <span class="system">/</span> partition (10GB - that's enough because the <span class="system">/</span> partition is a little less than 10GB). </li>
</ul>
<p>I have created a <a mce_real_href="http://downloads.howtoforge.com/files/Debian_Etch_LVM_Snapshots.zip" href="http://downloads.howtoforge.com/files/Debian_Etch_LVM_Snapshots.zip" target="_blank">Debian Etch VMware image</a> that you can download and run in VMware Server or VMware Player (see <a mce_real_href="http://www.howtoforge.com/import_vmware_images" href="http://www.howtoforge.com/import_vmware_images" target="_blank">http://www.howtoforge.com/import_vmware_images</a> to learn how to do that).  It has the same specifications as my test system from above. The root password is <span class="system">howtoforge</span>. Using that VMware image, you can do the exact same steps than me in this tutorial to get used to using LVM snapshots.</p><center><!-- BEGIN: AdSolution-Website-Tag 4.3 : HowtoForge / Howtos Rectangle Dynamic -->
<script language="javascript" type="text/javascript">
Ads_kid=0;Ads_bid=0;Ads_xl=0;Ads_yl=0;Ads_xp='';Ads_yp='';Ads_xp1='';Ads_yp1='';Ads_opt=0;Ads_wrd='[KeyWord]';Ads_par='';Ads_cnturl='';
</script>
<script type="text/javascript" language="javascript" src="http://a.as-us.falkag.net/dat/cjf/00/15/24/19.js"></script>
<!-- END:AdSolution-Tag 4.3 --></center>
<p>To restore the / partition from your backup (covered in the last chapter of this tutorial) you need a Linux Live-CD that supports LVM, such as <a mce_real_href="http://www.knoppix.org/" href="http://www.knoppix.org/" target="_blank">Knoppix</a> or the Debian Etch Netinstall CD which you can use as a rescue CD if you specify rescue at the boot prompt. I will use the Debian Etch Netinstall CD in this example (the list of mirrors is available here: <a mce_real_href="http://www.debian.org/CD/http-ftp/" href="http://www.debian.org/CD/http-ftp/" target="_blank">http://www.debian.org/CD/http-ftp/</a> - I downloaded this one: <a mce_real_href="http://ftp.de.debian.org/debian-cd/4.0_r0/i386/iso-cd/debian-40r0-i386-netinst.iso" href="http://ftp.de.debian.org/debian-cd/4.0_r0/i386/iso-cd/debian-40r0-i386-netinst.iso" target="_blank">http://ftp.de.debian.org/debian-cd/4.0_r0/i386/iso-cd/debian-40r0-i386-netinst.iso</a>).</p>
<p>To create a backup of the <span class="system">/</span> partition I will proceed as follows: I will create a snapshot of the <span class="system">/</span> partition, and afterwards I will create a backup of the snapshot (instead of the actual <span class="system">/</span> partition!) on the <span class="system">/backups</span> partition (of course, you can store that backup wherever you want - instead of creating an extra <span class="system">/backups</span> LVM partition, you could also use an external USB drive). The backup can be made using your preferred backup solution, e.g. with <span class="system">tar</span> or <span class="system">dd</span>. Afterwards, I'll destroy the snapshot because it isn't needed anymore and would use system resources. </p>
<p>You don't necessarily need a second HDD for the snapshots - you can use the first one provided you have enough free (unpartitioned) space left on it to create snapshots on it (you should use the same space for the snapshots that you use for the partition that you want to back up). And as mentioned before, you can use a USB drive for backing up the snapshots. </p>
<p>To learn more about LVM, you should read this tutorial: <a mce_real_href="http://www.howtoforge.com/linux_lvm" href="http://www.howtoforge.com/linux_lvm">http://www.howtoforge.com/linux_lvm</a></p>
<p>&nbsp;</p>
<h3>2 Create The /backups LVM Partition</h3>
<p class="highlight">(If you'd like to store your backups somewhere else, e.g on an external USB drive, you don't have to do this.)  </p>
<p>Our current situation is as follows:</p>
<p class="command">pvdisplay</p>
<p class="system">server1:~#&nbsp;pvdisplay<br />
&nbsp;&nbsp;---&nbsp;Physical&nbsp;volume&nbsp;---<br />
&nbsp;&nbsp;PV&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/dev/sda5<br />
&nbsp;&nbsp;VG&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server1<br />
&nbsp;&nbsp;PV&nbsp;Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9.76&nbsp;GB&nbsp;/&nbsp;not&nbsp;usable&nbsp;0<br />
&nbsp;&nbsp;Allocatable&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yes&nbsp;(but&nbsp;full)<br />
&nbsp;&nbsp;PE&nbsp;Size&nbsp;(KByte)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4096<br />
&nbsp;&nbsp;Total&nbsp;PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2498<br />
&nbsp;&nbsp;Free&nbsp;PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;&nbsp;Allocated&nbsp;PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2498<br />
&nbsp;&nbsp;PV&nbsp;UUID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vQIUga-221O-GIKj-81Ct-2ITT-bKPw-kKElpM</p>
<p class="command">vgdisplay</p>
<p class="system">server1:~#&nbsp;vgdisplay<br />
&nbsp;&nbsp;---&nbsp;Volume&nbsp;group&nbsp;---<br />
&nbsp;&nbsp;VG&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server1<br />
&nbsp;&nbsp;System&nbsp;ID<br />
&nbsp;&nbsp;Format&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lvm2<br />
&nbsp;&nbsp;Metadata&nbsp;Areas&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br />
&nbsp;&nbsp;Metadata&nbsp;Sequence&nbsp;No&nbsp;&nbsp;3<br />
&nbsp;&nbsp;VG&nb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p;&nbsp;&nbsp;&nbsp;9.76&nbsp;GB<br />
&nbsp;&nbsp;PE&nbsp;Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;4.00&nbsp;MB<br />
&nbsp;&nbsp;Total&nbsp;PE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2498<br />
&nbsp;&nbsp;Alloc&nbsp;PE&nbsp;/&nbsp;Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2498&nbsp;/&nbsp;9.76&nbsp;GB<br />
&nbsp;&nbsp;Free&nbsp;&nbsp;PE&nbsp;/&nbsp;Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;/&nbsp;0<br />
&nbsp;&nbsp;VG&nbsp;UUID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jkWyez-c0nT-LCaE-Bzvi-Q4oD-eD3Q-BKIOFC</p>
<p class="command">lvdisplay</p>
<p class="system">server1:~#&nbsp;lvdisplay<br />
&nbsp;&nbsp;---&nbsp;Logical&nbsp;volume&nbsp;---<br />
&nbsp;&nbsp;LV&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/dev/server1/root<br />
&nbsp;&nbsp;VG&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server1<br />
&nbsp;&nbsp;LV&nbsp;UUID&nbsp;&nbsp;&nbsp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;&nbsp;&nbsp;&nbsp;&nbsp;116<br />
&nbsp;&nbsp;Segments&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br />
&nbsp;&nbsp;Allocation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inherit<br />
&nbsp;&nbsp;Read&nbsp;ahead&nbsp;sectors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;&nbsp;Block&nbsp;device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;254:1</p>
<p class="command">fdisk -l</p>
<p class="system">server1:~#&nbsp;fdisk&nbsp;-l<br />
<br />
Disk&nbsp;/dev/sda:&nbsp;10.7&nbsp;GB,&nbsp;10737418240&nbsp;bytes<br />
255&nbsp;heads,&nbsp;63&nbsp;sectors/track,&nbsp;1305&nbsp;cylinders<br />
Units&nbsp;=&nbsp;cylinders&nbsp;of&nbsp;16065&nbsp;*&nbsp;512&nbsp;=&nbsp;8225280&nbsp;bytes<br />
<br />
&nbsp;&nbsp;&nbsp;Device&nbsp;Boot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Start&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Blocks&nbsp;&nbsp;&nbsp;Id&nbsp;&nbsp;System<br />
/dev/sda1&nbsp;&nbsp;&nbsp;*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;31&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;248976&nbsp;&nbsp;&nbsp;83&nbsp;&nbsp;Linux<br />
/dev/sda2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1305&nbsp;&nbsp;&nbsp;&nbsp;10233405&nbsp;&nbsp;&nbsp;&nbsp;5&nbsp;&nbsp;Extended<br />
/dev/sda5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;32&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1305&nbsp;&nbsp;&nbsp;&nbsp;10233373+&nbsp;&nbsp;8e&nbsp;&nbsp;Linux&nbsp;LVM<br />
<br />
Disk&nbsp;/dev/sdb:&nbsp;64.4&nbsp;GB,&nbsp;64424509440&nbsp;bytes<br />
255&nbsp;heads,&nbsp;63&nbsp;sectors/track,&nbsp;7832&nbsp;cylinders<br />
Units&nbsp;=&nbsp;cylinders&nbsp;of&nbsp;16065&nbsp;*&nbsp;512&nbsp;=&nbsp;8225280&nbsp;bytes<br />
<br />
Disk&nbsp;/dev/sdb&nbsp;doesn't&nbsp;contain&nbsp;a&nbsp;valid&nbsp;partition&nbsp;table<br />
<br />
Disk&nbsp;/dev/dm-0:&nbsp;9990&nbsp;MB,&nbsp;9990832128&nbsp;bytes<br />
255&nbsp;heads,&nbsp;63&nbsp;sectors/track,&nbsp;1214&nbsp;cylinders<br />
Units&nbsp;=&nbsp;cylinders&nbsp;of&nbsp;16065&nbsp;*&nbsp;512&nbsp;=&nbsp;8225280&nbsp;bytes<br />
<br />
Disk&nbsp;/dev/dm-0&nbsp;doesn't&nbsp;contain&nbsp;a&nbsp;valid&nbsp;partition&nbsp;table<br />
<br />
Disk&nbsp;/dev/dm-1:&nbsp;486&nbsp;MB,&nbsp;486539264&nbsp;bytes<br />
255&nbsp;heads,&nbsp;63&nbsp;sectors/track,&nbsp;59&nbsp;cylinders<br />
Units&nbsp;=&nbsp;cylinders&nbsp;of&nbsp;16065&nbsp;*&nbsp;512&nbsp;=&nbsp;8225280&nbsp;bytes<br />
<br />
Disk&nbsp;/dev/dm-1&nbsp;doesn't&nbsp;contain&nbsp;a&nbsp;valid&nbsp;partition&nbsp;table</p>
<p>So <span class="system">/dev/sda</span> contains the logical volumes <span class="system">/dev/server1/root</span> (<span class="system">/</span> partition) and <span class="system">/dev/server1/swap_1</span> (swap partition) plus a small <span class="system">/boot</span> partition (non-LVM). </p>
<p>(BTW, <span class="system">/dev/server1/root</span> is the same as <span class="system">/dev/mapper/server1-root</span> on Debian Etch. The first is a symlink to the second; I will use both notations in this tutorial. The same goes for <span class="system">/dev/server1/swap_1</span> and <span class="system">/dev/mapper/server1-swap_1</span>.)</p>
<p>I will now create the partition <span class="system">/dev/sdb1</span> and add it to the <span class="system">server1</span> volume group, and afterwards I will create the volume <span class="system">/dev/server1/backups</span> (which will be 30GB instead of the full 60GB of <span class="system">/dev/sdb</span> so that we have enough space left for the snapshots) which I will mount on <span class="system">/backups</span>:</p>
<p class="command">fdisk /dev/sdb</p>
<p><span class="system">server1:~#&nbsp;fdisk&nbsp;/dev/sdb<br />
  Device&nbsp;contains&nbsp;neither&nbsp;a&nbsp;valid&nbsp;DOS&nbsp;partition&nbsp;table,&nbsp;nor&nbsp;Sun,&nbsp;SGI&nbsp;or&nbsp;OSF&nbsp;disklabel<br />
  Building&nbsp;a&nbsp;new&nbsp;DOS&nbsp;disklabel.&nbsp;Changes&nbsp;will&nbsp;remain&nbsp;in&nbsp;memory&nbsp;only,<br />
  until&nbsp;you&nbsp;decide&nbsp;to&nbsp;write&nbsp;them.&nbsp;After&nbsp;that,&nbsp;of&nbsp;course,&nbsp;the&nbsp;previous<br />
  content&nbsp;won't&nbsp;be&nbsp;recoverable.<br />
  <br />
  <br />
  The&nbsp;number&nbsp;of&nbsp;cylinders&nbsp;for&nbsp;this&nbsp;disk&nbsp;is&nbsp;set&nbsp;to&nbsp;7832.<br />
  There&nbsp;is&nbsp;nothing&nbsp;wrong&nbsp;with&nbsp;that,&nbsp;but&nbsp;this&nbsp;is&nbsp;larger&nbsp;than&nbsp;1024,<br />
  and&nbsp;could&nbsp;in&nbsp;certain&nbsp;setups&nbsp;cause&nbsp;problems&nbsp;with:<br />
  1)&nbsp;software&nbsp;that&nbsp;runs&nbsp;at&nbsp;boot&nbsp;time&nbsp;(e.g.,&nbsp;old&nbsp;versions&nbsp;of&nbsp;LILO)<br />
  2)&nbsp;booting&nbsp;and&nbsp;partitioning&nbsp;software&nbsp;from&nbsp;other&nbsp;OSs<br />
&nbsp;&nbsp;&nbsp;(e.g.,&nbsp;DOS&nbsp;FDISK,&nbsp;OS/2&nbsp;FDISK)<br />
Warning:&nbsp;invalid&nbsp;flag&nbsp;0x0000&nbsp;of&nbsp;partition&nbsp;table&nbsp;4&nbsp;will&nbsp;be&nbsp;corrected&nbsp;by&nbsp;w(rite)<br />
<br />
Command&nbsp;(m&nbsp;for&nbsp;help):</span>&nbsp;<span class="highlight">&lt;-- n</span><br />
<span class="system">Command&nbsp;action<br />
&nbsp;&nbsp;&nbsp;e&nbsp;&nbsp;&nbsp;extended<br />
&nbsp;&nbsp;&nbsp;p&nbsp;&nbsp;&nbsp;primary&nbsp;partition&nbsp;(1-4)</span><br />
<span class="highlight">&lt;-- p</span><br />
<span class="system">Partition&nbsp;number&nbsp;(1-4):</span>&nbsp;<span class="highlight">&lt;-- 1</span><br />
<span class="system">First&nbsp;cylinder&nbsp;(1-7832,&nbsp;default&nbsp;1):</span> <span class="highlight">&lt;-- [ENTER]</span> <br />
<span class="system">Using&nbsp;default&nbsp;value&nbsp;1<br />
Last&nbsp;cylinder&nbsp;or&nbsp;+size&nbsp;or&nbsp;+sizeM&nbsp;or&nbsp;+sizeK&nbsp;(1-7832,&nbsp;default&nbsp;7832):</span> <span class="highlight">&lt;-- [ENTER]</span> <br />
<span class="system">Using&nbsp;default&nbsp;value&nbsp;7832<br />
<br />
Command&nbsp;(m&nbsp;for&nbsp;help):</span>&nbsp;<span class="highlight">&lt;-- t</span><br />
<span class="system">Selected&nbsp;partition&nbsp;1<br />
Hex&nbsp;code&nbsp;(type&nbsp;L&nbsp;to&nbsp;list&nbsp;codes):</span>&nbsp;<span class="highlight">&lt;-- 8e</span><br />
<span class="system">Changed&nbsp;system&nbsp;type&nbsp;of&nbsp;partition&nbsp;1&nbsp;to&nbsp;8e&nbsp;(Linux&nbsp;LVM)<br />
<br />
Command&nbsp;(m&nbsp;for&nbsp;help):</span>&nbsp;<span class="highlight">&lt;-- w</span><br />
<span class="system">The&nbsp;partition&nbsp;table&nbsp;has&nbsp;been&nbsp;altered!<br />
<br />
Calling&nbsp;ioctl()&nbsp;to&nbsp;re-read&nbsp;partition&nbsp;table.<br />
Syncing&nbsp;disks.</span></p>
<p class="command">pvcreate /dev/sdb1<br />
  vgextend server1 /dev/sdb1<br />
  lvcreate --name backups --size 30G server1<br />
  mkfs.ext3 /dev/mapper/server1-backups<br />
mkdir /backups</p>
<p>Now let's mount our <span class="system">/dev/server1/backups</span> volume on <span class="system">/backups</span>:</p>
<p class="command">mount /dev/mapper/server1-backups /backups</p>
<p>To have that volume mounted automatically whenever you boot the system, you must edit <span class="system">/etc/fstab</span> and add a line like this to it:</p>
<p class="command">vi /etc/fstab</p>
<table class="" align="center" bgcolor="#cccccc" border="1" bordercolor="#000000" cellpadding="2" cellspacing="0" width="90%">
      <tbody><tr>
        <td class="">
      <pre>[...]
/dev/mapper/server1-backups /backups               ext3    defaults,errors=remount-ro 0       1</pre>
</td></tr>
</tbody></table>
<p>Now our new situation looks like this:</p>
<p class="command">pvdisplay</p>
<p class="system">server1:~#&nbsp;pvdisplay<br />
&nbsp;&nbsp;---&nbsp;Physical&nbsp;volume&nbsp;---<br />
&nbsp;&nbsp;PV&nbsp;Name&nb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p;&nbsp;&nbsp;&nbsp;&nbsp;cvl1H5-cxRe-iyNg-m2mM-tjxM-AvER-rjqycO</p>
<p class="command">vgdisplay</p>
<p class="system">server1:~#&nbsp;vgdisplay<br />
&nbsp;&nbsp;---&nbsp;Volume&nbsp;group&nbsp;---<br />
&nbsp;&nbsp;VG&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server1<br />
&nbsp;&nbsp;System&nbsp;ID<br />
&nbsp;&nbsp;Format&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lvm2<br />
&nbsp;&nbsp;Metadata&nbsp;Areas&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2<br />
&nbsp;&nbsp;Metadata&nbsp;Sequence&nbsp;No&nbsp;&nbsp;5<br />
&nbsp;&nbsp;VG&nbsp;Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;read/write<br />
&nbsp;&nbsp;VG&nbsp;Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resizable<br />
&nbsp;&nbsp;MAX&nbsp;LV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;&nbsp;Cur&nbsp;LV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3<br />
&nbsp;&nbsp;Open&nbsp;LV&n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;7678&nbsp;/&nbsp;29.99&nbsp;GB<br />
&nbsp;&nbsp;VG&nbsp;UUID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jkWyez-c0nT-LCaE-Bzvi-Q4oD-eD3Q-BKIOFC</p>
<p class="command">lvdisplay</p>
<p class="system">server1:~#&nbsp;lvdisplay<br />
&nbsp;&nbsp;---&nbsp;Logical&nbsp;volume&nbsp;---<br />
&nbsp;&nbsp;LV&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/dev/server1/root<br />
&nbsp;&nbsp;VG&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server1<br />
&nbsp;&nbsp;LV&nbsp;UUID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;UK1rjH-LS3l-f7aO-240S-EwGw-0Uws-5ldhlW<br />
&nbsp;&nbsp;LV&nbsp;Write&nbsp;Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;read/write<br />
&nbsp;&nbsp;LV&nbsp;Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;available<br />
&nbsp;&nbsp;#&nbsp;open&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br />
&nbsp;&nbsp;LV&nbsp;Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;9.30&nbsp;GB<br />
&nbsp;&nbsp;Current&nbsp;LE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2382<br />
&nbsp;&nbsp;Segments&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br />
&nbsp;&nbsp;Allocation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inherit<br />
&nbsp;&nbsp;Read&nbsp;ahead&nbsp;sectors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;&nbsp;Block&nbsp;device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;254:0<br />
<br />
&nbsp;&nbsp;---&nbsp;Logical&nbsp;volume&nbsp;---<br />
&nbsp;&nbsp;LV&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/dev/server1/swap_1<br />
&nbsp;&nbsp;VG&nbsp;Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;server1<br />
&nbsp;&nbsp;LV&nbsp;UUID&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2PASi6-fQV4-I8sJ-J0yq-Y9lH-SJ32-F9jHaj<br />
&nbsp;&nbsp;LV&nbsp;Write&nbsp;Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;read/write<br />
&nbsp;&nbsp;LV&nbsp;Status&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;available<br />
&nbsp;&nbsp;#&nbsp;open&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2<br />
&nbsp;&nbsp;LV&nbsp;Size&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;464.00&nbsp;MB<br />
&nbsp;&nbsp;Current&nbsp;LE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;116<br />
&nbsp;&nbsp;Segments&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br />
&nbsp;&nbsp;Allocation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inherit<br />
&nbsp;&nbsp;Read&nbsp;ahead&nbsp;sectors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;&nbsp;Block&nbsp;device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;254:1<br />
<br />
&nbsp;&nbsp;---&nbsp;Logical&nbsp;volume&nbsp;---<br />
&nbsp;&nbsp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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1<br />
&nbsp;&nbsp;Allocation&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inherit<br />
&nbsp;&nbsp;Read&nbsp;ahead&nbsp;sectors&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;0<br />
&nbsp;&nbsp;Block&nbsp;device&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;254:2</p><div class="book"><div class="tree"><div class="menu"><ul><li class="leaf"><a href="linux_lvm_snapshots_p2">Back Up (And Restore) LVM Partitions With LVM Snapshots - Page 2</a></li><li class="leaf"><a href="linux_lvm_snapshots_p3">Back Up (And Restore) LVM Partitions With LVM Snapshots - Page 3</a></li></ul></div></div><div class="nav"> <div class="links"><div class="prev">&nbsp;</div><div class="next"><a href="linux_lvm_snapshots_p2" title="View the next page.">next</a></div></div> <div class="titles"><div class="next">Back Up (And Restore) LVM Partitions With LVM Snapshots - Page 2</div></div></div></div><br /><div class="copyright-footer">Copyright © 2007 Falko Timme<br />All Rights Reserved.
</div>  </div>
      <div class="links"><img src="http://images.howtoforge.com/images/print.gif" width="16" height="16" border="0" alt=""> print: <a href="membership" title="Print this page.">this</a> | <a href="membership" title="Print all pages of this book.">all</a> page(s) | <a href="http://www.howtoforge.com/forums/login.php">login</a> or <a href="http://www.howtoforge.com/forums/register.php">register</a> to post comments | <img src="http://images.howtoforge.com/images/email.gif" width="16" height="16" border="0" alt=""> <a href="emailpage&amp;nid=2101" title="Email this page to a friend">email this page</a> | <img src="http://images.howtoforge.com/images/pdf.gif" width="16" height="16" border="0" alt="view as pdf"> <a href="membership" title="View and print node as pdf.">view as pdf</a> | <a href="http://del.icio.us/post?url=http://www.howtoforge.com/linux_lvm_snapshots&amp;title=Back+Up+%28And+Restore%29+LVM+Partitions+With+LVM+Snapshots" title="Bookmark this post on del.icio.us." target="_blank"><img src="/modules/service_links/delicious.png" alt="Bookmark this post on del.icio.us." /></a> | <a href="http://digg.com/submit?phase=2&amp;url=http://www.howtoforge.com/linux_lvm_snapshots&amp;title=Back+Up+%28And+Restore%29+LVM+Partitions+With+LVM+Snapshots" title="Digg this post on digg.com." target="_blank"><img src="/modules/service_links/digg.png" alt="Digg this post on digg.com." /></a> | <a href="http://reddit.com/submit?url=http://www.howtoforge.com/linux_lvm_snapshots&amp;title=Back+Up+%28And+Restore%29+LVM+Partitions+With+LVM+Snapshots" title="Submit this post on reddit.com." target="_blank"><img src="/modules/service_links/reddit.png" alt="Submit this post on reddit.com." /></a> | <a href="http://technorati.com/cosmos/search.html?url=http://www.howtoforge.com/linux_lvm_snapshots" title="Search Technorati for links to this post." target="_blank"><img src="/modules/service_links/technorati.png" alt="Search Technorati for links to this post." /></a> | <a href="http://ma.gnolia.com/bookmarklet/add?url=http://www.howtoforge.com/linux_lvm_snapshots&amp;title=Back+Up+%28And+Restore%29+LVM+Partitions+With+LVM+Snapshots" title="Submit this post on ma.gnolia.com." target="_blank"><img src="/modules/service_links/magnoliacom.png" alt="Submit this post on ma.gnolia.com." /></a> | <a href="http://blogmarks.net/my/new.php?mini=1&amp;truc=3&amp;title=Back+Up+%28And+Restore%29+LVM+Partitions+With+LVM+Snapshots&amp;url=http://www.howtoforge.com/linux_lvm_snapshots&amp;summary=&amp;via=" title="Submit this post on blogmarks.net." target="_blank"><img src="/modules/service_links/blogmarks.png" alt="Submit this post on blogmarks.net." /></a> | <a href="http://www.furl.net/storeIt.jsp?t=Back+Up+%28And+Restore%29+LVM+Partitions+With+LVM+Snapshots&amp;u=http://www.howtoforge.com/linux_lvm_snapshots&amp;r=&amp;c=" title="Submit this post on FURL.net." target="_blank"><img src="/modules/service_links/furl.png" alt="Submit this post on FURL.net." /></a> | <a href="http://www.spurl.net/spurl.php?v=3&amp;title=Back+Up+%28And+Restore%29+LVM+Partitions+With+LVM+Snapshots&amp;url=http://www.howtoforge.com/linux_lvm_snapshots&amp;blocked=" title="Submit this post on Spurl.net." target="_blank"><img src="/modules/service_links/spurl.png" alt="Submit this post on Spurl.net." /></a> | <a href="http://simpy.com/simpy/LinkAdd.do?title=Back+Up+%28And+Restore%29+LVM+Partitions+With+LVM+Snapshots&amp;href=http://www.howtoforge.com/linux_lvm_snapshots&amp;note=&amp;_doneURI=http%3A%2F%2Fwww.simpy.com%2F&amp;v=6&amp;src=bookmarklet" title="Submit this post on Simpy.com." target="_blank"><img src="/modules/service_links/simpy.png" alt="Submit this post on Simpy.com." /></a></div>
  <div class="relatedlinks" id="relatedlinks">
<h2 class="title"><span style="margin-top:5px;font-weight:bold">Related Tutorials</span></h2>
<div class="content"><ul class="related-links"><li><a mce_real_href="/linux_lvm" title="A Beginner's Guide To LVM" href="/linux_lvm">A Beginner's Guide To LVM</a></li></ul>
</div>
</div>
</div><a id="comment"></a>
<table width="100%" style="border: 1px solid #808080; background-color: #FFF4B7;"><tr><td style="background-color: #FFF4B7; padding: 7px; padding-top: 15px; padding-left: 15px;"><img src="http://images.howtoforge.com/images/please_note.gif" width="16" height="16" border="0" alt=""></td><td style="font-size: 12px; font-style: italic; background-color: #FFF4B7; padding-left: 7px; padding-top: 15px; padding-right: 15px; padding-bottom: 15px;">Please do not use the comment function to ask for help! If you need help, please use our forum: <a href="http://www.howtoforge.com/forums">http://www.howtoforge.com/forums</a></td></tr></table><table width="100%" style="border: 1px solid #808080; background-color: #FFF4B7;"><tr><td style="background-color: #FFF4B7; padding: 7px; padding-top: 15px; padding-left: 15px;"><img src="http://images.howtoforge.com/images/please_note.gif" width="16" height="16" border="0" alt=""></td><td style="font-size: 12px; font-style: italic; background-color: #FFF4B7; padding-left: 7px; padding-top: 15px; padding-right: 15px; padding-bottom: 15px;">Comments will be published after administrator approval.</td></tr></table><form method="post" action="comment"><div>
<input type="hidden" name="edit[nid]" value="2101" />
</div></form><!-- end content -->            </div>

            </td></tr></table>
            <!-- end main content -->
          </div><!-- main -->
        </div>
      </div>
    </div>
    <div class="clearing"></div>
    <hr class="hide" />
<!-- START: FOOTER-->
    <div id="footer" class="footer">
              <p><center><a href="">Howtos</a> | <a href="http://www.howtoforge.com/taxonomy_menu/4" mce_real_href="http://www.howtoforge.com/taxonomy_menu/4">Mini-Howtos</a> | <a href="http://www.howtoforge.com/forums" mce_real_href="http://www.howtoforge.com/forums">Forums</a> | <a href="http://www.howtoforge.com/image" mce_real_href="http://www.howtoforge.com/image">Screenshots</a> | <a href="http://lxer.com/" target="_blank" mce_real_href="http://lxer.com/">News</a> | <a href="http://www.howtoforge.com/trip_search" mce_real_href="http://www.howtoforge.com/trip_search">Search</a> | <a href="http://www.howtoforge.com/add_howto" mce_real_href="http://www.howtoforge.com/add_howto">Contribute</a><br><a href="http://www.howtoforge.com/membership" mce_real_href="http://www.howtoforge.com/membership">Membership</a> | <a href="http://www.howtoforge.com/advertise" mce_real_href="http://www.howtoforge.com/advertise">Advertise</a> | <a href="/forums/sendmessage.php">Contact</a> | <a href="http://www.howtoforge.com/disclaimer" mce_real_href="http://www.howtoforge.com/disclaimer">Disclaimer</a> | <a href="http://www.howtoforge.com/imprint" mce_real_href="http://www.howtoforge.com/imprint">Imprint</a></center></p>
            <br /><div class="copyright-footer">Copyright © 2007 HowtoForge - Linux Howtos and Tutorials<br />All Rights Reserved.
</div>    </div>
<!-- END: FOOTER -->
        </div><!-- wrapper -->
</div><!-- outer_wrapper -->

</td>

</tr></table>
<script src="http://www.spotplex.com/send/474129/no-image.js" type="text/javascript"></script>
</body>
</html>