OpenMediaVault on the Home Media CE

Post Reply
ptelleria
Posts: 86
Joined: Wed Jan 29, 2014 6:03 pm

Re: OpenMediaVault on the Home Media CE

Post by ptelleria » Sun Nov 02, 2014 7:21 pm

same issue as mari8b...can't mount ext3, or ext4...if I do on CLI, can't create share on OMV web, as no volume appears...

ptelleria
Posts: 86
Joined: Wed Jan 29, 2014 6:03 pm

Re: OpenMediaVault on the Home Media CE

Post by ptelleria » Wed Nov 05, 2014 12:40 pm

solved the ext3/ext4 mounting !! http://forums.openmediavault.org/index. ... #post58099
we suspect there's an issue with kernel OXNAS+ 3.12.6 not supporting ACL, Quota
which don't work

maomao
Posts: 2
Joined: Sun Dec 14, 2014 2:48 pm

Re: OpenMediaVault on the Home Media CE

Post by maomao » Sun Dec 14, 2014 3:14 pm

Hi,

I installed OMV successfully yesterday, any problem with that.

I accessed the web interface and I tried to mount the XFS partition, then the web interface became unresponsive and cannot even ping the IP.

I rebooted the NAS, and nothing.

This is the JP4 serial dump (interesting part, full here http://pastebin.com/ryrCKcNL):

Code: Select all

Mounting local filesystems...[   19.260000] XFS mounting filesystem dm-0
[   19.460000] XFS quotacheck dm-0: Please wait.
[   33.960000] mount invoked oom-killer: gfp_mask=0x802d0, order=0, oomkilladj=0
[   33.960000] [<c002ee68>] (unwind_backtrace+0x0/0xe0) from [<c007b4f4>] (oom_kill_process.isra.8+0xa4/0x220)
[   33.970000] [<c007b4f4>] (oom_kill_process.isra.8+0xa4/0x220) from [<c007b964>] (__out_of_memory+0x120/0x1b0)
[   33.980000] [<c007b964>] (__out_of_memory+0x120/0x1b0) from [<c007bc64>] (out_of_memory+0x6c/0xe0)
[   33.990000] [<c007bc64>] (out_of_memory+0x6c/0xe0) from [<c007e59c>] (__alloc_pages_nodemask+0x550/0x57c)
[   34.000000] [<c007e59c>] (__alloc_pages_nodemask+0x550/0x57c) from [<c038bbec>] (cache_alloc_refill+0x2d8/0x548)
[   34.010000] [<c038bbec>] (cache_alloc_refill+0x2d8/0x548) from [<c009d144>] (kmem_cache_alloc+0x8c/0xb0)
[   34.020000] [<c009d144>] (kmem_cache_alloc+0x8c/0xb0) from [<c022e5f0>] (kmem_zone_alloc+0x84/0xd8)
[   34.030000] [<c022e5f0>] (kmem_zone_alloc+0x84/0xd8) from [<c020d42c>] (xfs_inode_alloc+0x20/0xbc)
[   34.040000] [<c020d42c>] (xfs_inode_alloc+0x20/0xbc) from [<c020dbfc>] (xfs_iget+0x364/0x558)
[   34.050000] [<c020dbfc>] (xfs_iget+0x364/0x558) from [<c01dbcf4>] (xfs_qm_dqusage_adjust+0x74/0x130)
[   34.060000] [<c01dbcf4>] (xfs_qm_dqusage_adjust+0x74/0x130) from [<c0216710>] (xfs_bulkstat+0x680/0xc50)
[   34.070000] [<c0216710>] (xfs_bulkstat+0x680/0xc50) from [<c01dc404>] (xfs_qm_quotacheck+0xd4/0x190)
[   34.080000] [<c01dc404>] (xfs_qm_quotacheck+0xd4/0x190) from [<c01dc6cc>] (xfs_qm_mount_quotas+0xe0/0x164)
[   34.090000] [<c01dc6cc>] (xfs_qm_mount_quotas+0xe0/0x164) from [<c0223894>] (xfs_mountfs+0x5d8/0x6c4)
[   34.090000] [<c0223894>] (xfs_mountfs+0x5d8/0x6c4) from [<c023a880>] (xfs_fs_fill_super+0x1e0/0x340)
[   34.100000] [<c023a880>] (xfs_fs_fill_super+0x1e0/0x340) from [<c00a2cb4>] (get_sb_bdev+0x120/0x158)
[   34.110000] [<c00a2cb4>] (get_sb_bdev+0x120/0x158) from [<c02388a4>] (xfs_fs_get_sb+0x1c/0x28)
[   34.120000] [<c02388a4>] (xfs_fs_get_sb+0x1c/0x28) from [<c00a24f0>] (vfs_kern_mount+0x60/0x140)
[   34.130000] [<c00a24f0>] (vfs_kern_mount+0x60/0x140) from [<c00a2614>] (do_kern_mount+0x34/0xe4)
[   34.140000] [<c00a2614>] (do_kern_mount+0x34/0xe4) from [<c00b9810>] (do_mount+0x4b4/0x7f0)
[   34.150000] [<c00b9810>] (do_mount+0x4b4/0x7f0) from [<c00b9e58>] (sys_mount+0x84/0xcc)
[   34.160000] [<c00b9e58>] (sys_mount+0x84/0xcc) from [<c0028ee0>] (ret_fast_syscall+0x0/0x2c)
[   34.160000] Mem-info:
[   34.170000] Normal per-cpu:
[   34.170000] CPU    0: hi:   90, btch:  15 usd:  77
[   34.170000] CPU    1: hi:   90, btch:  15 usd:  86
[   34.180000] Active_anon:153 active_file:13 inactive_anon:192
[   34.180000]  inactive_file:0 unevictable:0 dirty:1 writeback:0 unstable:0
[   34.180000]  free:506 slab:56002 mapped:2 pagetables:32 bounce:0
[   34.200000] Normal free:2024kB min:2036kB low:2544kB high:3052kB active_anon:612kB inactive_anon:768kB active_file:52kB inactive_file:0kB unevictable:0kB present:260096kB pages_scanned:46 all_unreclaimable? no
[   34.220000] lowmem_reserve[]: 0 0
[   34.220000] Normal: 280*4kB 79*8kB 9*16kB 2*32kB 1*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 2024kB
[   34.230000] 52 total pagecache pages
[   34.230000] 0 pages in swap cache
[   34.240000] Swap cache stats: add 0, delete 0, find 0/0
[   34.240000] Free swap  = 0kB
[   34.240000] Total swap = 0kB
[   34.250000] 65536 pages of RAM
[   34.260000] 753 free pages
[   34.260000] 1792 reserved pages
[   34.260000] 56003 slab pages
[   34.270000] 174 pages shared
[   34.270000] 0 pages swap cached
[   34.270000] Out of memory: kill process 488 (mount) score 86 or a child
[   34.280000] Killed process 488 (mount)
[   48.160000] XFS: possible memory allocation deadlock in _xfs_buf_lookup_pages (mode:0x250)
[   52.000000] XFS: possible memory allocation deadlock in _xfs_buf_lookup_pages (mode:0x250)
[   54.080000] XFS: possible memory allocation deadlock in kmem_zone_alloc (mode:0x2d0)
[   54.160000] XFS: possible memory allocation deadlock in _xfs_buf_lookup_pages (mode:0x250)
[   58.060000] XFS: possible memory allocation deadlock in kmem_zone_alloc (mode:0x2d0)
[   58.140000] XFS: possible memory allocation deadlock in _xfs_buf_lookup_pages (mode:0x250)
[   62.080000] XFS: possible memory allocation deadlock in kmem_zone_alloc (mode:0x2d0)
[   62.160000] XFS: possible memory allocation deadlock in _xfs_buf_lookup_pages (mode:0x250)
[   66.090000] XFS: possible memory allocation deadlock in kmem_zone_alloc (mode:0x2d0)
[   66.170000] XFS: possible memory allocation deadlock in _xfs_buf_lookup_pages (mode:0x250)
[   70.070000] XFS: possible memory allocation deadlock in kmem_zone_alloc (mode:0x2d0)
[   70.150000] XFS: possible memory allocation deadlock in _xfs_buf_lookup_pages (mode:0x250)
The NAS is the 3TB version.

Any idea? Looks like an "out of memory" problem.

I'm thinking of changing from XFS to EXT4

Thanks!

ptelleria
Posts: 86
Joined: Wed Jan 29, 2014 6:03 pm

Re: OpenMediaVault on the Home Media CE

Post by ptelleria » Sun Dec 14, 2014 6:38 pm

Don't use XFS...I did in the past, but had tons of problems.
Use EXT4 instead, and see if it changes the result.

mspector
Posts: 34
Joined: Tue Dec 30, 2014 9:53 pm

upgrade OMV from 0.3.0.21 (Omnius)

Post by mspector » Fri Jan 02, 2015 7:17 am

Hello all,

I recently installed OpenMediaVault in my Iomega Home Media Cloud Edition, working good so far.

However, it seems some plugins (owncloud, minidla, transmission) are available/stable only for newer versions of OMV.

How do I upgrade it?

I've checked these instructions already:
a) http://www.openmediavault.org/?p=864 - basically, apt-get update and apt-get upgrade; didn't work;
b) Olderzeus instructions from viewtopic.php?f=269&t=13953; however there are HOWTO's for those who still have Iomega original firmware and those who got a blank disc --neither of these fits my scenario.

