Beiträge von tkripala

    Output from purge throws up an error..


    # apt-get purge openmediavault-omvextrasorg
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be REMOVED:
    openmediavault-omvextrasorg*
    0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
    2 not fully installed or removed.
    After this operation, 705 kB disk space will be freed.
    Do you want to continue? [Y/n] Y
    (Reading database ... 36513 files and directories currently installed.)
    Removing openmediavault-omvextrasorg (1.34) ...
    Purging configuration files for openmediavault-omvextrasorg (1.34) ...
    Setting up samba (2:4.2.10+dfsg-0+deb8u3) ...
    Job for smbd.service failed. See 'systemctl status smbd.service' and 'journalctl -xn' for details.
    invoke-rc.d: initscript smbd, action "start" failed.
    dpkg: error processing package samba (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of openmediavault:
    openmediavault depends on samba; however:
    Package samba is not configured yet.


    dpkg: error processing package openmediavault (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    samba
    openmediavault
    Creating index of upgradeable packages ...
    Creating index of openmediavault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)



    Odd that it appears that I'm upgrading from OMV 1.X to 3.X. I executed omv-release-upgrade which took me to OMV 2.X and it was running before I ran the upgrade script again to go from )MV 2.X to 3.X and that is when I ran into this issue.

    Output below:


    # dpkg -l | grep openm
    iU openmediavault 3.0.53 all Open network attached storage solution
    ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
    ii openmediavault-omvextrasorg 1.34 all OMV-Extras.org Package Repositories for OpenMediaVault

    See below...


    # systemctl status smbd.service
    ● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
    Loaded: loaded (/etc/init.d/smbd)
    Active: failed (Result: exit-code) since Sun 2016-11-20 19:05:17 PST; 10h ago


    Nov 20 19:05:17 homeserver smbd[10540]: Starting SMB/CIFS daemon: smbd failed!
    Nov 20 19:05:17 homeserver systemd[1]: smbd.service: control process exited, code=exited status=1
    Nov 20 19:05:17 homeserver systemd[1]: Failed to start LSB: start Samba SMB/CIFS daemon (smbd).
    Nov 20 19:05:17 homeserver systemd[1]: Unit smbd.service entered failed state.

    Tried to upgrade from Stoneburner to Erasmus that error'd out. Tried both apt-get update and apt-get -f install without any success. In both cases, I get errors show below (looks like a samba error) I have searched (or tried) looking for a way to correct this without much luck (probably missing something obvious) or even trying to roll-back to Stoneburner (no luck there). I've read somewhere where a clean install is recommended but am hesitant to lose all of my data.


    Suggestions?



    # apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    2 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up samba (2:4.2.10+dfsg-0+deb8u3) ...
    Job for smbd.service failed. See 'systemctl status smbd.service' and 'journalctl -xn' for details.
    invoke-rc.d: initscript smbd, action "start" failed.
    dpkg: error processing package samba (--configure):
    subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of openmediavault:
    openmediavault depends on samba; however:
    Package samba is not configured yet.


    dpkg: error processing package openmediavault (--configure):
    dependency problems - leaving unconfigured
    Errors were encountered while processing:
    samba
    openmediavault
    Creating index of upgradeable packages ...
    Creating index of openmediavault plugins ...
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    # apt-get update
    Ign file: InRelease
    Ign file: Release.gpg
    Ign file: Release
    Ign file: Translation-en_US
    Ign file: Translation-en
    Ign http://ftp.us.debian.org jessie InRelease
    Hit http://security.debian.org jessie/updates InRelease
    Hit http://ftp.us.debian.org jessie-updates InRelease
    Hit http://ftp.us.debian.org jessie Release.gpg
    Hit http://packages.openmediavault.org erasmus InRelease
    Hit http://security.debian.org jessie/updates/main Sources
    Get:1 http://dh2k.omv-extras.org plex-wheezy-mirror InRelease [3,221 B]
    Hit http://ftp.us.debian.org jessie-updates/main Sources
    Hit http://security.debian.org jessie/updates/contrib Sources
    Hit http://ftp.us.debian.org jessie-updates/contrib Sources
    Hit http://packages.omv-extras.org kralizec InRelease
    Hit http://security.debian.org jessie/updates/non-free Sources
    Hit http://ftp.us.debian.org jessie-updates/non-free Sources
    Get:2 http://ftp.us.debian.org jessie-updates/main amd64 Packages/DiffIndex [6,424 B]
    Hit http://security.debian.org jessie/updates/main amd64 Packages
    Ign http://dh2k.omv-extras.org plex-wheezy-mirror InRelease
    Hit http://packages.omv-extras.org kralizec-plex InRelease
    Hit http://packages.openmediavault.org erasmus/main amd64 Packages
    Hit http://ftp.us.debian.org jessie-updates/contrib amd64 Packages
    Hit http://security.debian.org jessie/updates/contrib amd64 Packages
    Get:3 http://ftp.us.debian.org jessie-updates/non-free amd64 Packages/DiffIndex [736 B]
    Hit http://security.debian.org jessie/updates/non-free amd64 Packages
    Hit http://ftp.us.debian.org jessie-updates/contrib Translation-en
    Ign http://dh2k.omv-extras.org plex-wheezy-mirror/main amd64 Packages/DiffIndex
    Hit http://packages.omv-extras.org kralizec/main amd64 Packages
    Hit http://security.debian.org jessie/updates/contrib Translation-en
    Get:4 http://ftp.us.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
    Hit http://security.debian.org jessie/updates/main Translation-en
    Get:5 http://ftp.us.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]
    Hit http://security.debian.org jessie/updates/non-free Translation-en
    Hit http://ftp.us.debian.org jessie Release
    Hit http://ftp.us.debian.org jessie/main Sources
    Hit http://ftp.us.debian.org jessie/non-free Sources
    Hit http://ftp.us.debian.org jessie/contrib Sources
    Hit http://ftp.us.debian.org jessie/main amd64 Packages
    Hit http://ftp.us.debian.org jessie/non-free amd64 Packages
    Hit http://packages.omv-extras.org kralizec-plex/main amd64 Packages
    Hit http://ftp.us.debian.org jessie/contrib amd64 Packages
    Hit http://ftp.us.debian.org jessie/contrib Translation-en
    Hit http://ftp.us.debian.org jessie/main Translation-en
    Hit http://ftp.us.debian.org jessie/non-free Translation-en
    Hit http://dh2k.omv-extras.org plex-wheezy-mirror/main amd64 Packages
    Ign http://dh2k.omv-extras.org plex-wheezy-mirror/main Translation-en_US
    Ign http://dh2k.omv-extras.org plex-wheezy-mirror/main Translation-en
    Ign http://packages.openmediavault.org erasmus/main Translation-en_US
    Ign http://packages.openmediavault.org erasmus/main Translation-en
    Ign http://packages.omv-extras.org kralizec/main Translation-en_US
    Ign http://packages.omv-extras.org kralizec/main Translation-en
    Ign http://packages.omv-extras.org kralizec-plex/main Translation-en_US
    Ign http://packages.omv-extras.org kralizec-plex/main Translation-en
    Fetched 13.8 kB in 5s (2,539 B/s)
    Creating index of upgradeable packages ...
    Creating index of openmediavault plugins ...
    Reading package lists... Done
    W: GPG error: http://dh2k.omv-extras.org plex-wheezy-mirror InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7AA630A1EDEE7D73

    So, in the course of troubleshooting to identify the likely failed volume, either my CPU or my motherboard got fried and the system is completely dead. I'm keeping my fingers crossed that I can simply replace my motherboard and recover my system.


    Sigh! :(

    Thanks for the tip. I think I may indeed have a bad drive. Here is the offending section (I believe)



    If indeed that is the case, I should be able to mark the drive as a failed drive using mdadm, right?


    Just want to confirm before I do anything.


    Thanks!

    I have been recently experiencing an odd problem but have not been able to pinpoint the cause of the problem and looking for some help. Here is the scenario:


    I have 2 RAID1 volumes. One is 3TB and the other is 750GB.
    The 3TB volume has a number of directories shared via samba and mounted to my Windows machines.
    These volumes are no longer accessible.
    When I log into the OMV web page, I am unable to load the Storage pages (physical disks, RAID Management, Filesystem). The pages sit in loading and then errors out.
    On the command line, I executed 'cat /proc/mdstat' and it shows the following:



    The first volume has been stuck at 11.1% resync for the last 24 hours.


    When I execute fdisk -l, it hangs after /dev/sda.
    When I execute blkid, the command hangs.


    I'm not sure what else to try to pinpoint the problem.


    Any ideas or suggestions?


    Thanks!

    FIrst off, I want to thank everyone who has or had a hand in creating OMV. I recently replaced my Windows Home Server with OMV after the motherboard on server died. After replacing the motherboard and CPU, I found that my older version of WHS would not install because of a ton of missing and incompatible drivers and after a day of fighting I gave up trying to get WHS installed. I found OMV and within minutes of starting the installation process, I had the complete server up and running and was able to mount all of my WHS data drives and recover all of my content. I used to have a bunch of problems with WHS accessing the shared directories from all of my other computers, phones and tablets in my home network (due to permissions, user accounts, etc.) that disappeared with OMV. Management of OMV is very simple, intuitive and fast. Not having to worry about viruses is a huge blessing. Overall, this is a really fantastic implementation of a home server and is more than what I was expecting which I would highly recommend over WHS anyday.


    Being the paranoid person, I want to ensure that my content and installation of OMV is backed up. All of my data drives are mirrored but my OS partition is on a single SSD. I know that there are a number of utilities and tools for backing up and I wanted to hear from the OMV community what methods and experiences are used to backup the OMV system so that in the event that my SSD dies, I am able to recover my installation.


    Thanks!


    T.K.

    I turned off the motherboard raid and the disks did not show up. I had to initiate a Wipe of the drives which rewrote the GPT info on the drives. I then tried creating a RAID1 mirror using the wiped drive and encountered a "resource busy error". I had to reboot the server and then was able to successfully create the RAID volume, formatted the volume and I am up and running.


    Thanks for the tip!

    I installed OVM 0.3 and upgraded to 0.4.2. All installations and upgrade were performed with a single SSD connected into the system. After I confirmed everything was working and up and running properly, i shutdown the system and added two brand new 3TB Seagate drives and booted the server. In OMV, both of these drives show up in the Physical Disks but when I go to create a RAID1 Mirror, neither of these disks are listed. I then thought of adding the drives individually and when I try to create a new filesystem, neither of these disks show up.


    My motherboard is a Gigabyte (GA-H67M-D2-B3) and uses the H67 chipset. I have configured both of these drives into a RAID1 mirror via the motherboard RAID controller (uses Intel RST) and I suspect that the MD RAID support included with OVM either does not recognize this or is having some problem (I haven't had any time yet to troubleshoot further). I was planning to disable the motherboard RAID and try again with SATA controller configuration set to AHCI mode.


    This brings to mind a couple of questions:


    1) Is the suggested/recommended path for RAID to only utilize software RAID via MD RAID and completely disable the motherboard RAID?
    2) Are there any issues in OVM supporting 3TB drives (I would guess not but thought I would check with others)


    Thanks!