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
Next revision
Previous revision
linux:linux_system [2026/09/02 12:00] – [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 options) to take them offline +On current machine, assuming volume group ''myvg'' mounted at ''/extra''. 
-  * runn vgexport+ 
 +Unmount<code># umount /extra</code> 
 +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.1788350400.txt.gz · Last modified: by azman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki