Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Linux experts: two B2

Got problems with your B2 or B3? Share and get helped!
Post Reply
pcrene
Posts: 305
Joined: 17 May 2008, 15:49

Linux experts: two B2

Post by pcrene »

Hello Linux experts

I have 2 B2. How can i mount /home on the second B2?
mount //server1/home tt does mention it does not support the format.

Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Linux experts: two B2

Post by RandomUsername »

Need more info. How are you sharing? NFS or Samba?

There are already a couple of threads on here with instructions on how to share both types.
pcrene
Posts: 305
Joined: 17 May 2008, 15:49

Re: Linux experts: two B2

Post by pcrene »

Hello great unknown...


I have two Bubba2, both share the same i think using Samba...
The storage folder is easy to copy from one system to the other,

The problem lies within the emails of the users.......
this is hell to copy them using an email program like outlook.

if there is an "easy" way....would be great.

The servers names are Server7 and Server8

Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Linux experts: two B2

Post by RandomUsername »

I can't tell if you want one Bubba to be a mirror of the other for backup purposes (you mention copying a folder) or something else.

From your original post I thought you had the same users on each Bubba and you wanted one home directory for each users e.g. if they logged into Bubba A they access the local home directory, and if they log onto Bubba B it remotely mounts the home directory on Bubba A.
pcrene
Posts: 305
Joined: 17 May 2008, 15:49

Re: Linux experts: two B2

Post by pcrene »

Hello

I want to use the Server7for experimentalusage..
Server8 is now on Raid 1, so i am migrating from one to another...
copying of userdata is no problem, but emails cannot be tranfered using FTP.

thats when i though: if i mount the Server7/home on the Server8 i could
copy the emails.
Last time i did it by using outlook with accounts on both servers and copying the emails
and folders by hand....

Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Linux experts: two B2

Post by RandomUsername »

I see.

From memory, this is what you'll need to do:

First things first, on the server7 (the one you want to share), make sure nfs-common and nfs-kernel-server are installed.

Code: Select all

su
apt-get install nfs-common nfs-kernel-server
you will need to put the /home directory in /etc/exports.

Code: Select all

nano /etc/exports
enter something like

Code: Select all

/home //server8(rw,async,no_root_squash)
CTRL-O to save and then CTRL-X to quit.

Then run:

Code: Select all

exportfs -a
On server8, install nfs-common and then you should then be able to use a simple mount command, e.g.

Code: Select all

mount -t nfs -o rw,nolock,rsize=4096,wsize=4096 //server7/home /mnt/server7
make sure the folder /mnt/server7 is created first:

Code: Select all

mkdir /mnt/server7
I assume this is just a one off but if you want it mounted permanently you'll need to add an entry in /etc/fstab.
Last edited by RandomUsername on 29 Oct 2009, 15:33, edited 1 time in total.
pcrene
Posts: 305
Joined: 17 May 2008, 15:49

Re: Linux experts: two B2

Post by pcrene »

thanks ..

ill try this this eve...as i knowa littlebit of linux (and read the man pages) i will manage..

Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Linux experts: two B2

Post by RandomUsername »

Just shout if you have any questions.
pcrene
Posts: 305
Joined: 17 May 2008, 15:49

Re: Linux experts: two B2

Post by pcrene »

shout :lol: shout... i am :D

al worked out well...

youre the best...

Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
Post Reply