It seems a bug of LVM for Ubuntu 14.

We found the solution thanks to this post:
https://github.com/saltstack/salt/pull/9227

We run the script redirecting "/dev/null" to stdin for the script and now it 
works:
nohup ./backup_zimbra_lvm.sh </dev/null &

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737965

Title:
  Error "stdin: fdopen failed: Invalid argument" while running lvreate,
  lvremove or lvs in a script run using nohup or scheduled in crontab

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1737965/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to