This shows you the differences between two versions of the page.
Last revision Both sides next revision | |||
project:opennebula [2011/12/21 22:07] SLUUG Administration created |
project:opennebula [2012/06/12 20:40] SLUUG Administration |
||
---|---|---|---|
Line 196: | Line 196: | ||
* Map /etc/xen/images to btrfs raid 10 local array | * Map /etc/xen/images to btrfs raid 10 local array | ||
- | *Map /var/lib/one/ to NFS server 600G S/W raid 10 | + | * Map /var/lib/one/ to NFS server 600G S/W raid 10 |
- | *Map /home/* to NFS server 600G S/W raid 10 | + | * Map /home/* to NFS server 600G S/W raid 10 |
*On NFS Server be sure to perform these fixes since root user access will be needed | *On NFS Server be sure to perform these fixes since root user access will be needed | ||
-Set the permissions in the directory and the images exported to very permissive (directories: a+rx, files: a+rw) | -Set the permissions in the directory and the images exported to very permissive (directories: a+rx, files: a+rw) | ||
- | -Disable root squashing adding no_root_squash to nfs exporting options | + | -Disable root squashing adding no_root_squash to nfs exporting options\\ |
+ | |||
+ | /etc/exports/\\ | ||
+ | <file> | ||
+ | /srv/storage/@/home 192.168.118.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) 192.168.115.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) | ||
+ | /srv/storage/@/backups 192.168.115.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) 192.168.118.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) | ||
+ | /var/lib/one 192.168.118.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) 192.168.115.0/27(crossmnt,rw,no_root_squash,sync,no_subtree_check) | ||
+ | </file> | ||
+ | |||
+ | * Recursive bind mount images data store. I for some reason am not getting crossmnt option to work on NFS | ||
+ | |||
+ | <code> | ||
+ | # mount --rbind /srv/storage/\@/images/ /var/lib/one/datastores/ | ||
+ | </code> | ||
+ | |||
+ | /etc/fstab *** This Doesn't work either, still experimenting... Probably need to mount device directly since its a subvolume ***\\ | ||
+ | <file> | ||
+ | /srv/storage/\@/images/ /var/lib/one/datastores/ none defaults,rbind | ||
+ | </file> | ||
* Edit /etc/one/oned.conf (default config) | * Edit /etc/one/oned.conf (default config) | ||
Line 277: | Line 295: | ||
[[:home|Home]] | [[:projects|Projects]] | [[:hardwarerefresh_dec11|SLUUG Hardware Refresh]] | [[:home|Home]] | [[:projects|Projects]] | [[:hardwarerefresh_dec11|SLUUG Hardware Refresh]] | ||
- |