nfs detroyed my files... HELP!!
I have a home network connected via 802.11b to a cable router hooked into
the world. One is a home-built desktop box on a 133 bus, 1GB RAM, 2 40GB HDDs. The
other is a Micron Transport ZX notebook. Both operate on RH8, 2.4.18-14. The
desktop serves NFS [cat /etc/exports = /mnt/hd2/toons/mp3
micron(rw,root_squash)]. The microns mounts "desktop:/mnt/hd2/toons/mp3
/nfs nfs rsize=8192,wsize=8192,timeo=14,intr"
I bought myself a new stereo with W.A.T (Wireless Audio Transfer) for Xmas
the other day and I played a few songs on the micron (XMMS). When I
logged out and shutdown the Micron, the logout messages reported no
errors, but the hdd on the desktop was thrashing for a moment. The next
morning when I did an "ls /mnt/hd2/toons/mp3" it replied "0 files" !! :((
An examination of "var log messages reported nothing funny when the micron
umounted the file system at shutdown, logdump for the relevant times on
Dec 18 19:26:55 localhost nfslock: rpc.statd startup succeeded
Dec 18 19:27:01 localhost automount: starting automounter version 3.1.7, path = /nfs, maptype = file, mapname = /etc/auto.nfs
Dec 18 19:27:12 localhost nfs: Starting NFS services: succeeded
Dec 18 19:27:12 localhost nfs: rpc.rquotad startup succeeded
Dec 18 19:27:12 localhost kernel: Installing knfsd (copyright (C) 1996 [email]email@example.com[/email]).
Dec 18 19:27:12 localhost nfs: rpc.nfsd startup succeeded
Dec 18 19:27:13 localhost nfs: rpc.mountd startup succeeded
Dec 18 21:46:14 localhost nfs: rpc.mountd shutdown succeeded
Dec 18 21:46:18 localhost kernel: nfsd: last server has exited
Dec 18 21:46:18 localhost kernel: nfsd: unexporting all filesystems
Dec 18 21:46:18 localhost nfs: nfsd shutdown succeeded
Dec 18 21:46:18 localhost nfs: rpc.rquotad shutdown succeeded
Dec 18 21:46:18 localhost nfs: Shutting down NFS services: succeeded
Dec 18 21:46:34 localhost nfslock: rpc.statd shutdown succeeded
logdump on desktop:
Dec 18 17:51:56 localhost exportfs: No 'sync' or 'async' option specified for export "micron:/mnt/hd2/toons/mp3". Assuming default behaviour ('sync'). NOTE: this default has changed from previous versions
Dec 18 17:51:56 localhost exportfs: exportfs: No 'sync' or 'async' option specified for export "micron:/mnt/hd2/toons/mp3".
Dec 18 19:41:50 localhost rpc.mountd: authenticated mount request from micron:741 for /mnt/hd2/toons/mp3 (/mnt/hd2/toons/mp3)
Dec 18 21:46:08 localhost rpc.mountd: authenticated unmount request from micron:695 for /mnt/hd2/toons/mp3 (/mnt/hd2/toons/mp3)
Can anybody figure out what might have happened? I've googled this to
death with no joy. Are there any other log files that need to be
examined? Did I export/mount the files correctly? Any advice appreciated
as well as tips on how to avoid this in the future would be great.
PS: Is it better to create links to the files (in a separate directory)
and then export/mount the separate directory? Inquiring minds want to
TIA and Happy Holidays,