Openmediavault + Mybook Live

Start of Openmediavault + Mybook Live (1TB – Black)


Openmediavault (OMV) is a Debian based headless operating system (more info) while Mybook Live (review)is a network attached storage device. I have been using both for a while now and I did ran into few problems with Mybook Live but it was all because of me (experimenting lot of things in it). The interesting fact about Mybook Live is it runs a strip down version of Debian lenny and I thought I would play around with it and tried to upgrade it to Debian squeeze but I fall really badly so had to restore everything manually (had to open it physically – that voids manufacture warranty ).

Anyway long story short don’t play around with Mybook Live Debian cause its a customised Debian and things might not work as it suppose to. But if you have too, 😀 then you can go to They have lot of tricks / hacks there.

Back to topic, When you first attach Mybook Live to network it will assign itself as the first IP address that you have in your Ip range.

For example,

My router runs in and my IP range is – 200, so Mybook Live will automatically assign itself to no matter if that ip is assign to any other device. It might not be suitable in some case. Eg, if your printer use that IP then they will be constant war between printer & MyBook Live for that IP. 

The work around for this is to assign Static IP for Mybook Live later in its settings. The good things about Mybook Live is it has its own web management system where you can change it easily.

Image 1.1 – MyBook Live

When you first type IP for Mybook Live, it will give you this web interface (see image 1.1). Its very simple and easy to use interface.

Settings >>Network>>Static >> Assign Ip
MybookLive - Static Ip
Image 1.2 – MyBook Live – Static IP Settings

Now next step that we need to do is create a user and share folder. By default Mybook has an admin as user and Public as a share folder with can be access by anyone in network (Mac/Windows/Linux).

We can add users and give a password in user section and create share folder in share section. For this demonstration I be using “admin” as user with an assign password and create a share folder call “mybook”

MybookLive - Share Folder
Image 1.3 – MyBook Live – New Share Folder

Next thing we need to do is setup this share folder to automatically mount in OMV. 

First ssh into OMV and install cifs-utils, we will be using this to mount share folder.

apt-get install cifs-utils

Then create a mount point. In my case I will create a folder called mybooklive in /media folder

mkdir /media/mybooklive

Now before we mount share drive we will create a folder where we can safely keep password file.

mkdir /etc/smbpw
chmod 700 /etc/smbpw

Then create a file called cifspw and enter user name and password of share folder

nano /etc/smbpw/cifspw
chmod 600 /etc/smbpw/cifspw

Now we need to add this share folder to /etc/fstab where system will automatically load drives and share folder when it reboots

nano /etc/fstab

Then add this line at the button, Don’t forget to change your Mybook Live IP

// cifs exec,credentials=/etc/smbpw/cifspw 0 2
mount -a

Now it should mount mybook share folder in /media/mybooklive 🙂

info UPDATE [Quick & Dirty]: if you are using *nix OS, its better to use NFS than smb. I find NFS lot faster than Samba as NFS is native  to *nix OS than Samba.

-[Server Configuration (mybooklive)]-

ssh root@
echo “/DataVolume/shares/mybook *(rw,no_root_squash,sync,no_subtree_check,insecure)” >>/etc/exports
chown nobody:nogroup /DataVolume/shares/mybook
/etc/init.d/nfs-kernel-server restart

-[ Client (OMV) ]-

echo “ /media/mybooklive nfs rw,sync,hard,intr 0 0” >> /etc/fstab
nano /etc/rc.local

Now add mount -a before exit 0 and save

mount -a

Reboot system or run mount -a in terminal

End of Openmediavault + Mybook Live

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s