Differences

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

Link to this comparison view

Both sides previous revision Previous revision
en:dedicated-server:rescue:mount-lvm-partition [2018/02/16 18:03]
dedibox
en:dedicated-server:rescue:mount-lvm-partition [2019/05/10 14:58] (current)
dedibox
Line 12: Line 12:
 Scan of the LVM partition: Scan of the LVM partition:
  
-        ​sudo vgscan+<​code>​ 
 +sudo vgscan 
 +</​code>​
  
 Activation of the LVM partition: Activation of the LVM partition:
  
-        ​sudo vgchange -ay <​VolName>​ +<​code>​ 
-                +sudo vgchange -ay <​VolName>​ 
 +</​code>​ 
 +          ​
 Display the logical name of the partition: Display the logical name of the partition:
  
-        ​sudo lvs+<​code>​ 
 +sudo lvs 
 +</​code>​
  
 Create a local folder to mount the partition: Create a local folder to mount the partition:
  
-        ​sudo mkdir /mnt/LVM+<​code>​ 
 +sudo mkdir /mnt/LVM 
 +</​code>​
  
 Mount the partition in the local folder: Mount the partition in the local folder:
  
-        ​sudo mount /​dev/<​VolName>/<​LogName>​ /mnt/LVM +<​code>​ 
-        +sudo mount /​dev/<​VolName>/<​LogName>​ /mnt/LVM 
 +</​code>​ 
 +  ​
 Access the LVM partition: Access the LVM partition:
  
-        ​cd /mnt/LVM+<​code>​ 
 +cd /mnt/LVM 
 +</​code>​
  
 We can now proceed with the backup of the data present in the LVM partition. We can now proceed with the backup of the data present in the LVM partition.