Tought about reverting to Iomega then following the (b) option, but it didn't work --I'm still with OMV.

Can someone please help me with that? I have some few linux knowledge.

Thanks a lot in advance!

ptelleria
Posts: 86
Joined: Wed Jan 29, 2014 6:03 pm

Re: OpenMediaVault on the Home Media CE

Post by ptelleria » Fri Jan 02, 2015 11:54 am

Go for option b) as omv 1.x requires debian wheezy, and i assume you are running squeeze.
Upgrading the kernel will erase all your data, so you need a backup.
In the b) thread there are afew posts, and i did write mine. Perhaps you can givea try and post there.
I am happily runnig OMV 1.7 with minidlna. Owncloud will be next, but it requires a bit of planning and time (and for the moment, i access with sftp and ssh, which is simple enough).

mspector
Posts: 34
Joined: Tue Dec 30, 2014 9:53 pm

Re: OpenMediaVault on the Home Media CE

Post by mspector » Fri Jan 02, 2015 5:30 pm

Hello ptelleria,

Thanks for the advice. However, I do not know how I can do that, unfortunately. Tried reverting to Iomega stock firmware to install OMV again, but I had no success --following the instructions below:
Wiki wrote:
Format the USB Stick as FAT (this will erase all data on it)
Open the Explorer, go to the drive of the USB stick and recreate this file/directory structure:
+--G:
+--emctools
| +--hmnhd_images
| +--imager_3.1.14.995.tgz
| +--reinstall
+--bootrom.txt
Recovery Boot

