Obviously, by I am using the RasPi build and 'dd'ed the SD card to a USB drive. It says it cannot mount rootfs if I don't fstab it.
Beiträge von Ali3n0id
-
-
Here's an entry under syslog:
Code
Alles anzeigenFeb 3 18:31:37 box ntpd[3865]: ntpd 4.2.6p5@1.2349-o Mon Feb 9 03:34:42 UTC 2015 (1) Feb 3 18:31:37 box ntpd[3865]: proto: precision = 1.198 usec Feb 3 18:31:37 box ntpd[3865]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 123 Feb 3 18:31:37 box ntpd[3865]: Listen and drop on 1 v6wildcard :: UDP 123 Feb 3 18:31:37 box ntpd[3865]: Listen normally on 2 lo 127.0.0.1 UDP 123 Feb 3 18:31:37 box ntpd[3865]: Listen normally on 3 eth0 192.168.0.6 UDP 123 Feb 3 18:31:37 box ntpd[3865]: Listen normally on 4 tun0 10.3.0.1 UDP 123 Feb 3 18:31:37 box ntpd[3865]: Listen normally on 5 lo ::1 UDP 123 Feb 3 18:31:37 box ntpd[3865]: peers refreshed Feb 3 18:31:37 box ntpd[3865]: Listening on routing socket on fd #22 for interface updates Mar 26 01:24:39 box ntpd[3865]: ntpd: time set +4344774.922111 s
Time and dates are all wrong until I manually update ntp
-
I'm using using the RasPi 2 image and have noticed the time doesn't correct itself upon reboot so I have to manually use 'sudo ntpd -gq' to grab the correct time. I have use NTP server unmarked in the OMV interface.
I'm also get random 'kernel panics - not syncing' crashses
I imported my ntp.conf (after making a backup of the original) from another Pi:
Zitat# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
driftfile /var/lib/ntp/ntp.drift
# Enable this if you want statistics to be logged.
#statsdir /var/log/ntpstats/statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example# pool.ntp.org maps to about 1000 low-stratum NTP servers. Your server will
# pick a different set every time it starts up. Please consider joining the
# pool: <http://www.pool.ntp.org/join.html>
server 0.debian.pool.ntp.org iburst
server 1.debian.pool.ntp.org iburst
server 2.debian.pool.ntp.org iburst
server 3.debian.pool.ntp.org iburst# Access control configuration; see /usr/share/doc/ntp-doc/html/accopt.html for
# details. The web page <http://support.ntp.org/bin/view/Support/AccessRestrictions>
# might also be helpful.
#
# Note that "restrict" applies to both servers and clients, so a configuration
# that might be intended to block requests from certain clients could also end
# up blocking replies from your own upstream servers.# By default, exchange time with everybody, but don't allow configuration.
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict ::1# Clients from this (example!) subnet have unlimited access, but only if
# cryptographically authenticated.
#restrict 192.168.123.0 mask 255.255.255.0 notrust# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
#broadcast 192.168.123.255# If you want to listen to time broadcasts on your local subnet, de-comment the
# next lines. Please do this only if you trust everybody on the network!
#disable auth
#broadcastclientThe locale and timezone is set correctly with raspi-config and from /usr/share..
The time is still not correcting itself upon reboot
-
Mounting via UUID seemed to fix the issue.
-
Currently I can't create shared folders on 'media/Crypt' which is not referenced - what does a file system need to be able to use it in shared folders?
-
Yes, I had to delete entries in config.xml, create new UUIDS with 'tune2fs -U random /dev/sdXY' then reference them in my fstab:
Zitat# <file system> <mount point> <type> <options> <dump> <pass>
UUID=7D5C-A285 /boot vfat defaults 0 0
UUID=5d18be51-3217-4679-9c72-a54e0fc53d6b / ext4 defaults 0 1
#/dev/sda1 / ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 1
UUID=9f8ca709-f19c-456e-bb39-29a07e50255b swap swap defaults 0 0
#/dev/sda2 swap swap defaults 0 0
UUID=28c66576-62e9-48b5-a179-cda45e204c92 /media/28c66576-62e9-48b5-a179-cda45e204c92 ext4 defaults 0 2
#/dev/sda3 /systemstorage ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
UUID=52d200e5-f74a-4a3e-9fdd-f6505016da52 /media/Crypt ext4 defaults 0 2
#/dev/sdb2 /media/Crypt ext4 defaults 0 2#/dev/mmcblk0p1 /boot vfat defaults 0 2
#/dev/sda1 / ext4 defaults 0 1
#/dev/sda2 swap swap defaults 0 0
#/dev/sdb2 /media/Crypt ext4 defaults 0 0# Chroot bind mounts for PlexMediaServer
/home /chroots/wheezy-armel/home none bind 0 0
/mnt /chroots/wheezy-armel/mnt none bind 0 0
/tmp /chroots/wheezy-armel/tmp none bind 0 0
/proc /chroots/wheezy-armel/proc proc defaults 0 0
/dev /chroots/wheezy-armel/dev none bind 0 0
/dev/pts /chroots/wheezy-armel/dev/pts none bind 0 0#/dev/sda3 /systemstorage ext4 defaults 0 0
#/dev/mmcblk0p2 / ext4 defaults,noatime 0 1#UUID=5d18be51-3217-4679-9c72-a54e0fc53d6b /media/Crypt ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
# >>> [openmediavault]# <<< [openmediavault]
Looks likes everything is working now
Is there a way to trick OVM to thinking that a referenced drive is not referenced with bind mounts?
-
I mean is it possible to reset the file systems as it were?
-
I have a RasPi here with the RasPi build you provide. I'm booting the rootfs from an external hard drive which is located at /dev/sda1 and also has the same UUID as /dev/mmcblk0p2 as this was a dd clone.
/dev/mmcblk0p2 still appears in the file systems page even though it is not mounted and I believe I have removed it from my .config.xml file (I made a backup). Not a huge problem though.
The main issue is with another partition (/dev/sda3) on the same hard drive as the system boots from - it has my SQL databases on I use for shared folders/OwnCloud
I've changed hard drives and cloned information from them to another (/dev/sdb2) but this has messed up my mounts and the file systems page:
http://gyazo.com/62fbb86d5510190dc33a80228d976a51
My fstab is as follows:
ZitatUUID=7D5C-A285 /boot vfat defaults 0 2
/dev/sda1 / ext4 defaults 0 1
UUID=9f8ca709-f19c-456e-bb39-29a07e50255b swap swap defaults 0 0#/dev/mmcblk0p1 /boot vfat defaults 0 2
#/dev/sda1 / ext4 defaults 0 1
#/dev/sda2 swap swap defaults 0 0
#/dev/sdb2 /media/Crypt ext4 defaults 0 0# Chroot bind mounts for PlexMediaServer
/home /chroots/wheezy-armel/home none bind 0 0
/mnt /chroots/wheezy-armel/mnt none bind 0 0
/tmp /chroots/wheezy-armel/tmp none bind 0 0
/proc /chroots/wheezy-armel/proc proc defaults 0 0
/dev /chroots/wheezy-armel/dev none bind 0 0
/dev/pts /chroots/wheezy-armel/dev/pts none bind 0 0#/dev/sda3 /systemstorage ext4 defaults 0 0
#/dev/mmcblk0p2 / ext4 defaults,noatime 0 1#UUID=5d18be51-3217-4679-9c72-a54e0fc53d6b /media/Crypt ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# a swapfile is not a swap partition, so no using swapon|off from here on, use dphys-swapfile swap[on|off] for that
# >>> [openmediavault]
UUID=28c66576-62e9-48b5-a179-cda45e204c92 /media/28c66576-62e9-48b5-a179-cda45e204c92 ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
UUID=5d18be51-3217-4679-9c72-a54e0fc53d6b /media/5d18be51-3217-4679-9c72-a54e0fc53d6b ext4 defaults,nofail,acl,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
# <<< [openmediavault]When I 'mount -a' now for some reason it decides to mount /dev/sda1 to the same location as /dev/sdb2 is supposed to be mounted. In the web interface it shares the same available/used values because of this.
When I try to unmount certain partitions now I get a message similar to:
ZitatFailed to get configuration (xpath=//system/fstab/mntent[dir='/media/5d18be51-3217-4679-9c72-a54e0fc53d6b'])
However if I mount/unmount the drives manually it seems to solve it.
Ideally I'd like to mount my drives in a custom location like /media/USB1 (within the OMV interface) and still be able to use them for shared folders and with OVM interface. It'd be great too if I could use the 'mount/unmount' buttons on the web client.
Not sure if this is possible but I'm in a bit of a jam...
-
Brilliant - everything went as planned I had to add the custom repo to the OMV-extras tab before the dependencies deicided to install otherwise I would get in a loop of installing 'openmediavault-owncloud' and removing it.
-
Thanks tekkb, ran into some dependency problems:
Code
Alles anzeigendpkg -i owncloud8.deb (Reading database ... 86613 files and directories currently installed.) Preparing to replace owncloud 8.0.0-9 (using owncloud8.deb) ... Unpacking replacement owncloud ... dpkg: dependency problems prevent configuration of owncloud: owncloud depends on owncloud-server-core; however: Package owncloud-server-core is not installed. owncloud depends on owncloud-config-apache; however: Package owncloud-config-apache is not installed. dpkg: error processing owncloud (--install): dependency problems - leaving unconfigured Errors were encountered while processing: owncloud apt-get install owncloud-server-core owncloud-config-apache Reading package lists... Done Building dependency tree Reading state information... Done Package owncloud-server-core is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source Package owncloud-config-apache is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'owncloud-server-core' has no installation candidate E: Package 'owncloud-config-apache' has no installation candidate apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following packages were automatically installed and are no longer required: libmcrypt4 php-xml-parser php5-curl php5-gd php5-intl php5-mcrypt Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: openmediavault-owncloud owncloud 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 366 kB disk space will be freed. Do you want to continue [Y/n]? n Abort.
-
I want to get OC up and running, I'm following this guide: ownCloud 7 install with current plugin
Where can I get a copy of 'owncloud_7.0.4-3_all.deb' ?
-
I need to enable mono so I can install mediabrowser but there is no 'secondary' tab in the lastest RPi build.
I know that there is no secondary tab in new releases but how do I enable mono and why does the mediabrowser plugin not show under multimedia?
-
I get you, and would have totally used the brilliant image you provide if I was starting fresh.
Can I assume that that's the go ahead to use these tutorials without issues? Any recommendations?
i.e. If I have a webserver running already - will it conflict? If I use Raspbian will it conflict with my current mounts? If I already use a FTP server or have samba mounts will it conflict?
-
Forgive me, I know there are prebuilt images for the RPi but I have everything setup perfectly inside raspbian after hours of effort.
What is the #1 reason why it's not recommended to use inside raspbian?
When I update the system will packages become broken?
I have found a few links online were people have done this, just wanted to make sure I'm headed in the right direction here - help a brother out:
http://www.element14.com/commu…i-nas-with-openmediavault