Posts by thespeed

    Everytime i am getting the following fault:
    Fout #6000:
    exception 'OMVException' with message 'Failed to mount '59551d4b-e97e-4d20-818e-593aee2ae764': [mntent]: line 15 in /etc/fstab is bad
    mount: can't find /media/59551d4b-e97e-4d20-818e-593aee2ae764 in /etc/fstab or /etc/mtab' in /usr/share/openmediavault/engined/module/fstab.inc:90


    It's working if i change the following:


    # >>> [openmediavault]UUID=e3bdedcb-9d24-4532-8c7f-fb83d2952401 /media/e3bdedcb-9d24-4532-8c7f-fb83d2952401 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2# <<< [openmediavault]


    to:
    # >>> [openmediavault]UUID=e3bdedcb-9d24-4532-8c7f-fb83d2952401 /media/e3bdedcb-9d24-4532-8c7f-fb83d2952401 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
    # <<< [openmediavault]


    As soon when i press the attach drive within omv (new ext4 partition) then i get the line15 fault
    and my fstab file is changed to the first one :(
    So still having problems.
    Hopefully someone know how to fix it.


    If i look at the config.xml the mntent looks like this:
    <mntent>
    <uuid>9dd4b7a4-3728-40a3-9c8b-39073d89e8cd</uuid>
    <fsname>e3bdedcb-9d24-4532-8c7f-fb83d2952401</fsname>
    <dir>/media/e3bdedcb-9d24-4532-8c7f-fb83d2952401</dir>
    <type>ext4</type>
    <opts>defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl</opts>
    <freq>0</freq>
    <passno>2</passno>
    <hidden>0</hidden>
    </mntent>

    After resizing the system partition with a bootable Gparted my fstab file seems to be broken.
    Openmediavault is working but it can't mount my Raid drives anymore.


    I get the message:
    Fout #6000:
    exception 'OMVException' with message 'Failed to mount 'e3bdedcb-9d24-4532-8c7f-fb83d2952401': [mntent]: line 15 in /etc/fstab is bad


    My linux knowledge is not that great but i did some commands to see what's the problem.


    root@HPMicroServer:/etc# ls -l /dev/disk/by-uuid/


    total 0
    lrwxrwxrwx 1 root root 10 Jun 15 20:23 90e653e4-6872-4c30-96c5-69918d781aa3 -> ../../sde1
    lrwxrwxrwx 1 root root 10 Jun 15 20:23 acec5d62-0c94-45dd-a8f6-545137f8286d -> ../../sde5
    lrwxrwxrwx 1 root root 9 Jun 15 20:23 e3bdedcb-9d24-4532-8c7f-fb83d2952401 -> ../../md0
    lrwxrwxrwx 1 root root 10 Jun 15 20:23 f8e670f9-5401-4fdb-b74b-aa6467760ecd -> ../../sde3


    root@HPMicroServer:/etc# blkid /dev/sde1
    /dev/sde1: UUID="90e653e4-6872-4c30-96c5-69918d781aa3" TYPE="ext4" PARTUUID="000afb5d-01"
    root@HPMicroServer:/etc# blkid /dev/sde5
    /dev/sde5: UUID="acec5d62-0c94-45dd-a8f6-545137f8286d" TYPE="swap" PARTUUID="000afb5d-05"
    root@HPMicroServer:/etc# blkid /dev/md0
    /dev/md0: LABEL="Storage" UUID="e3bdedcb-9d24-4532-8c7f-fb83d2952401" TYPE="ext4"
    root@HPMicroServer:/etc# blkid /dev/sde3
    /dev/sde3: LABEL="Backup" UUID="f8e670f9-5401-4fdb-b74b-aa6467760ecd" TYPE="ext4" PARTUUID="000afb5d-03"


    If i try to mount my Storage drive with the mount command then i can access my files:
    mount UUID="e3bdedcb-9d24-4532-8c7f-fb83d2952401" /media/Storage (for testing i made the directory Storage)


    Here is a copy of my fstab but i can't find the fault :(
    I checked the UUID but it's stille the same.
    Does someone know how to fix this.


    So now i need to mount the Storage partition and the backup partition.
    I wanted to split the system partition to change the SQL and the PHP directory because of spinning down of the drives and to keep the system files seperated from the data drives :)
    So hopefully i can just change the directory within the MYSQL plugin but first i hope to fix this problem.


    # /etc/fstab: static file system information.
    #
    # Use 'blkid' to print the universally unique identifier for a
    # device; this may be used with UUID= as a more robust way to name devices
    # that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    # / was on /dev/sda1 during installation
    UUID=90e653e4-6872-4c30-96c5-69918d781aa3 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    UUID=acec5d62-0c94-45dd-a8f6-545137f8286d none swap sw 0 0
    /dev/sdb1 /media/usb0 auto rw,user,noauto 0 0
    tmpfs /tmp tmpfs defaults 0 0
    # >>> [openmediavault]
    UUID=e3bdedcb-9d24-4532-8c7f-fb83d2952401 /media/e3bdedcb-9d24-4532-8c7f-fb83d2952401 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2# <<< [openmediav$


    I have installed it with setup-owncloud.php but forgot to enable mysql.
    After a message i enabled it.


    Tried to delete Owncloud and the database to begin over again but made the fault by deleting the sql database directory.
    That wasn't the best way because i needed to delete and reinstall all the databases.
    But now i was able to make a new database.


    Only i have a problem with setting a MySQL root password.
    I have changed it within the MySQL app i pressed save and then apply.
    But it doesn't change :(
    After a while i just tried to install Owncloud with no password but hope i can change it for security reasons ;)


    I can now login to MyWebSQL and see that there are 7 users and a change password tap.
    Can i just change all the users to another password or is there another way?


    These are the users:
    root@localhost
    debian-sys-maint@localhost
    oc_admin@%
    oc_admin@localhost
    root@127.0.0.1
    root@::1
    root@"myservername"


    The Data Performance Info was found within the admin screen of OwnCloud
    After a reinstall i don't see the message anymore.

    I had a problem with my SSL certificate (HSTS) and have found out that it has been fixed within a new Owncloud 8 version.
    I installed it and it's working great :)
    Under Data Performance Info there is a message that Ownlcoud is using a SQlite database.
    Is this a problem,or is it easy to install the normal MySQL or MariaDB?


    The Owncloud version within the plugin looks outdated version 6
    Isn't it vulnerable for hacks?
    What i see the only disadvantage with this install is that the users aren't synct.
    But now you get all of the updates from Owncloud.


    Thanks for the alternative approach

    @ellnic


    Thanks for all the information
    I have just bought a new WD Red 2TB drive for my server and installed it.
    Also i looked at my existing seagate barracuda st2000 drives and found out that it isn't the most reliable drive.


    I updated the firmware of the drives and made a raid-Z2 pool.
    Everything seems to be working okey :)
    So now i need to install all the plugins and the other stuff.


    At what kind of interval do i need to do a scrub?
    Don't know exactly how to make a good cronjob for that.


    I think i will stick to the standard SATA ports at this moment and have installed the patched bios.
    So all the Sata ports runs at 3GB/s
    If it's to slow then i can always buy a different controller :)

    @thespeed I know that you're a drive down because of the issues you've had with Xpenology, but just some friendly input to stop you suffering further data loss -


    Thanks for the answers.


    I have bought the system second hand a year ago and i have checked the S.M.A.R.T data.
    15842, 15200 and 17985 hours.


    So with some calculating the system runned for +- 2 years, 24 hours a day.


    It's a shame that it takes a lot of space to run Raid Z2 or Raid 6.
    Maybe it's better to add a bigger new drive and go with Raid-6 or Raid-Z2


    @ellnic
    Are you running Raid-Z with Openmediavault with no issues,
    so is it a safe option?


    I am always forgetting to make backups. :S
    But i am going to automate that with an external USB drive.
    Better safe then sorry.

    Great work.


    After using Freenas (had problems with some plugins), Openmediavault and Xpenology i have reinstalled openmediavault.
    Due to a power outage my system chrashed under Xpenology.
    One drive stopped working and Xpenology didn't boot anymore.
    Tried to restore the SHR partition within Linux but
    Had problems repairing the SHR partition and also my backup drive was corrupted.
    So a lot of data loss. :(


    Due to the broken drive i am now using 3x 2TB drives.
    and 1 system drive with a backup partition for important files.
    I have formatted it to Raid 5 but prefer Raid-Z1.
    Is it wise and save to use, and will there be still support in the future?