Halo14- / XS7-SetupStorageDevices.sh

Bash script to symlink whole physical disks into /dev/xapi/block using blkid in a persistent manner on XenServer 7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

XS7-SetupStorageDevices.sh

Bash script to symlink whole physical disks into /dev/xapi/block using blkid in a persistent manner on XenServer 7.

Usage

Edit and upload the script with the relevant UUIDs to a directory on the XenServer node and execute the following commands:-

$ chmod +x /etc/rc.local     				        
$ cp XS7-SetupStorageDevices.sh /usr/local/     	
$ echo "/usr/local/XS7-SetupStorageDevices.sh" >>/etc/rc.local	

Devices should now show under 'Removable Devices' on the node and can be attached to any VM and should persist on reboot(s).

About

Bash script to symlink whole physical disks into /dev/xapi/block using blkid in a persistent manner on XenServer 7

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%