Power off HMNHDCE by pulling the power cord.
Put the prepared USB-Stick in.
Press and hold Reset-Button while plugging in power cord (refer to [picture], use a needle or similar tool).
Release the button when the activity LED of the USB-Stick starts to flicker.
Wait until HMNHDCE powers down on its own.
Pull the stick.
Pull the power cord and reattach it to reboot.
You should be able to reach the webinterface now.
Optional: Do a factory reset.
And still with OMV, the rollback to stock didn't work for some reason.

So, what do I do?

Thank you!
ptelleria wrote:Go for option b) as omv 1.x requires debian wheezy, and i assume you are running squeeze.
Upgrading the kernel will erase all your data, so you need a backup.
In the b) thread there are afew posts, and i did write mine. Perhaps you can givea try and post there.
I am happily runnig OMV 1.7 with minidlna. Owncloud will be next, but it requires a bit of planning and time (and for the moment, i access with sftp and ssh, which is simple enough).

seidler2547
Posts: 110
Joined: Fri Jul 13, 2012 8:12 am

Re: OpenMediaVault on the Home Media CE

Post by seidler2547 » Sat Jan 03, 2015 8:38 am

mspector wrote:Hello ptelleria,

Thanks for the advice. However, I do not know how I can do that, unfortunately. Tried reverting to Iomega stock firmware to install OMV again, but I had no success --following the instructions below:
Wiki wrote:
Format the USB Stick as FAT (this will erase all data on it)
Open the Explorer, go to the drive of the USB stick and recreate this file/directory structure:
+--G:
+--emctools
| +--hmnhd_images
| +--imager_3.1.14.995.tgz
| +--reinstall
+--bootrom.txt
Recovery Boot

Power off HMNHDCE by pulling the power cord.
Put the prepared USB-Stick in.
Press and hold Reset-Button while plugging in power cord (refer to [picture], use a needle or similar tool).
Release the button when the activity LED of the USB-Stick starts to flicker.
Wait until HMNHDCE powers down on its own.
Pull the stick.
Pull the power cord and reattach it to reboot.
You should be able to reach the webinterface now.
Optional: Do a factory reset.
And still with OMV, the rollback to stock didn't work for some reason.

So, what do I do?
Execute "bash /boot/restore_fw.sh" via SSH on the HMNHD before this procedure, as I wrote in the original OMV article.

Stefan

ptelleria
Posts: 86
Joined: Wed Jan 29, 2014 6:03 pm

Re: OpenMediaVault on the Home Media CE

Post by ptelleria » Sat Jan 03, 2015 7:12 pm

To restore firmware do as above.
But if you want to upgrade to 1.x you dont need to start from original stock, you can do from omv 0.3 (or 0.4, or 0.5 I did from this one). I see you're on 0.3, theres no problem, as everything will be overwritten

mspector
Posts: 34
Joined: Tue Dec 30, 2014 9:53 pm

