If you only need NFS sharing there is no need to format your HDD as the firmware alone can do the sharing there is no need to install any optware to the HDD.
However you need to put what you'd like to share to /etc/exports
My tutorial puts this (as it allows NFS sharing for the /opt and /mnt directories):
As a first step plug in the HDD and check where it mounts with mount, e.g. I have a spare partition on my HDD that is automounted:Code:# automagically generated from web settings
/mnt 192.168.1.0/24(rw,insecure,all_squash,anonuid=0,anongid=0,sync)
/opt 192.168.1.0/24(rw,insecure,all_squash,anonuid=0,anongid=0,sync)
/dev/sda4 on /tmp/mnt/disca_4 type ext4 (rw,noatime,barrier=1,data=writeback)
So replace e.g. /mnt with what you'd like to share e.g. in my case it could be /tmp/mnt/disca_4
E.g. put this to /etc/exports (of course you can have a better mountpoint with /etc/fstab):
The /etc files are not saved to flash (so lost) after restart unless you indicate to the firmware what files to make persistent. This is done inCode:/tmp/mnt/disca_4 192.168.1.0/24(rw,insecure,all_squash,anonuid=0,anongid=0,sync)
/usr/local/.files
So you have to put /etc/exports there.
You can do it actually if you copy-paste this:
Than make everything persistent withCode:cat > /usr/local/.files << __EOF__
/etc/fstab
/etc/exports
/etc/passwd
/etc/group
__EOF__
flashfs save && flashfs commit && flashfs enable
If you need optware then
1. either you need a HDD/USB stick that has the following partitions:
swap
/opt
/mnt
2. or adjust /etc/fstab
Which by the tutorial (for 2.6 kernels!)
However you can easily swap e.g. /opt to be /dev/sda3 or as you like.Code:#device Mountpoint FStype Options Dump Pass#
/dev/sda1 none swap sw 0 0
/dev/sda3 /mnt ext3 rw,noatime 1 1
/dev/sda2 /opt ext3 rw,noatime 1 1
Note: web interface may work as well, however I've never used the web interface...

