Differences

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

Link to this comparison view

Both sides previous revision Previous revision
server-administration:lvm-in-single-user-mode [2009-10-02 13:58:33]
shaun.reitan Approved
server-administration:lvm-in-single-user-mode [2011-07-01 12:18:45] (current)
garrett.plasky Approved
Line 3: Line 3:
 When booting Linux into single user mode or rescue mode, you will find that unless the distro has found and enabled the logical volumes that you wont see any devices. ​ This makes it a fun task when you need to mount, scan, resize, whatever a partition. ​ Below are instructions on enabling your logical volumes. When booting Linux into single user mode or rescue mode, you will find that unless the distro has found and enabled the logical volumes that you wont see any devices. ​ This makes it a fun task when you need to mount, scan, resize, whatever a partition. ​ Below are instructions on enabling your logical volumes.
  
-<code console> +<sxh shell>lvm vgscan 
-lvm vgscan +lvm vgchange -ay 
-lvm vgchange -ay +lvm lvs</sxh>
-lvm lvs +
-</code>+
  
-It's as simple as that, now you should see your normal LVM devices in /dev (example: /​dev/​LVM-GROUP/​LVM-VOLUME)+It's as simple as that, now you should see your normal LVM devices in /dev (example: ​<c>/​dev/​LVM-GROUP/​LVM-VOLUME</c>)
  
  
 {{tag>​lvm how-to}} {{tag>​lvm how-to}}