View Full Version : How to mount hdd from dream to dream
Hi
I got a lot of problems
I need to mount harddisk from dreambox to dreambox
I got a 7025 with hdd gemini or LT image
and a 800 with gemini or LT
any one that can help?
the 7025 running gemini I cant start NFS server in LT I cant download NFS server.
The 800 running gemini I cant delete when do the automount config.
SuperCOCO
26-10-2009, 09:08
Dear trs,
I'll try to help you, but due to HighDefinition channels bandwidth, should be better to have the HDD installed on DM800. I know they are not compatible because 7025 is IDE and 800 is SATA.
Later on, I'll check what you're saying about NFS server on LT and Gemini on 7025 box because I have one.
Keep you informed.
Regards,
:SC:
Just to make it wild I also got a 800 more with hdd
SuperCOCO
27-10-2009, 01:24
Hi trs,
first of all, a brief explanation of files involved on NFS.
On server level, /etc/exports
it contains the folder or folders taht you want to share.
a basic file that should work on an NFS server could contain just the following line (take care with your network configuration):
/media/hdd 192.168.1.1/24(rw,async,no_root_squash)
On client level, /etc/fstab
it contains all the desired mounted devices, take care because they are /root; /proc... etc, an error modifying this file can make it unusable on next reboot.
a basic file that should work with the server created on the above lines should contain at the end the following line (it's only one line)
192.168.1.10:/media/hdd /media/hdd nfs hard,async,rw,tcp,rsize=16384,wsize=16384,nolock 0 0
where:
192.168.1.10 is the ip address of the server
:/media/hdd is the shared resource on the server
/media/hdd is the mountpoint on client side, if you use /media/hdd, you don't need to modify many parameters about location of records, etc...
nfs is the type of filesystem
hard,async,rw,tcp,rsize=16384,wsize=16384,nolock are connection parameters where rw and async are mandatory because was declared on exports
I was checking NFS Server on 7025 and perhaps the reason that blocks the execution of the screen under LT image is a bad created configuration file (exports). If you uses FTP and/or telnet/ssh to connect to box, try to edit it and leave just the following content:
#Do not change this file!!!
Later on, just try to go to LT Menu and your NFS screen should appear as the atttached image.
Let me know how you're progressing with.
Regards,
:SC:
Hi
Thanks this is just what I need I think.
I will test when I get back home in the weekend.
What LT image are you using. I am using LT5 SP8.
I got Gemeni on 7025 for test i got nfs running.
This is what there is in export
/media/hdd/movie *(rw,no_root_squash,sync,no_subtree_check)
I follow what you say on client site and I am going to do that on the boxes with out hdd installed.
But I also need to mount on boxes that allready got hdd installed.
do i have to make a directory for that mount would yu normaly do that under /media/7025 for the share from the 7025.
ok Thanks for all your info.
I will test it in the weekend and let you know.
SuperCOCO
27-10-2009, 23:03
Hi trs,
I currently have LT 4th on 7025 working really fine and 5th R8 ready to test... when have time and nobody watching TV...
Well, and returning to NFS issues, for your 7025 exports file, I really suggest to change "sync" to "async" (in sync mode, transfer speed is really poor). Also, test modifying the * and use network addresses, I had lot of problems when using *.
For machines with hdd already mounted on /media/hdd, you can do exactly what you said, create a new folder like /media/7025 and mount there.
And don't forget to test different values of rsize and wsize on fstab or mount sentences, in my case I obtained really good results with 16384.
Regards,
:SC:
This is my fstab from the 800 with out Hdd
rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbdevfs /proc/bus/usb usbfs defaults 0 0
/dev/mtdblock/2 /boot jffs2 ro 0 0
tmpfs /var tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
10.0.0.58:/media/hdd /media/hdd nfs hard,async,rw,tcp,rsize=16384,wsize=16384,nolock 0 0
This is the 7025 server
/media/hdd/movie 10.0.0.54(rw,no_root_squash,async,no_subtree_check )
But It is not mounting.
I think it is still mounted to the flash.
I tryed the mount 10.0.0.58:/media/hdd /media/hdd nfs hard,async,rw,tcp,rsize=16384,wsize=16384,nolock 0 0
in the promt and got:
mount: RPC: Unable to receive; errno = Connection refused
mount: nfsmount failed: Bad file descriptor
mount: Mounting 10.0.0.58:/media/hdd on /media/hdd failed: Invalid argument
so it look like the problem now is in the server end.
If I do ps in the 7025 I get:
2497 root SW [nfsd]
2498 root SW [nfsd]
2499 root SW [nfsd]
2500 root SW [nfsd]
2501 root SW [nfsd]
2502 root SW [nfsd]
2503 root SW [nfsd]
2504 root SW [nfsd]
2505 root SW [nfsd]
2506 root SW [nfsd]
2507 root SW [nfsd]
2508 root SW [nfsd]
2509 root SW [nfsd]
2510 root SW [nfsd]
2511 root SW [nfsd]
2512 root SW [nfsd]
among other thing but does this mean that nfs server is running?
SuperCOCO
01-11-2009, 14:13
Dear trs,
analyzing your files, I think that -like you said- problem is on server side
This is your line:
/media/hdd/movie 10.0.0.54(rw,no_root_squash,async,no_subtree_check )
I think it should be:
/media/hdd/movie 10.0.0.54/32(rw,no_root_squash,async,no_subtree_check)
So, it means that mask was not present and there an extra space before the closing bracket.
To recharge the NFS shares, you must invoke this instruction:
exportfs -a
Good luck and hope that you finally get it, you're realy close.
Regards,
:SC:
Hello
I reinstalled LT5SP8 on the 7025 "server". And now it is posible to download and install NFS server.
It generates this:
/media/hdd 10.0.0.0/255.255.0.0(rw,sync)
on the client site I tryed in command
mount /media/hdd 10.0.0.0/255.255.0.0(rw,sync)
It took some time before promt returned.
If I do mont in the promt I get
/dev/mtdblock3 on / type jffs2 (rw,noatime)
none on /dev type devfs (rw)
proc on /proc type proc (rw,nodiratime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
usbdevfs on /proc/bus/usb type usbfs (rw)
/dev/mtdblock/2 on /boot type jffs2 (ro,noatime)
tmpfs on /var type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
automount(pid1427) on /media/net type autofs (rw)
10.0.0.58:/media/hdd on /media/hda1 type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr= 10.0.0.58)
To me it looks like it is mount to /media/hdd
AND NOW I CAN SEE MY Movies Mountet from remote server!
Yes
Yes
Yes
SuperCOCO
03-11-2009, 21:37
Dear trs,
first of all congratulations.
Second, probably the mount take a while because you didn't specify the server with its ip address:
You typed:
mount /media/hdd 10.0.0.0/255.255.0.0(rw,sync)
You should type:
mount /media/hdd 10.0.0.58(rw,sync)
But remeber my previous posts, try with different options inside the brackets.
Regards,
:SC:
Hello
this was a typo
mount /media/hdd 10.0.0.0/255.255.0.0(rw,sync)
It should be
10.0.0.58:/media/hdd /media/hdd nfs hard,async,rw,tcp,rsize=16384,wsize=16384,nolock 0 0
that is what I got in fstab
this is from exports
/media/hdd 10.0.0.0/255.255.0.0(rw,sync)
should i change that for
/media/hdd 10.0.0.0/255.255.0.0(rw,async)
Is there any other changes you would recoment.
:thany:
My setup is DM7025 with Hdd and installed NFS server. Image is LT5 SP8
And client is DM800 Gemini 4.2
I dont realy think the image matters, as long NFS server is running on the server box.
On server there is one file you ned to modify.
It can be found /etc exports
I got this line in mine:
/media/hdd 10.0.0.0/255.255.0.0(rw,async,no_root_squash)
I means that I am sharring out the hole hdd to all on the 10.0.0.0 network with read/write permission.
Special thanks to SuperCOCO
Best Regards TRS
On Client site you need to modify /etc fstab
I just add this line in the end of the file:
10.0.0.58:/media/hdd /media/hdd nfs hard,async,rw,tcp,rsize=16384,wsize=16384,nolock 0 0
This will mount servers hdd as "local" disk in client box.
10.0.0.58 is the IP of my NFS server.
This together with Partnerbox plugin make a realy strong system.
My setup is DM7025 with Hdd and installed NFS server. Image is LT5 SP8
And client is DM800 Gemini 4.2
I dont realy think the image matters, as long NFS server is running on the server box.
On server there is one file you ned to modify.
It can be found /etc exports
I got this line in mine:
/media/hdd 10.0.0.0/255.255.0.0(rw,async,no_root_squash)
I means that I am sharring out the hole hdd to all on the 10.0.0.0 network with read/write permission.
On Client site you need to modify /etc fstab
I just add this line in the end of the file:
10.0.0.58:/media/hdd /media/hdd nfs hard,async,rw,tcp,rsize=16384,wsize=16384,nolock 0 0
This will mount servers hdd as "local" disk in client box.
10.0.0.58 is the IP of my NFS server.
This together with Partnerbox plugin make a realy strong system.
Special Thanks to
SuperCOCO
Best Regards
TRS
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.