During the start of OMV you can see the boot output in the console. But after that there is a "clear"-command or something like that and you can`t see anything of the boot output. is there a way to comment the "clear"-command? in which file I have to look?
Beiträge von oxidizer
-
-
What is the best way to install Windws 10 beside OMV on the same HDD, because OMV take the whole HDD/SSD? May be:
1. install OMV
2. resize Partition
3. install Win10
4. reinstall grub?
But what are the best settings in the bios? I have a ASUS H170M-Plus MB.Thanks
-
-
-
-
Performance ist ein weiter Begriff. Die WebGui läuft genauso gut wie auf meinem N40L-Server. Ein kurzer Test zeigt, dass die Übertragungsrate mit dem Apple Filling Protokoll über das cubietruck mit angeschlossener USB Festplatte zw. 20 und 25Mbyte liegt. Ich find das gut.
Eine Kleinigkeit hab ich jetzt festgestellt: ownCloud funktioniert nicht richtig und Java für jDownloader kann nicht installiert werden. Ist das gleiche Lied wie am Anfang.
CodeThe following packages have unmet dependencies: openmediavault-jdownloader : Depends: java7-runtime E: Unable to correct problems, you have held broken packages.
Scheinbar ist das Java Paket auch noch nicht geupdatet.
-
proftpd hat ein Update bekommen. Die Installation klapp jetzt ohne Probleme mit dem "Igor-Image", auch mit der aktuellen Version 3.8.
-
Sorry for that but my problem is that I often do not read to the end.
-
a possibility is a script and a cron Job. Google search tags: hpaculi email script. you'll find a few good scripts.
-
Use the HP Raid Plugin
-
Is there any solution for this problem? I have the same problem. I tried 3 debian images (cubeez, igor images) for cubietruck and all debian versions (old version too) have the same problems. If I try aptitude instead of apt-get the output is:
Code
Alles anzeigenroot@cubie:~# aptitude install openmediavault The following NEW packages will be installed: acpid{a} anacron{a} avahi-daemon{a} beep{a} bind9-host{a} bootlogd{a} bsd-mailx{a} collectd{a} collectd-core{a} cron-apt{a} dmeventd{a} ethtool{a} fontconfig{a} gdisk{a} jfsutils{a} libapparmor1{a} libasn1-8-heimdal{a} libavahi-core7{a} libbind9-90{a} libcairo2{a} libdaemon0{a} libdatrie1{a} libdbi1{a} libdevmapper-event1.02.1{a} libdns100{a} libevent-2.0-5{a} libfile-copy-recursive-perl{a} libfile-slurp-perl{a} libgd3{a} libgeoip1{a} libgraphite2-3{a} libgssapi3-heimdal{a} libharfbuzz0b{a} libhcrypto4-heimdal{a} libhdb9-heimdal{a} libheimbase1-heimdal{a} libheimntlm0-heimdal{a} libhx509-5-heimdal{a} libisc95{a} libisccc90{a} libisccfg90{a} libjavascript-minifier-xs-perl{a} libjs-extjs4{a} libjson-perl{a} libkdc2-heimdal{a} libkrb5-26-heimdal{a} libldb1{a} liblocale-po-perl{a} liblockfile-bin{a} liblockfile1{a} libltdl7{a} liblvm2cmd2.02{a} liblwres90{a} libmagic1{a} libnfsidmap2{a} libnss-mdns{a} libntdb1{a} libonig2{a} libossp-uuid16{a} libpango-1.0-0{a} libpangocairo-1.0-0{a} libpangoft2-1.0-0{a} libperl5.20{a} libpixman-1-0{a} libpython2.7{a} libqdbm14{a} libreadline5{a} libroken18-heimdal{a} librrd4{a} libsasl2-modules{a} libsensors4{a} libsnmp-base{a} libsnmp30{a} libtalloc2{a} libtdb1{a} libtevent0{a} libthai-data{a} libthai0{a} libtirpc1{a} libvpx1{a} libwbclient0{a} libwind0-heimdal{a} libx11-6{a} libx11-data{a} libxau6{a} libxcb-render0{a} libxcb-shm0{a} libxcb1{a} libxdmcp6{a} libxext6{a} libxpm4{a} libxrender1{a} libxslt1.1{a} lvm2{a} mdadm{a} monit{a} nfs-common{a} nfs-kernel-server{a} nginx{a} nginx-common{a} nginx-full{a} openmediavault openssh-blacklist-extra{a} php-json-schema{a} php5-cgi{a} php5-cli{a} php5-common{a} php5-fpm{a} php5-json{a} php5-pam{ab} php5-proctitle{ab} pm-utils{a} powermgmt-base{a} proftpd-mod-vroot{ab} psmisc{a} python-crypto{a} python-dnspython{a} python-ldb{a} python-ntdb{a} python-samba{a} python-talloc{a} python-tdb{a} quota{a} quotatool{a} resolvconf{a} rpcbind{a} rrdcached{a} rrdtool{a} samba{a} samba-common{a} samba-common-bin{a} samba-dsdb-modules{a} samba-libs{a} sdparm{a} smartmontools{a} snmpd{a} socat{a} tdb-tools{a} tftpd-hpa{a} update-inetd{a} uuid{a} watchdog{a} xfsprogs{a} xmlstarlet{a} The following packages are RECOMMENDED but will NOT be installed: acpi-support-base attr default-jre-headless geoip-database geoip-database-contrib kbd libesmtp6 libgdk-pixbuf2.0-0 libjson-xs-perl liblvm2app2.2 libmnl0 libmodbus5 libmysqlclient18 libnotify4 libnspr4 libnspr4-0d libnss3 libnss3-1d libopenipmi0 liboping0 libowcapi-2.9-8 libpcap0.8 libpq5 libprotobuf-c1 librabbitmq1 libtokyotyrant3 libupsclient4 libvirt0 libyajl2 openssh-blacklist php5-readline samba-vfs-modules 0 packages upgraded, 144 newly installed, 0 to remove and 0 not upgraded. Need to get 48.4 MB/48.5 MB of archives. After unpacking 180 MB will be used. The following packages have unmet dependencies: php5-pam : Depends: phpapi-20100525+lfs which is a virtual package. php5-proctitle : Depends: phpapi-20100525+lfs which is a virtual package. proftpd-mod-vroot : Depends: proftpd-abi-1.3.4a which is a virtual package. The following actions will resolve these dependencies: Keep the following packages at their current version: 1) openmediavault [Not Installed] 2) php5-pam [Not Installed] 3) php5-proctitle [Not Installed] 4) proftpd-mod-vroot [Not Installed] Accept this solution? [Y/n/q/?]
-
Eigentlich gibt dir die Fehlermeldung schon die Antwort:
"This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming."
das heisst, dass du eine Version verwendest, für die es noch keine neueren Pakete gibt, die du für die Installation von OMV benötigst. In diesem Fall die 3 genannten. Du hast 2 Möglichkeiten. Entweder eine älteres Igor-Image verwenden oder warten bis diese neuen Pakete erstellt und freigegeben wurden.
Sollte ich quatsch erzählen, wäre ich für eine Korrektur dankbar.
-
joq3: May be this link can help you: http://skovalyov.blogspot.ch/2…node-applications-on.html
-
Is it possible and make it sense to move the Plex and owncloud folder to a SSD to improve the performance? At the moment owncloud is slowly a bit and I have problems with Plex at the start of my Server. Some times Plex dont wanted to start at the boot of my server. And when I start Plex over the webgui manually it needs a little bit. Maybe the database is to great for loading at the boot?
-
Sorry for long waiting. Now your Version 0.3 works great. The output from omv-sysinfo 31-hpraid is as it should be:
root@OMV:~# omv-sysinfo 31-hpraid
================================================================================
= HP Hardware RAID
================================================================================CONTROLLER INFO:
--------------------------------------------------------------------------------
Smart Array P212 in Slot 1
Bus Interface: PCI
Slot: 1
Serial Number: PACCPID12310L3J
Cache Serial Number: PACCQ9SXVGJ8
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: C
Firmware Version: 6.40
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Queue Depth: Automatic
Monitor and Performance Delay: 60 min
Elevator Sort: Enabled
Degraded Performance Optimization: Disabled
Inconsistency Repair Policy: Disabled
Wait for Cache Room: Disabled
Surface Analysis Inconsistency Notification: Disabled
Post Prompt Timeout: 0 secs
Cache Board Present: True
Cache Status: OK
Cache Ratio: 10% Read / 90% Write
Drive Write Cache: Enabled
Total Cache Size: 256 MB
Total Cache Memory Available: 144 MB
No-Battery Write Cache: Enabled
Cache Backup Power Source: Batteries
Battery/Capacitor Count: 1
Battery/Capacitor Status: OK
SATA NCQ Supported: TrueCONTROLLER STATUS:
--------------------------------------------------------------------------------
Smart Array P212 in Slot 1
Controller Status: OK
Cache Status: OK
Battery/Capacitor Status: OKLOGICAL DRIVE INFO:
--------------------------------------------------------------------------------
Smart Array P212 in Slot 1
array A
logicaldrive 1 (7.3 TB, RAID 1+0, OK)
array B
logicaldrive 2 (1.8 TB, RAID 1, OK)PHYSICAL DRIVE INFO:
--------------------------------------------------------------------------------
Smart Array P212 in Slot 1
array A
physicaldrive 1I:0:1 (port 1I:box 0:bay 1, SATA, 4000.7 GB, OK)
physicaldrive 1I:0:2 (port 1I:box 0:bay 2, SATA, 4000.7 GB, OK)
physicaldrive 1I:0:3 (port 1I:box 0:bay 3, SATA, 4000.7 GB, OK)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SATA, 4000.7 GB, OK)
array B
physicaldrive 2E:0:7 (port 2E:box 0:bay 7, SATA, 2 TB, OK)
physicaldrive 2E:0:8 (port 2E:box 0:bay 8, SATA, 2 TB, OK)PHYSICAL DRIVE STATUS:
--------------------------------------------------------------------------------
physicaldrive 1I:0:1
Status: OK
Interface Type: SATA
Size: 4000.7 GB
Rotational Speed: 5400
Firmware Revision: 80.00A80
Serial Number: WD-WCC4E0233388
Model: ATA WDC WD40EZRX-00S
Current Temperature (C): 32
Maximum Temperature (C): 39
PHY Transfer Rate: 3.0Gbps
physicaldrive 1I:0:2
Status: OK
Interface Type: SATA
Size: 4000.7 GB
Rotational Speed: 5400
Firmware Revision: 80.00A80
Serial Number: WD-WCC4E0230908
Model: ATA WDC WD40EZRX-00S
Current Temperature (C): 32
Maximum Temperature (C): 37
PHY Transfer Rate: 3.0Gbps
physicaldrive 1I:0:3
Status: OK
Interface Type: SATA
Size: 4000.7 GB
Rotational Speed: 5400
Firmware Revision: 82.00A82
Serial Number: WD-WCC4EPA9UCR5
Model: ATA WDC WD40EFRX-68W
Current Temperature (C): 33
Maximum Temperature (C): 38
PHY Transfer Rate: 3.0Gbps
physicaldrive 1I:0:4
Status: OK
Interface Type: SATA
Size: 4000.7 GB
Rotational Speed: 5400
Firmware Revision: 80.00A80
Serial Number: WD-WCC4E3A7ZU73
Model: ATA WDC WD40EFRX-68W
Current Temperature (C): 33
Maximum Temperature (C): 37
PHY Transfer Rate: 3.0Gbps
physicaldrive 2E:0:7
Status: OK
Interface Type: SATA
Size: 2 TB
Rotational Speed: 5400
Firmware Revision: 1AQ10001
Serial Number: S2H7J90C508627
Model: ATA ST2000DL004 HD20
Current Temperature (C): 30
Maximum Temperature (C): 58
PHY Transfer Rate: 3.0Gbps
physicaldrive 2E:0:8
Status: OK
Interface Type: SATA
Size: 2 TB
Rotational Speed: 5400
Firmware Revision: 1AQ10001
Serial Number: S2H7J90C508628
Model: ATA ST2000DL004 HD20
Current Temperature (C): 29
Maximum Temperature (C): 58
PHY Transfer Rate: 3.0Gbps -
Output is attached
-
root@OMV:~# omv-sysinfo 31-hpraid
Zitat================================================================================
= HP Hardware RAID
================================================================================then...nothing. Sorry
-
I have Problems with Plex also. I wanted to delete the plugin. I had this messages:
(Lese Datenbank ... 41887 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von openmediavault-plexmediaserver ...
Löschen der Konfigurationsdateien von openmediavault-plexmediaserver ...
Trigger für openmediavault werden verarbeitet ...
Restarting engine daemon ...
openmediavault-omvextrasorg (1.0.13) wird eingerichtet ...
E: Konnte Sperre /var/lib/dpkg/lock nicht bekommen - open (11: Die Ressource ist zur Zeit nicht verfügbar)
E: Sperren des Administrationsverzeichnisses (/var/lib/dpkg/) nicht möglich, wird es von einem anderen Prozess verwendet?
dpkg: Fehler beim Bearbeiten von openmediavault-omvextrasorg (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 100 zurück
Trigger für openmediavault werden verarbeitet ...
Restarting engine daemon ...
Fehler traten auf beim Bearbeiten von:
openmediavault-omvextrasorg
Creating index of upgradeable packages ...
Creating index of OpenMediaVault plugins ...
E: Sub-process /usr/bin/dpkg returned an error code (1)What I have to do?
-
At first my english is not like it should be, so I apologize for that.
This Guide is for peoples who have one of the following HP Raid Array controller:
Smart Array 5312 Controller
Smart Array 5302 Controller
Smart Array 5304 Controller
Smart Array 532 Controller
Smart Array 5i Controller
Smart Array 641 Controller
Smart Array 642 Controller
Smart Array 6400 Controller
Smart Array 6400 EM Controller
Smart Array 6i Controller
Smart Array P600 Controller
Smart Array P400 Controller
Smart Array P400i Controller
Smart Array E200 Controller
Smart Array E200i Controller
Smart Array P800 Controller
Smart Array E500 Controller
Smart Array P700m Controller
Smart Array P410i Controller
Smart Array P411 Controller
Smart Array P212 Controller
Smart Array P712m Controller
Smart Array B110i SATA RAID
Smart Array P812 Controller
Smart Array P220i Controller
Smart Array P222 Controller
Smart Array P420 ControllerThe following Guide is a compilation of individual contributions that I found in the internet but it brought me to the target. Anyway I am not responsible for this tutorial. Perhaps by copy & paste errors contained.
For all next steps be sure you are logged in as root
1. Download & Install hpacucli
At first we have to install the tool 'hpacucli' and therefor we have to download and install the GPG key of the repository
download the key:
installl the key:
create apt sources file for HP/Proliant repoCodeecho -e "deb http://downloads.linux.hp.com/SDR/repo/mcp/wheezy/current non-free" > /etc/apt/sources.list.d/proliant.sources.list
update apt & install hpacucli package2. Create a nice script to show all information of your controller and drives
- Change your dir to /usr/sbin
- open nano
- put in the following code
Bash
Alles anzeigen#!/bin/sh PRG='hpacucli' SLOTLIST=$($PRG ctrl all show | \ grep Slot | sed -e 's/^.*Slot //g' -e 's/ .*$//g') for i in $SLOTLIST do echo echo CONTROLLER INFO: echo ===================================================================== $PRG ctrl slot=$i show | grep -v "^$" echo echo echo CONTROLLER STATUS: echo ===================================================================== $PRG ctrl slot=$i show status | grep -v "^$" echo echo echo LOGICAL DRIVE INFO: echo ===================================================================== $PRG ctrl slot=$i ld all show | grep -v "^$" echo echo echo PHYSICAL DRIVE INFO: echo ===================================================================== $PRG ctrl slot=$i pd all show | grep -v "^$" echo echo echo PHYSICAL DRIVE STATUS: echo ===================================================================== $PRG ctrl slot=$i pd all show detail | grep -i -P '.*(physicaldrive|Firmware|Status|Temperature|Interface|Size|Serial|Speed|Transfer|Model).*' echo done
- save it named: hpraidinfo
- now we have to make the script executable
- if you have no access then
Time to try.
root@OMV:~# hpraidinfo3. Make a "plugin"
3.1 make js file- makedir /var/www/openmediavault/js/omv/module/admin/service/raidinfo
- change dir to /var/www/openmediavault/js/omv/module/admin/service/raidinfo
- open nano
- put in the following code
Code
Alles anzeigen// Register a node in the navigation tree. // // id: // Set the ID of the node. // path: // Parent path in the navigation view. // Text: // Service name/title. This is displayed in the navigation. // icon16: // 16x16 pixel icon that is displayed in the navigation tree. // iconSvg: // SVG icon that is displayed in the navigation view. OMV.WorkspaceManager.registerNode({ id: "raidinfo", path: "/service", text: _("HP Raid Info"), icon16: "images/raid.png", iconSvg: "images/raid.svg" });
- save it named: raidinfo.js
- makedir /var/www/openmediavault/js/omv/module/admin/service/raidinfo/hpraidinfo
- change dir to /var/www/openmediavault/js/omv/module/admin/service/raidinfo/hpraidinfo
- open nano
- put in the following code
Code
Alles anzeigen/** * This file is part of OpenMediaVault. * * @license http://www.gnu.org/licenses/gpl.html GPL Version 3 * @author Volker Theile <volker.theile@openmediavault.org> * @copyright Copyright (c) 2009-2014 Volker Theile * * OpenMediaVault is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * OpenMediaVault is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with OpenMediaVault. If not, see <http://www.gnu.org/licenses/>. */ // require("js/omv/WorkspaceManager.js") // require("js/omv/workspace/panel/Textarea.js") /** * @class OMV.module.admin.service.raidinfo.HpraidInfo * @derived OMV.workspace.panel.Textarea */ Ext.define("OMV.module.admin.service.raidinfo.Hpraidinfo", { extend: "OMV.workspace.panel.Textarea", hideDownloadButton: false, rpcService: "raidinfo", rpcMethod: "getRaidInfo" }); OMV.WorkspaceManager.registerPanel({ id: "hpraidinfo", path: "/service/raidinfo", text: _("HP Raid Info"), position: 10, className: "OMV.module.admin.service.raidinfo.Hpraidinfo" });
- save file for example as: hpraidinfo.js
3.2 Make inc file
- change your dir to /usr/share/openmediavault/engined/rpc
- open nano
- put in the following code
PHP
Alles anzeigen<?php require_once("openmediavault/object.inc"); require_once("openmediavault/error.inc"); require_once("openmediavault/functions.inc"); require_once("openmediavault/util.inc"); require_once("openmediavault/system.inc"); require_once("openmediavault/product.inc"); require_once("openmediavault/rpcservice.inc"); require_once("openmediavault/notify.inc"); class OMVRpcServiceRaidinfo extends OMVRpcServiceAbstract { /** * Get the name of the RPC service. * * @return string */ public function getName() { return "raidinfo"; } /** * Initialize the RPC service. */ public function initialize() { $this->registerMethod("getRaidInfo"); } /** * Get the 'hpsacucli' Raid Info report. * @param params The method parameters. * The method does not have any paramaters. * @param context The context of the caller. * @return A quotation from the Dune novel, which is a string. */ public function getRaidInfo($params, $context) { // Validate the RPC caller context. $this->validateMethodContext($context, array( "role" => OMV_ROLE_ADMINISTRATOR )); OMVUtil::exec("hpraidinfo", $result); return implode("\n", $result); } } // Register the RPC service. $rpcServiceMgr = &OMVRpcServiceMgr::getInstance(); $rpcServiceMgr->registerService(new OMVRpcServiceRaidinfo()); ?>
- save file for example as: raidinfo.inc
Finally we have to restart the rpc service
root@OMV:~# service openmediavault-engined restart
Perhaps a admin or moderator can make a review of this guide??
-
It wasn't a good idea to put the code in this files (system.js/systm.inc). After the last update the system.inc was overwritten. Now I try it again with the plugin guide but I can not get further. I get the message
ZitatRPC service not found (name=raidinfo)
Fehler #2000:
exception 'OMVException' with message 'RPC service not found (name=raidinfo)' in /usr/share/php/openmediavault/rpc.inc:93
Stack trace:
#0 /usr/sbin/omv-engined(501): OMVRpc::exec('raidinfo', 'getRaidInfo', NULL, Array, 1)
#1 {main}My /var/www/openmediavault/js/omv/module/admin/service/raidinfo/hpraidinfo.js file looks like this:
Code
Alles anzeigenExt.define("OMV.module.admin.service.raidinfo.Hpraidinfo", { extend: "OMV.workspace.panel.Textarea", hideDownloadButton: false, rpcService: "raidinfo", rpcMethod: "getRaidInfo" }); OMV.WorkspaceManager.registerPanel({ id: "hpraidinfo", path: "/service/raidinfo", text: _("HP Raid Info"), position: 10, className: "OMV.module.admin.service.raidinfo.Hpraidinfo" });
and my /usr/share/openmediavault/engined/rpc/raidinfo.inc file looks like this:
Code
Alles anzeigen?php require_once("openmediavault/object.inc"); require_once("openmediavault/error.inc"); require_once("openmediavault/functions.inc"); require_once("openmediavault/util.inc"); require_once("openmediavault/system.inc"); require_once("openmediavault/product.inc"); require_once("openmediavault/rpcservice.inc"); require_once("openmediavault/notify.inc"); class OMVRpcServiceRaidinfo extends OMVRpcServiceAbstract { /** * Get the name of the RPC service. * * @return string */ public function getName() { return "Raidinfo"; } /** * Initialize the RPC service. */ public function initialize() { $this->registerMethod("getRaidInfo"); } /** * Get the 'hpsacucli' Raid Info report. * @param params The method parameters. * The method does not have any paramaters. * @param context The context of the caller. * @return A quotation from the Dune novel, which is a string. */ public function getRaidInfo($params, $context) { // Validate the RPC caller context. $this->validateMethodContext($context, array( "role" => OMV_ROLE_ADMINISTRATOR )); OMVUtil::exec("hpacucli", $result); return implode("\n", $result); } } // Register the RPC service. $rpcServiceMgr = &OMVRpcServiceMgr::getInstance(); $rpcServiceMgr->registerService(new OMVRpcServiceRaidinfo()); ?>
Can someone tell me where is my error?