Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hypervisor:base:storage [2015/03/05 01:39]
admin [Create a Storage Repository]
hypervisor:base:storage [2015/03/05 12:45] (current)
admin [Delete a Storage Repository]
Line 118: Line 118:
 ==== Register the logical volume for use with XAPI ==== ==== Register the logical volume for use with XAPI ====
 <​code>​ <​code>​
-> xe sr-create type=ext name-label='​LocalStorage' device-config:​device=/​dev/​mapper/​xenvg-LocalStorage+> xe sr-create type=ext name-label='​X-Local-SR' device-config:​device=/​dev/​mapper/​Xvg0-Xsr0
 </​code>​ </​code>​
 This will take a while if the volume is large, it will return the SR UUID. This will take a while if the volume is large, it will return the SR UUID.
Line 124: Line 124:
 Display the storage repository: Display the storage repository:
 <​code>​ <​code>​
-> xe sr-list name-label='​LocalStorage'+> xe sr-list name-label='​X-Local-SR'
 </​code>​ </​code>​
  
Line 191: Line 191:
 </​code>​ </​code>​
  
-NOTE: at this stage the logical volume ​will still exist in the LVM partition.+NOTE: at this stage the SR data will still exist in the LVM partition, you could also use the //**xe sr-destroy**//​ command to totally wipe out the SR, loosing everything that was on it!
  
 ===== Using NFS ===== ===== Using NFS =====