Re: OpenMediaVault on the Home Media CE

Post by mspector » Sun Jan 04, 2015 6:17 am

Hello all,

Well, quite an adventure I'm having here.

Tried to restore stock firmware, and somehow I bricked the drive (white and red led lit all the time).

So, I disassembled it, fired up a Debian Live DVD on my PC and followed the steps described on Olderzeus' topic. I used the "empty HDD" HOWTO.

Apparently all went fine, got no errors when running the commands. But then, I re-inserted the drive in the HMCE box and now the two white leds are lit all the time and I have no SSH access (to be honest, no clue what IP it's gone to --its MAC address is set as static IP on my router). Not getting PING response.

seidler2547 wrote:
mspector wrote:Hello ptelleria,

Execute "bash /boot/restore_fw.sh" via SSH on the HMNHD before this procedure, as I wrote in the original OMV article.

Stefan
Any clues?

My goal is to have OMV 0.5 running with miniDLNA, Owncloud and Transmission, basically. Not that worried about having OMV 1.x (but if it's better, fine, I can go for it).

Once again, thanks for your patience and kindness.

BTW Stefan, I did what you told me to do (running the command) and it worked, apparently. But after it shut itself down, when I turned it on again I got the red and white leds.

Cheers!

ptelleria
Posts: 86
Joined: Wed Jan 29, 2014 6:03 pm

Re: OpenMediaVault on the Home Media CE

Post by ptelleria » Mon Jan 05, 2015 4:07 pm

You're going for OMV1, if you follow Olderzeus.

What you described is typical (it happened to me all the time until I sorted it out).
Dissasemble again, connect with serial.
Edit /etc/network/interfaces to put fixed IP:

Code: Select all

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
    address 192.168.0.2
    gateway 192.168.0.1
    netmask 255.255.255.0
    dns-nameservers your.name.server.1 your.name.server.2
    pre-down ethtool -s $IFACE wol g
just edit with your IPs and DNS. Then don't touch via OMV web.
then enter:

Code: Select all

/etc/init.d/networking restart
and check with ifconfig

if on reboot it "looses" the ipconfiguration, then add the line to /etc/rc.local:

Code: Select all

/etc/init.d/networking restart
my current /etc/network/interfaces with OMV1.7 (IPv6 dosn't work though):

Code: Select all

# The loopback network interface
auto lo
iface lo inet loopback
iface lo inet6 loopback

# eth0 network interface
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
    hwaddress ether aa:bb:cc:dd:ee:ff
    pre-down ethtool -s $IFACE wol g
iface eth0 inet6 manual
    pre-down ip -6 addr flush dev eth0
edit to put your MAC address

mspector
Posts: 34
Joined: Tue Dec 30, 2014 9:53 pm

Re: OpenMediaVault on the Home Media CE

Post by mspector » Mon Jan 05, 2015 4:29 pm

Hello ptelleria!

Kudos for helping me out. I do really appreciate it.

However, I do not have a serial connector for this device -- the one I have has a chip that apparently is not working with the HMNDCE.

Is there another way to do it?
ptelleria wrote:You're going for OMV1, if you follow Olderzeus.

What you described is typical (it happened to me all the time until I sorted it out).
Dissasemble again, connect with serial.
Edit /etc/network/interfaces to put fixed IP:
Once again, thanks a lot!

ptelleria
Posts: 86
Joined: Wed Jan 29, 2014 6:03 pm

Re: OpenMediaVault on the Home Media CE

Post by ptelleria » Mon Jan 05, 2015 4:34 pm

How did you accessed it when you dissasembled? Use the same method (the one i know is with a serial-USB uart conector and putty)

mspector
Posts: 34
Joined: Tue Dec 30, 2014 9:53 pm

Re: OpenMediaVault on the Home Media CE

Post by mspector » Mon Jan 05, 2015 4:36 pm

I plugged it on my desktop PC via SATA/USB adapter.


EDIT: I just figured out how to connect via serial, I'm in. Will follow your instructions and I'll give you a follow-up soon.

Thanks a lot!!
ptelleria wrote:How did you accessed it when you dissasembled? Use the same method (the one i know is with a serial-USB uart conector and putty)
Last edited by mspector on Mon Jan 05, 2015 4:46 pm, edited 1 time in total.

ptelleria
Posts: 86
Joined: Wed Jan 29, 2014 6:03 pm

Re: OpenMediaVault on the Home Media CE

Post by ptelleria » Mon Jan 05, 2015 4:42 pm

Use it, but you wont be able to test if it works until you put back to enclosure.
Id recommend strongly to get the converter so you can access the system (and not the hd). There is another thread about it and where to connect it exactly.

Post Reply