Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Feb 19, 2018 12:35 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Tue Mar 04, 2014 12:19 pm 
Offline
Newbie

Joined: Tue Mar 04, 2014 12:14 pm
Posts: 5
Today I've buy new buffalo NAS LS-QVL. I need to install NFS for mounting to ESXi host, I follow the guide in wiki but can't start the NFS

The status here:
root@LS-QVLB0E:/# /etc/init.d/nfs.sh status
portmap is running.
mountd is NOT running.

I also install portmap unfs3.
/etc/exports file: /mnt/array1/share/nfs 10.0.0.0/255.0.0.0(rw,sync,no_root_squash,no_subtree_check)
/etc/hosts.allow: rtmap:10.0.0.0/255.0.0.0
lockd:10.0.0.0/255.0.0.0
mountd:10.0.0.0/255.0.0.0
rquoted:10.0.0.0/255.0.0.0
statd:10.0.0.0/255.0.0.0

I've tried many times but all not success :(


Top
   
PostPosted: Tue Mar 04, 2014 2:05 pm 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
Wild guess (because you did not provide the firmware version
you are using):
Your firmware version is >= 1.6x.
There is no kernel NFS in those versions anymore.
For unknown reasons, Buffalo stripped the kernel NFS module.
Use Optware and UNFS3 for userland NFS or compile your own
kernel.

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Wed Mar 05, 2014 5:48 am 
Offline
Newbie

Joined: Tue Mar 04, 2014 12:14 pm
Posts: 5
Hi kenatonline. Sorry, It's my mistake. I'm using newest firmware 1.65.
Did you know which is lastest firmware of buffalo that still support NFS-kernel ?. I tried to find link to download but not success :(


Top
   
PostPosted: Wed Mar 05, 2014 9:26 am 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
I think, the latest firmwares containing kernel NFS, were
the ones with kernel 2.6.x.
Everything with kernel 3.x.x has no kernel NFS.
I don't know, if all of 1.5x was still 2.6.x, but everything
1.6x has kernel 3.3.x and therefore no kernel NFS.
Probably I still do have some firmware files of 1.5x in my
backups. So if you can't find the files on Buffalos server
in the USA (the Buffalo sites in Europe and Asia do not
provide older firmware files), come back and I will try to
find them in my backups.

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Wed Mar 05, 2014 10:23 am 
Offline
Newbie

Joined: Tue Mar 04, 2014 12:14 pm
Posts: 5
Hi Kenatonline
I tried to find it in website but they put 1.65 only :( .
I tried to use mod firmware 1.60 but no success also. Can you please help me to check that the firmware 1.5x still on your backup or not.
Thanks so much


Top
   
PostPosted: Thu Mar 06, 2014 5:48 pm 
Offline
Moderator

Joined: Fri Jun 29, 2007 10:39 am
Posts: 2604
I found some 1.5x firmwares.
I can offer 1.58 as the latest from the 1.5x series.

_________________
Please do not use private mail (PN/M) to ask questions. Use the proper forum instead. (me)

If there is no verified backup of a dataset, the dataset, by definition, is unimportant. (c't 2012)

RAID (no matter which level) never ever substitutes a backup. (me)


Top
   
PostPosted: Thu Mar 06, 2014 6:45 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2712
1.54 Mod1
http://www.nas-hilfe.de/downloadbereich/category/10-firmware


Top
   
PostPosted: Fri Mar 07, 2014 4:19 am 
Offline
Newbie

Joined: Tue Mar 04, 2014 12:14 pm
Posts: 5
kenatonline wrote:
I found some 1.5x firmwares.
I can offer 1.58 as the latest from the 1.5x series.

Hi kentaonline any firmware is ok with me, just need it have NFS kernel :D


Top
   
PostPosted: Fri Mar 07, 2014 4:19 am 
Offline
Newbie

Joined: Tue Mar 04, 2014 12:14 pm
Posts: 5
oxygen8 wrote:

Thank oxygen8 I'll try this also


Top
   
PostPosted: Thu May 21, 2015 12:00 pm 
Offline
Total Newbie

Joined: Thu May 21, 2015 11:55 am
Posts: 3
So i have an LS-QVL running firmware 1.70 which lacks the kernel nfs module, so i built my own (just the nfs modules, not the whole kernel) using the kernel source and configs from http://opensource.buffalo.jp

I uploaded the modules incase anyone is interested to http://www.firenzee.com/buffalo-nfs.tar.gz

I dropped these modules into /lib/modules/3.3.4-88f6281/kernel/fs/nfs and ran depmod -a, after that the module would successfully load.

To actually get it working i installed nfs-utils from optware, and had to add a couple of lines to the init script /opt/etc/init.d/S56nfs-utils to make it work on boot:

Code:
#!/bin/sh
modprobe nfsd
mount -t nfsd nfsd /proc/fs/nfsd


A somewhat crude hack i know, but now have kernel nfs working with the newer 3.x kernel based firmware.


Top
   
PostPosted: Thu May 21, 2015 9:18 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2712
Very nice!

Can you help me with the module for cul?
http://busware.de/tiki-index.php?page=CUL


I need this usb- stick for FHEM
http://fhem.de/fhem.html


Please let me know, howto build modules from the source.
I am also interested to build this on the new 400er series (LS420D and LS421DE)


Top
   
PostPosted: Fri May 22, 2015 7:37 am 
Offline
Total Newbie

Joined: Thu May 21, 2015 11:55 am
Posts: 3
Well what you need is an ARMv5 version of gcc 4.2.x (must be the same major/minor version used to compile the existing kernel, see /proc/version) and a copy of the linux kernel source from http://opensource.buffalo.jp/ls-x-165.html

Most people would need to setup a cross compiler, although since i have a very similar system (marvell sheevaplug), i was just able to use a native compiler on there. Thinking about it, you could also make a chroot on the nas device itself and use something like debootstrap or a gentoo stage3 tarball.

The buffalo kernel source comes with separate makefiles for different types of hardware, and copies of their kernel configs. I copied buffalo/configs/buffalo_nas_fw_88f6281.config to .config and ran menuconfig with the appropriate makefile (make -f Makefile.88f6281 menuconfig), i also had to edit the makefile to disable use or a cross compiler as i wasn't using one.

I then built the entire kernel (make -f Makefile.88f6281), and copied out the nfsd module and the other modules it depended on and put them on the NAS. In theory, my kernel should be almost identical to the stock one and it *should* be able to boot although i haven't tried that. After i familiarise myself with the recovery procedure i may well consider trying.


Top
   
PostPosted: Fri May 22, 2015 7:03 pm 
Offline
Moderator

Joined: Mon Apr 26, 2010 10:24 am
Posts: 2712
Thank You.
I will try this.


Top
   
PostPosted: Wed May 27, 2015 8:41 pm 
Offline
Total Newbie

Joined: Thu May 21, 2015 11:55 am
Posts: 3
If you'd like me to try building a specific kernel module, if you send me the source i'll try to build it...

I seem to be having some strange problems with the NFS server, i installed nfs-utils from optware but the latest version available there is 1.1.1-2 which is fairly old (by contrast, my linux box has 1.3.2-r6)... This version doesn't seem to let me set the number of nfsd threads (although this can be done manually through proc) but more importantly it seems to have all_squash turned on and i can't find any way to turn it off!
This is quite a problem for me, as i have a number of shares which really need multiuser file permissions (eg i have shared package caches for several linux boxes)...

Has anyone else tried playing with nfs-utils, either on 3.x or 2.6 kernels and had similar issues?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited