Menu
  • HOME
  • TAGS

Symfony2 and Twig performance in a vagrant box

php,symfony2,twig,vagrant,nfs

In order to make it work faster in vagrant in case your host OS is Win (Windows 7 x64 in my case), you need to: add this fix. I also added 'prod' environment to the list: public function getCacheDir() { if (in_array($this->environment, array('dev', 'test', 'prod'))) { return '/dev/shm/project/cache/' . $this->environment;...

Busybox SUID on NFS rootfs

linux,embedded-linux,boot,nfs,rootfs

After some research I will answer my question myself. The answer is very simple. In order the above to work, the busybox binary should be owned by root:root. The simplest solution is just to change the ownership.

NFS Vagrant on Fedora 22

vagrant,rpc,fedora,nfs,libvirt

Looks like when using libvirt the user is given control over nfs and rpcbind, and Vagrant doesn't even try to touch those things like I had assumed it did. Running these solved my issue: service rpcbind start service nfs stop service nfs start ...

ESXi 5.1 virtual machines no longer able to mount NFS share from other virtual machine

linux,ubuntu,centos,vmware,nfs

I've figured it out. By forcing version 3 I'm able to mount again. I'll keep looking why it is not working with version 4, but for now I'm good to go.

Fortran OPEN-call differs on NFSv3 vs NFSv4

linux,fortran,system-calls,gfortran,nfs

To answer your question, in order: You are correct that gfortran will try to reopen a file in read-only mode when EACCES (or EROFS) is encountered. You are also correct that EPERM is not handled this way, it is not mentioned in the libgfortran source tree at all. As you...

How to use nfs for vagrant sync specific folders?

vagrant,sync,ubuntu-14.04,nfs

The following worked for me. The most important thing is NOT to have group, owner, and mount_options config.vm.synced_folder "~/Documents/WebApps", "/var/virtual/WebApps", id: "vagrant-root", type: "nfs" When I attempted to use those attributes, I get failure warnings. This answer helped a tad....

NFS mount System Call in linux

embedded-linux,mount,nfs

I'm quite surprised here knowing that how this is not covered by any man page regarding NFS mounts. Diving into the kernel code, in the function nfs_validate_text_mount_data, the function nfs_parse_mount_options is responsible for parsing the multiple comma separated options passed as the fifth argument in the mount system call. struct...

Is gc.log writing asynchronous? safe to put gc.log on NFS mount?

java,performance,garbage-collection,nfs

So I checked - it's not asynchronous and uses regular fopen/fwrite. Relevant code from jdk8u: gcLogFileStream::gcLogFileStream(const char* file_name) { _cur_file_num = 0; _bytes_written = 0L; _file_name = make_log_name(file_name, NULL); // gc log file rotation if (UseGCLogFileRotation && NumberOfGCLogFiles > 1) { char tempbuf[FILENAMEBUFLEN]; jio_snprintf(tempbuf, sizeof(tempbuf), "%s.%d" CURRENTAPPX, _file_name, _cur_file_num); _file...

SELinux prevents ssh with RSA key

ssh,nfs,selinux

If restorecon didn't work, I generally try audit2why and/or audit2allow to find what policy is being violated. That's not to say that I apply the policy change suggestions that are generated, just that they lead to very good information to resolving the issue.

store a high amount of HTML files

c++,linux,storage,nfs

Storing individual files is quite easy - wget -r http://www.example.com will store a local copy of example.com's entire (crawlable) content. Of course, beware of generated pages, where the content is different depending on when (or from where) you access the page. Another thing to consider is that maybe you don't...

Grunt watch detects file changes only after 5 seconds with Vagrant and NFS

vagrant,nfs,grunt-contrib-watch

Try these mount options in your Vagrantfile: type: "nfs", mount_options: ['actimeo=1'] This will greatly reduce the NFS file attribute caching timeout. I was having similar troubles, seeing large delays with Vagrant/NFS when waiting for gulp and Django server reloads. This fixed it; file changes are now detected instantly....

xbmc media library lost after system is rebooted

raspberry-pi,nfs,xbmc

Bought a new (SanDisk) SD card, copied backed up /storage data on it and the error is gone. Conclusion: bad (Toshiba) SD card was the reason for library getting corrupted at system restart....

SSH Key Authentication failure with shared /home and OpenLDAP

linux,ssh,ldap,openldap,nfs

It looks like the issue was SELinux. If anyone comes across the same issue, the following thread is very helpful. http://serverfault.com/questions/321534/public-key-authentication-fails-only-when-sshd-is-daemon...

What is scratch space /filesystem in HPC

filesystems,nfs,hpc,supercomputers,lustre

It all depends on how the cluster was setup and what the users need. When you are given access to a cluster you should also be given some information about how it is meant to be used which should answer most of your questions. On one of the clusters I...

NFS server and client on two Azure VMs, client unable to connect

azure,nfs,azure-virtual-machine

You also need to open TCP/UDP 111. If the two VMs are in Azure, you should make them part of the same cloud service, or connect them to a virtual network in which case given Ubuntu in Azure ships with no default software firewall you wouldn't need to open anything.

Permission Denied with mounting NFS with Webmin (Mac OSX + Ubuntu Setup)

ubuntu,osx-mavericks,mount,nfs,webmin

You're likely running into an issue with numeric user id's: the numeric user id on your ubuntu system does not match the numeric user id on your Mac. With NFS, you generally have to insure that your numeric user ids are somehow made the same across all of your systems....

mounting wd my cloud in raspbian fails

raspberry-pi,mount,raspbian,nfs,nfsclient

The problem was that I've added the folder I want to mount with the WD GUI, when I add the folder by ssh and set its owner/group to root/share and then adding folder to /etc/exports it works fine.

Nrpe error command specified in service not defined anywhere?

plugins,nagios,nfs,nrpe

Found solution i tried another script. Posting steps might be helpful !! Adding Nrpe plugin for Nagios Server to monitor Nfs Server Steps : Note : Nrpe should be installed on both Nagios & Nfs server sudo apt-get install nagios-nrpe-server sudo apt-get install nagios-plugins-basic nagios-plugins nagios-plugins-extra On Nagios Server :...

Input/output error using Vagrant & winnfsd

ruby-on-rails-4,vagrant,windows-8.1,ubuntu-14.04,nfs

I was finally able to resolve this issue by using this approach suggested in one of the GitHub tickets. Basically it involves pointing Rails and Carrierwave to a dir outside of the /vagrant folder to dump the tmp files into in order to avoid running into any lock/permission issues: #...