User Tools

Site Tools


linux:linux_system

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:linux_system [2026/09/05 09:58] – [Useful Commands] azmanlinux:linux_system [2026/09/06 02:08] (current) – [Useful Commands] azman
Line 157: Line 157:
 </code> </code>
  
-Exporting volume groups: +==== Moving VG to another machine ====
-  * unmount +
-  * run lvchange / vgchange (with -an option) to take them offline +
-  * run vgexport+
  
-Importing: +On current machine, assuming volume group ''myvg'' mounted at ''/extra''. 
-  * run vgimport + 
-  * run lvchange / vgchange (with -ay option)? +Unmount<code># umount /extra</code> 
-  mount+Deactivate VG<code># vgchange -an myvg</code> 
 +Export<code># vgexport myvg</code> 
 + 
 +On to the target machine, assuming mount point is also at ''/extra''
 + 
 +Import<code># vgimport myvg</code> 
 +Activate VG<code># vgchange -ay myvg</code> 
 +Mount<code># mount /dev/mapper/myvg /extra</code>
  
 ===== Linux AUFS ===== ===== Linux AUFS =====
linux/linux_system.txt · Last modified: by azman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki