Advertisement
adhioutlined

oainstall_zpool

May 26th, 2015
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. root@lio1:~# zpool create -f pool1 sdb sdc
  2. root@lio1:~# zpool list
  3. NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
  4. pool1 39.8G 50K 39.7G - 0% 0% 1.00x ONLINE -
  5. root@lio1:~# oaconfig install
  6. systemd is running (pid 1750).
  7. * Stopping openATTIC systemd
  8. ...done.
  9. * Starting openATTIC systemd
  10. ...done.
  11. * Stopping openATTIC rpcd
  12. ...done.
  13. * Starting openATTIC rpcd
  14. ...done.
  15. * Reloading web server apache2
  16. *
  17. Creating tables ...
  18. Installing custom SQL ...
  19. Installing indexes ...
  20. Installed 65 object(s) from 2 fixture(s)
  21. * Stopping openATTIC systemd
  22. ...done.
  23. * Starting openATTIC systemd
  24. ...done.
  25. * Stopping openATTIC rpcd
  26. ...done.
  27. * Starting openATTIC rpcd
  28. ...done.
  29. * Reloading web server apache2
  30. *
  31. We have an admin already, not creating default user.
  32. ProFTPD is started in standalone mode, currently running.
  33. md5sum: /var/www/index.html: No such file or directory
  34. Found lo
  35. Found eth0
  36. Found new ZPool pool1
  37. Root volume for zpool pool1 is missing, creating it
  38. Traceback (most recent call last):
  39. File "manage.py", line 26, in <module>
  40. execute_from_command_line(sys.argv)
  41. File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
  42. utility.execute()
  43. File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
  44. self.fetch_command(subcommand).run_from_argv(self.argv)
  45. File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv
  46. self.execute(*args, **options.__dict__)
  47. File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 285, in execute
  48. output = self.handle(*args, **options)
  49. File "/usr/share/openattic/sysutils/management/commands/post_install.py", line 49, in handle
  50. sysutils.models.post_install.send(sender=sysutils.models)
  51. File "/usr/lib/python2.7/dist-packages/django/dispatch/dispatcher.py", line 185, in send
  52. response = receiver(signal=self, sender=sender, **named)
  53. File "/usr/share/openattic/zfs/management/__init__.py", line 123, in update_disksize
  54. "filesystem": "zfs", "fswarning": 99, "fscritical": 99, "owner": admin
  55. File "/usr/share/openattic/zfs/models.py", line 69, in _create_volume_for_storageobject
  56. zfs.save()
  57. File "/usr/share/openattic/zfs/models.py", line 106, in save
  58. self.fs.chown()
  59. File "/usr/share/openattic/volumes/filesystems/filesystem.py", line 165, in chown
  60. return dbus_object.fs_chown( self.path, self.volume.owner.username, volumes_settings.CHOWN_GROUP )
  61. File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 70, in __call__
  62. return self._proxy_method(*args, **keywords)
  63. File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
  64. **keywords)
  65. File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
  66. message, timeout)
  67. dbus.exceptions.DBusException: org.freedesktop.DBus.Python.SystemError: Traceback (most recent call last):
  68. File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
  69. retval = candidate_method(self, *args, **keywords)
  70. File "/usr/share/openattic/systemd/helpers.py", line 75, in loggedfunc
  71. return func(*args, **kwargs)
  72. File "/usr/share/openattic/systemd/plugins.py", line 76, in wrapper
  73. return meth(self, *args, **kwargs)
  74. File "/usr/share/openattic/volumes/systemapi.py", line 57, in fs_chown
  75. invoke(cmd)
  76. File "/usr/share/openattic/systemd/procutils.py", line 115, in invoke
  77. raise SystemError("%s failed: %s" % (cmdline, procerr))
  78. SystemError: "/bin/chown" "-R" "openattic:users" "/media/pool1/.snapshots" failed: /bin/chown: cannot access '/media/pool1/.snapshots': No such file or directory
  79.  
  80.  
  81. root@lio1:~#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement