Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 1384
Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700
Warning: Invalid argument supplied for foreach() in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707
Warning: preg_match_all(): Compilation failed: invalid range in character class at offset 4 in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 700
Warning: Invalid argument supplied for foreach() in /data/xenlens.com/subdomains/www/wp-content/plugins/lightbox-plus/classes/shd.class.php on line 707
By default XenServer mounts NFS SR with soft option.
That can cause the VM running on NFS to output an IO error and remount its disk as read-only.
The solution is to hard mount the NFS share. This will leave the VM to hang and wait for the share to come back online.
Edit file /opt/xensource/sm/nfs.py and uncommment existing options line under the soft_mount function and add new options line:
#options = "soft,timeo=%d,retrans=%d,%s" % (SOFTMOUNT_TIMEOUT,
# SOFTMOUNT_RETRANS,
# transport)
#options += ',actimeo=0'
options = "rw,tcp,bg,hard,intr,sync,noac,rsize=262144,wsize=262144,timeo=600,retrans=2,_netdev"
More info on this issue:
Thanks for this article. I encountered this problem and you managed to fix it up!
Hi,
Thanks for this link. Can you please describe if we need to shutdown the Xenserver host. Also, how can I verify if the changes have taken place once they have been made.
Thanks.
Programming