Skip to content

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

License

Notifications You must be signed in to change notification settings

Halo14-/XS7-SetupStorageDevices.sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages