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:lvm [2019/03/25 12:42] – [Backup & Recovery Partition Table] tmadelinux:lvm [2019/12/30 14:41] (current) – [Usefull Commands] tmade
Line 68: Line 68:
  
   lvextend -r -l +100%FREE /dev/vgname/lvname   lvextend -r -l +100%FREE /dev/vgname/lvname
 +  lvextend -r -L 10G /dev/vgname/lvname
      
 ==== Backup & Recovery Partition Table ==== ==== Backup & Recovery Partition Table ====
Line 81: Line 82:
 A „LUN“ (or virtual Disk) can be recognised in a VMware Virtual Maschine (Linux) with the following command: A „LUN“ (or virtual Disk) can be recognised in a VMware Virtual Maschine (Linux) with the following command:
      
-  echo "- - -" > /sys/class/scsi_host/host1/scan 
   echo "- - -" > /sys/class/scsi_host/host0/scan   echo "- - -" > /sys/class/scsi_host/host0/scan
 +  echo "- - -" > /sys/class/scsi_host/host1/scan
 +  echo "- - -" > /sys/class/scsi_host/host2/scan  
  
 "host1" represents the controller ID. "host1" represents the controller ID.
Line 144: Line 146:
   pvcreate /dev/sdb1   pvcreate /dev/sdb1
   pvresize -v -d /dev/sdb1   pvresize -v -d /dev/sdb1
-  vgextend system /dev/sdc1 +  vgextend system /dev/sdc1                         #add "/dev/sdc1" to vg "system" 
-  vgreduce /dev/system /dev/sdb1+  vgreduce system /dev/sdb1                         #remove "/dev/sdb1" from vg "system"
   lvcreate --name backups --size 30G server1   lvcreate --name backups --size 30G server1
   mkfs.ext3 /dev/mapper/server1-backups   mkfs.ext3 /dev/mapper/server1-backups
linux/lvm.1553514179.txt.gz · Last modified: 2019/03/25 12:42 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki