by dzebrys » Tue Mar 22, 2011 1:51 pm
hi,
have some time to reproduce problem and it seems much clearer now.
opt.bin is almost ok*.
the SCOD was due to missing nolock option when mounting nfs AND using opt.bin.
my [corrected] nfs mount cmd looks like:
xmount 192.168.1.12:/volume1/pub bubik nfs rw,hard,intr,nolock,tcp,vers=3,rsize=32768,wsize=32768
*strange is why problem appeared. the behaviour of db update after starting media file differs depending
on configuration.
1) no opt.bin mounted, nfs without nolock
the ph_ad_entry updating usb connected ext3 volume
ph_add_entry[752], name: 127.Hours.2010.avi, path: /filmy/fabula/127.Hours.2010.DVDSCR.XViD.ABSURDITY, uuid: bubik
mount_port =/tmp/media/usb/USB2
ph_add_entry[762],dbfile= /tmp/media/usb/USB2/9443a6e1-6da6-4a32-a5b1-06ea6cd1f7d4//.wd_tv/ph.db
[42mph_add_entry[802],update playback history Access: 1, Spent time: 3.56[0m
MediaMark: [onPageEnter]
2) opt.bin mounted, nfs without nolock
the ph_add_entry stucks trying to write to nfs volume
ph_add_entry[752], name: 127.Hours.2010.avi, path: /filmy/fabula/127.Hours.2010.DVDSCR.XViD.ABSURDITY, uuid: bubik
mount_port =/tmp/media/usb/USB2
ph_add_entry[762],dbfile= /tmp/media/usb/USB2/bubik//.wd_tv/ph.db
3) opt.bin mounted, nfs with nolock
the ph_ad_entry updating nfs connected volume
ph_add_entry[752], name: 127.Hours.2010.avi, path: /filmy/fabula/127.Hours.2010.DVDSCR.XViD.ABSURDITY, uuid: bubik
mount_port =/tmp/media/usb/USB2
ph_add_entry[762],dbfile= /tmp/media/usb/USB2/bubik//.wd_tv/ph.db
update_playback_history[330], This data dont need to insert. Skip it.
[42mph_add_entry[802],update playback history Access: 1, Spent time: 0.38[0m
MediaMark: [onPageEnter]
does anyone could explain why the db update destination differs depanding on if opt.bin is mounted or not?
i hope this nolock option will heal SCOD for others also. please spread this info to forum.
regards
piotr