DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-08-11 18:57:49

gnugu
Member
Registered: 2008-05-08
Posts: 27

What is a proper FSTAB entry to connect to DNS-323 running unfsd?

Hello,
I run unfsd on my DNS-323. The exports file has default entries (I didn't modify anything).

On my KUbuntu client when I run showmount -e my_dns_ip I can see all the exports.

I can mount manually by

sudo mount -t nfs my_dns_ip:/mounts/HD_a2 myMountPoint

That works fine, I can read and write.

I am unable however to come up with a proper entry for fstab:

my_dns_ip:/mounts/HD_a2 /media/dns-323 -t nfs rw,auto

When I save fstab file, the dialog pops up asking me what I want to do with the newly mounted media. I say "Open in New Window" and then I get "Permission denied".

Can anybody help me with the fstab entry?

Thank you.

Offline

 

#2 2008-08-11 19:04:16

ismora
Member
From: Paris, France
Registered: 2008-07-30
Posts: 30

Re: What is a proper FSTAB entry to connect to DNS-323 running unfsd?

my_dns_ip:/mounts/HD_a2 /media/dns-323 nfs rw,auto 0 0

See "man fstab".
"-t" is when you are directly calling the mount command line. Each line of the fstab is parsed to build the necessary mount command line, but is not the command itself.


DNS-323 • 2x Hitachi 500MB • RAID1 • FW1.04 • ext3 • Fonz's v0.5 fun_plug
DNS-325 • 2x WD Green 2TB • RAID1 • FW?.?? • ext3 • Fonz's v0.7 fun_plug

Offline

 

#3 2008-08-11 19:31:34

gnugu
Member
Registered: 2008-05-08
Posts: 27

Re: What is a proper FSTAB entry to connect to DNS-323 running unfsd?

ismora,
thanks for your replay. I'll give it a try (not near my linux right now).

Reading the "man nfs" right now. Says I can use nfs or nfs4 for fstype. Do you know if unfsd supports nfs4?

Thanks, and I'll post later if it worked for me.

Offline

 

#4 2008-08-11 19:38:45

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: What is a proper FSTAB entry to connect to DNS-323 running unfsd?

gnugu wrote:

Do you know if unfsd supports nfs4?

It doesn't.

Offline

 

#5 2008-08-12 03:28:29

gnugu
Member
Registered: 2008-05-08
Posts: 27

Re: What is a proper FSTAB entry to connect to DNS-323 running unfsd?

ismora,

My fstab has:

my_ip:/mnt/HD_a2 /media/dns-323 nfs rw,auto 0 0

Still "Permission denied".

Any idea what may be wrong?

Here is my exports file:
/mnt/HD_a2 xxx.yyy.zzz.0/24(rw,no_root_squash)
/mnt/HD_a4 xxx.yyy.zzz.0/24(rw,no_root_squash)
/mnt/web_page xxx.yyy.zzz.0/24(rw,no_root_squash)

Thanks.

Offline

 

#6 2008-08-12 15:08:04

gnugu
Member
Registered: 2008-05-08
Posts: 27

Re: What is a proper FSTAB entry to connect to DNS-323 running unfsd?

Started my computer this morning and it works. No idea why it didn't yesterday.

Thanks for a help.

Offline

 

#7 2008-08-12 17:29:47

ismora
Member
From: Paris, France
Registered: 2008-07-30
Posts: 30

Re: What is a proper FSTAB entry to connect to DNS-323 running unfsd?

Perhaps did you modify your exports file but did not restart unfs to take it in account?

Anyway, it works; great!


DNS-323 • 2x Hitachi 500MB • RAID1 • FW1.04 • ext3 • Fonz's v0.5 fun_plug
DNS-325 • 2x WD Green 2TB • RAID1 • FW?.?? • ext3 • Fonz's v0.7 fun_plug

Offline

 

#8 2008-08-12 18:54:53

gnugu
Member
Registered: 2008-05-08
Posts: 27

Re: What is a proper FSTAB entry to connect to DNS-323 running unfsd?

No. Never touched exports file.

This happened to me before when I was mounting smbf via fstab.

I don't understand it. On Ubuntu I had no problem. On Kubuntu this happened before. Both are up to date.

*NOTE* This is my reaction to me having "my_ip:/mnt/HD_a2 /media/dns-323 nfs rw,auto 0 0" in fstab. This came alive after reboot.

My original problem was "my_ip:/mnt/HD_a2 /media/dns-323 nfs nfs rw,auto 0 0". I had nfs there twice (stupid typo), that's why it didn't work at the first place.

Thanks for your help.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB