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

All information deleted.

Just because a whole world hates me… Just because i’m Russian…

58 Likes

Additions : Replace Samba 3 to Samba 4:

In simple:

Download compiled bin’s: https://drive.google.com/file/d/0B_6OlQ_H0PxVVmNFWXVHYTZ3XzQ/edit?usp=sharing

apt-get install samba
service samba stop
tar xvfz samba4_binary.tar.gz -C /usr/sbin/
service samba start

In /etc/samba/smb.conf edit/replace:

security = user
lanman auth = no
main protocol = NT1
encrypt passwords = truesocket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVEwrite cache size = 2097152
use sendfile = true
getwd cache = ye

Result:

Download speed: 60-70 MB/s*

Upload speed: 30-40 MB/s*

* @ 1 GB/s network via Samba (CIFS, Windows shares)

7 Likes

Aleluia!

Yes, you can upgrade to Jessie or “Sid” - All works fine.

And you can use “Clean debian” - Its run faster. (And install under that - WebMin or Newer version of OMV (1.0.8))

All instructions included in first message. (And more in Google Drive folder)

Now let’s wait for somebody to make an english tutorial so we can install it to our buggy wd cloud :smiley:

Thanks for the info!

An english tutorial would be highly appreciated!

Thanks for your effort.

Pardon my Linux ignorance, but what is it that you are doing? I am curious. Are you replacing the OS provided by WD? Does it modify the disk layout? Are you adding packages and functionality?

Pardon my Linux ignorance, but what is it that you are doing? I am curious. Are you replacing the OS provided by WD? Does it modify the disk layout? Are you adding packages and functionality?

  • Yes. Its really “Clean Debian Wheezy 7.6” with some important stuff (Ramlog, mdadm and some tweaks for work)
  • If you want - You can modify layout on you HDD what you want (But /dev/sda7 - Is important. He stored boot config). My “FW” dont modyfy anything. (Used original layout - yeasy for install or rewert)
  • OMV = OpenMediaVault - Its free NAS OS, include CIFS/Samba shares, FTP, SMART monitoring, E-Mail notifications, Sync (Backup) services and more stuff in addition repository from commynity - Transmission, Web server (NGinx, PHP5, MySQL5), BTSync, OwnCloud!, ISCSI Target, MiniDLNA and lots of other stuff!

But omv still have some small bugs. (Not important - All original stuff works aswell).

Sorry for bad english - Im not use Google translate :smiley:

Some questions.

Do you lose the data in DataVolume?

Can i install it using ssh or i have to dissasemble de HD and plug in on PC with linux.

Sorry for my bad english.

Thanks!!!

  • Data not loose. Just dont touch /dev/sda4 (Only remount it in new system)
  • For now - Installation only with dissasemble device. (You can use Ubuntu or Debian LiveCD at regulat desctop)
1 Like

Great work! I’m might try them one of these ‘free’ days…

So can you advise us how to install it from Linux please ? 

I am eager to try it 

Thanks

openmediavalue is very functional solution.
I installed it on my WD.
Unfortunately, the samba transfer performance is pathetic.
Fixed error HTTP Error 504 Gateway timeout when you try to log on
(cookies cleared)

Do you know someone solve the above problems?

How do I change the language clean install of Debian with ru> en?

Read first post!

About 503 error - IUse this solution: http://phpbb.openmediavault.org/viewtopic.php?f=13&t=5048

* First open of web gui - is 3 min. (But then - works fast)

1 Like

You need to change/update the sources list from russian to english.

#!! Create /etc/apt/sources.list
deb http://ftp.ru.debian.org/debian wheezy main contrib non-free
deb http://ftp.ru.debian.org/debian wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free

#updated sources list  /etc/apt/sources.list 
deb http://ftp.us.debian.org/debian stable main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free

deb http://security.debian.org/ wheezy/updates main contrib non-free

cd /etc/apt/sources.list
nano sources.list

change first two lines that contain ftp.ru.debian…

Save and close out.

apt-get update

 Change you local language. You must be root for this to work.

 I found it here: https://wiki.debian.org/ChangeLanguage

env | grep LANG

export LANG=en_US.UTF-8

dpkg-reconfigure locales

A window will ask you to select the languages you want to have available. Choose your own.

Changes may not show immediately, a reboot will be needed.

Let us know how it goes.

1 Like

hi there

I’m trying to install the image from a livecd of ubuntu.

I follow all the steps but I can not install fake-hdclock (there).

After installing mdadm I do not see any md127 or md0 device.

I have the hard drive connected via USB and I can see all the partitions sdx-sdx8

Any idea?

Thank you !!

Search md’s:

ls /dev/ | grep md

Or just start manually:

mdadm -A /dev/md0 /dev/sdb1 /dev/sdb2

Where sdb = you WD HDD.

I had to use a gparted livecd because k / ubuntu did not recognize my usb.

It seems that the partition sdb4 has gone. Some proble in partition table. gparted see the device sdb4 but i can`t mount it.

When starting WDMyCloud, the LED flashes white and appears to be doing a check disk.

Any recommendation?


EDIT

I got to repair the partitions and install an image of wdmycloud.

The disk boot with the blue LED in seconds. Then install debian image and now the LED blinks all the time in white.

Is this normal?

This is great work.

How fast OpenMediaVault works on MyCloud?

Is it slower than official firmware?

* OMV and CleanDebian have green LED (For difference). Blinking white - not good (Cant boot). Check manual. (recreate raid as /dev/md0 - is important!)

* OMV runs very fast, but have 2 bugs:

  1. Samba v3 - so slow… Need some tuning and upgrade to v4 (Samba v3=30MBps)
  2. First open of WEB gui takes 3 min. (OMV trying to load somthing at start, but can’t. 3min - cooldown.)

All other stuff - works as well.

~ 1 mounth - Run stable. (OMV v1.0.8, update to 1.0.13 - no problems.)

1 Like