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 06:53] – [Linux LVM] azmanlinux:linux_system [2026/09/06 02:08] (current) – [Useful Commands] azman
Line 151: Line 151:
  
 Check physical disks: <code># pvscan</code> Check physical disks: <code># pvscan</code>
 +
 +List volume groups / logical volumes: <code>
 +# vgs
 +# lvs
 +</code>
 +
 +==== Moving VG to another machine ====
 +
 +On current machine, assuming volume group ''myvg'' mounted at ''/extra''.
 +
 +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.1788332030.txt.gz · Last modified: by azman

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki