Clean OS (Debian), OpenMediaVault and other "firmwares"

all installed properly ( I guess ).

Just a couple of silly questions before I start bothering the people on the OMV forum =)

In the web interface if I change the hostname the WebGUI is still accessible at the same address ( http://mycloud.local/),,) is that normal?

Something less silly, here the filesystems I found:

/dev/md0 ext3 1.88GB / 983.71MB used, I guess this is the OS (OMV)

/dev/md1 ext3 unomounted, and if mounted same size 1.88GB / 1.03GB used (is this my wrong previous attempt at installing OMV without a clean debian first?)

/dev/sda4 ext4 the remaining of the 4TB disk wich I mounted and I presume it’s where my shares will be

Please should I delete /dev/md1 and reallocate that space to /dev/sda4 ?

Many thanks!

Run this:

mdadm --stop /dev/md1
mdadm /dev/md1 --remove /dev/sda2
mdadm --wait /dev/md1
mdadm --zero-superblock --force --verbose /dev/sda2
mdadm /dev/md0 --add /dev/sda2

Its revert mdraid to normal state (Need for easy change/revert firmware by my Autoinstall script)

About mycloud.local - just edit /etc/hosts and change to what you want (Or just delete “mycloud” and “local”)

Hello, I have WD My Cloud with broken hard drive, I can use this method to install a new one ? I need to use only WD hard drive or I can to use another brand  ?

You can use any of HDD (Sata 2/3 supported).

Device sucessfully start in my Samsung 2.5" HDD (120GB).

ok, thanks i try and post results…i have 2 options? Clean Debian or OMV, or i need to install both ?

Clean Debian = Debian Wheezy for ARMHF + Some fixes for work on WDMC.

OMV = Clean Debian + Preinstalled OpenMediaVault v1.0.23. Nothing more.

***

Added kerne v3.2.40 to Google Drive (Minimal config. But run stable)

Now - i start add Synology tweaks and updates. (First step of porting DSM5 to WDMC)

I cannot run ISCSI module in omv. Any suggestions?

Failed to execute command ‘export LANG=C; update-rc.d ‘iscsitarget’ disable 2>&1’: update-rc.d: using dependency based boot sequencing insserv: warning: current start runlevel(s) (empty) of script iscsitarget' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script iscsitarget’ overrides LSB defaults (0 1 6). insserv: warning: script ‘iscsi-target’ missing LSB tags and overrides insserv: There is a loop between service minidlna and iscsi-target if stopped insserv: loop involving service iscsi-target at depth 2 insserv: loop involving service minidlna at depth 1 insserv: Stopping iscsi-target depends on minidlna and therefore on system facility `$all’ which can not be true! insserv: exiting now without changing boot order! update-rc.d: error: insserv rejected the script header

First of all, thank you for your time

I tried to install the Clean Debian and OMV, everything was fine until the last reboot. I lost SSH access and username / password doesn’t work :frowning:

Without passwords or access to my cloud, I think I can’t return to original Operative system.

I suppose I need open my cloud and try to repare with a liveCD. Any sugestion?

Thanks you

But SSH still work?

Default user/pass is root/mycloud or admin/mycloud.

Default OMV webpage user/pass is: admin/openmediavault (Try this in SSH)

Fox_exe wrote:

But SSH still work?

Default user/pass is root/mycloud or admin/mycloud.

Default OMV webpage user/pass is: admin/openmediavault (Try this in SSH)

Hi Fox-exe

Finally it works!

After login error, I wait a few minutes and user/passwd do his job with error failure  included :confused:

Now, I can access to OMV. Using OMV I can activate SSH and I have the power again :smiley:

Thanks :slight_smile:

Hey, Fox_exe,

thnx for the great work.

Now, My cloud is usable as a normal NAS without need to tell any server my mail-address.

Please, let us know everything new about synocloud!

very interesting thing!

I hope I’ll read more about synocloud, soon :slight_smile:

HI guys, new to the NAS. I ot a 4tb my cloud (white one), I want to swap the HDD for a 1tb ater hearing the recovery process if it fails to be problematic because of the file system. After searching for alternative OS I sae  OpenMediaVault .

to make the post shrt here are my questions.

my setup, win8.1 desktop and a MacBookPro.

  • I want to be able to recover the data if it fails with ease… I can have access to linux installing it on an small hdd on my Win Desktop.

  • is it possible to connect the hdd to win 8 to backup files directly without using the NAS unit? I readthat with WD OS is not possible, is it with  OpenMediaVault?

  • is the NAS always spinning the hdd even if it is not copying files?

  • is it worth it to swap the hdd? I was thinking on keeping non important files on a 1tb inside the NAS after using the guide for swapping disc. I’m pretty sensitive about the hdd corrupting data while transfering or copying and losing data. (happened once with an external usb2.0)

  • any other recommendations, mods, hacks?

thanks in advance. 

All data stored at 4rd partition (Ext4 filesystem). On windows - you can use this:

http://wincmd.ru/plugring/diskinternals_reader.html

http://www.ext2fsd.com

Or any of linux dists.

Replace HDD is possible and not so hard.

Howto:  https://drive.google.com/file/d/0B_6OlQ_H0PxVejVic2ZubXBfbHM/view?usp=sharing

For now - i using Clean debian. Runs perfect (Except samba’s speed - only 40-60MB/s. But its enaught for me)

Installed Transmission (from sid), Minidlna, Apache2/mysql/php5 for webhosting and my test projects, rSync, few chroot’s (For build packages and test some stuff)

Hello…  im totally newbie and just buy’ed a 4tb cloud drive…

Find this and now i have installed clean debian with omw 1.023 on it…

  1. how can i totally delete the drive and re-install clean debian with omw…?

  2. how to change folders in sabnzb plugin in omw, i want to use my shares folder, but i can only use folder where the software are installed on…?

Many thx for a **bleep** nice and great piece of software to mycloud…  :smiley:

Regard’s DKBjorn - Denmark

hi i follow this steps https://drive.google.com/file/d/0B_6OlQ_H0PxVejVic2ZubXBfbHM/view?usp=sharing, all its ok, but wen i put HD on mycloud i wait more than 15min, and nothing, front led turn withe and pass few time turn off and turn on again, leds from ethernet port; status led always off, activity led blinking all time

Wrong md number (Must be md0, but sometime it saves as md127)

Follow steps 8-2 and 8-3 and reupload config.img

yes i use md0, i do it that

ls /dev | grep md  show me md0

mdadm --stop /dev/md0

and step 12 on line

dd if=rootfs.img of=/dev/md0

wen finish showme something about space, i dont remember exactly, today i try again and post, but only 1.8g and i see rootfs.img its 1.9g

i use for testing HD Maxtor 80Gb

Hello everybody.

Today I want to install “clean debian and OMV” as Fox_exe proposed.

I followed the instructions: two hour ago I downloaded files, I uncompressed  them and I uploaded on wd via FTP.

I connected as root via SSH, I entered in the folder and I changed attribution on install.sh but when I run “./install.sh” I read this:

WDMyCloud3t:/DataVolume/shares/Public/clean-debian_OMV# ./install.sh 
sh: ./install.sh: /bin/bash^M: bad interpreter: No such file or directory

Files in folder:

-rwxrwxrwx+ 1 root root 1048576 Jan 17 16:00 config_md0.img
-rwxrwxrwx+ 1 root root 1048576 Jan 17 16:00 config_md1.img
-rwxrwxrwx+ 1 root root 4507 Jan 17 16:36 install.sh
-rwxrwxrwx+ 1 root root 3941888 Jan 17 16:00 kernel.img
-rwxrwxrwx+ 1 root root 2047803392 Jan 17 16:01 rootfs.img
-rwxrwxrwx+ 1 root root 1404 Jan 17 16:00 run_me_after_reboot.sh

What’s happen in my WD? Am I in fault?

Thanks, Mario

i restart from step 1 and now all finish ok, but i connect hd to mc and nothing,reconect hd to pc and i see after reboot lose /dev/md0…this part of log from UART

[9.568987] async_waiting @ 1
[9.571975] async_continuing @ 1 after 0 usec
[9.576408] md: Waiting for all devices to be available before autodetect
[9.583234] md: If you don't use raid, use raid=noautodetect
[9.588936] async_waiting @ 1
[9.591921] async_continuing @ 1 after 0 usec
[9.597324] md: Autodetecting RAID arrays.
[9.601451] md: Scanned 0 and added 0 devices.
[9.605942] md: autorun ...
[9.608751] md: ... autorun DONE.
[9.612324] EXT3-fs (md0): error: unable to read superblock
[9.724190] List of all partitions:
[9.727713] 0800 80042207 sda driver: sd
[9.732369] No filesystem could mount root, tried: ext3
[9.737763] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(9,0)
[9.746129] [<c4015fc8>] (unwind_backtrace+0x0/0xf8) from [<c44f86bc>] (panic+0x5c/0x190)
[9.754387] [<c44f86bc>] (panic+0x5c/0x190) from [<c46f4c4c>] (mount_block_root+0x238/0x288)
[9.762881] [<c46f4c4c>] (mount_block_root+0x238/0x288) from [<c46f4e24>] (prepare_namespace+0x124/0x178)
[9.772524] [<c46f4e24>] (prepare_namespace+0x124/0x178) from [<c46f48d4>] (kernel_init+0x16c/0x1a4)
[9.781744] [<c46f48d4>] (kernel_init+0x16c/0x1a4) from [<c400faac>] (kernel_thread_exit+0x0/0x8)
[9.790684] CPU0: stopping
[9.793425] [<c4015fc8>] (unwind_backtrace+0x0/0xf8) from [<c4014764>] (handle_IPI+0xf0/0x15c)
[9.802097] [<c4014764>] (handle_IPI+0xf0/0x15c) from [<c400e538>] (__irq_svc+0x38/0x90)
[9.810243] [<c400e538>] (__irq_svc+0x38/0x90) from [<c400fb0c>] (default_idle+0x24/0x28)
[9.818472] [<c400fb0c>] (default_idle+0x24/0x28) from [<c400fcc4>] (cpu_idle+0x84/0xcc)
[9.826616] [<c400fcc4>] (cpu_idle+0x84/0xcc) from [<c46f471c>] (start_kernel+0x284/0x2d0)
[9.834930] [<c46f471c>] (start_kernel+0x284/0x2d0) from [<04008040>] (0x4008040)
[9.842459] Rebooting in 3 seconds.

capture from screen showing alls its ok

@mariogolf

You saved the install with windows line endings.

Change to unix with

   dos2unix install.sh

If dos2unix is not available google for “bash windows to unix line endings”