30 November 2007

Mounting Samba folder permanent di fstab

Hari ini mendadak salah satu user yang pake Ubuntu Feisty komplain. Gak bisa akses data di server Samba. Server masih pake Fedora 6 dengan Samba versi samba-3.0.24-8.fc6. Beberapa saat berikutnya, client Ubuntu laen juga alamin hal yanga sama. Duh :(

Nih errornya di salah 1 client:

[ 120.621144] SMB connection re-established (-5)
[ 149.133552] smb_add_request: request [c46b5e80, mid=13] timed out!
[ 149.133563] smb_proc_readdir_long: error=-5, breaking
[ 150.527609] smb_add_request: request [c46b5d80, mid=23] timed out!
[ 150.527621] smb_proc_readdir_long: error=-5, breaking

Usut punya usut, server Fedora 6 abis upgrade Samba smalem tuh. Dan di client mountingnya pake /etc/fstab gunakan smbfs. Ternyata ini problemnya. Karena pc gue and IT yang laen pake Gutsy dengan cifs fine-fine aja.

Semula isi /etc/fstab seperti ini:

//server/personal /server/personal smbfs credentials=/root/.smbcredentials,dmask=777,fmask=777 0 0
//server/divisi /server/divisi smbfs credentials=/root/.smbcredentials,dmask=777,fmask=777 0 0
//server/public /server/public smbfs credentials=/root/.smbcredentials,dmask=777,fmask=777 0 0


Dan setelah working around harus diganti sepetri ini:

//server/personal /server/personal cifs credentials=/root/.smbcredentials,iocharset=utf8,noperm,nobrl 0 0
//server/divisi /server/divisi cifs credentials=/root/.smbcredentials,iocharset=utf8,noperm,nobrl 0 0
//server/public /server/public cifs credentials=/root/.smbcredentials,iocharset=utf8,noperm,nobrl 0 0


Well... problem terselesaikan dalam itungan 30 menit

Powered by ScribeFire.

Tidak ada komentar: