Foros del Web » Administración de Sistemas » Unix / Linux »

CIFS error SYNC

Estas en el tema de CIFS error SYNC en el foro de Unix / Linux en Foros del Web. loading............. Bueno seguro a muchos les ha pasado con este sistema de archivos montados CIFS ... 1.- con VIM siempre sale que el archivo fue ...
  #1 (permalink)  
Antiguo 23/05/2007, 20:01
Avatar de MaBoRaK  
Fecha de Ingreso: abril-2003
Ubicación: La Paz - Bolivia
Mensajes: 2.003
Antigüedad: 21 años, 7 meses
Puntos: 35
CIFS error SYNC

loading.............


Bueno seguro a muchos les ha pasado con este sistema de archivos montados CIFS ...

1.- con VIM siempre sale que el archivo fue modificado... igual que en Eclipse u otros editores.
He montado de la forma

//192.168.0.1/a /mnt/a cifs uid=maborak,auto,sync 0 0

y

//192.168.0.1/a /mnt/a cifs uid=maborak,auto,async 0 0

Y nada... sigo con esos problema.. alguna sugerencia?

OS: centos5
kernel: 2.6.18-8.1.3.el5

y he visto que en muchas listas la misma queja

Cita:
Hi Steve,

I discovered two other problems with CIFS:

I'm connecting to a Samba server.

This is with the same computers as my now fixed hangs, but this time I
am trying to copy data to the server.

All the below was observed on an otherwise mostly idle machine.

With 2.6.16, the data transfer make the whole computer very sluggish,
this seems to be fixed in 2.6.16-rc6-mm2. But the following issues
remain:

When copying with "cp" or "mc" to the share and suspending the program
copying with ^Z, the data transfer seems to continue.

When running "sync" from another shell during a data transfer, the sync
hangs. After killing cifsd, "sync" returns immediately.

CIFS options in my kernel:
CONFIG_CIFS=y
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_EXPERIMENTAL is not set

I'm mounting with (slightly anonymized):
mount -t cifs -o user="foo",ip=11.22.33.44 //DAT/bar bar

I'm using the smbfs 3.0.21b-1 package from Debian.

I'm using an e100 network card with a 10 MBit/s connection.

Any other information I can provide for helping to debug this problem?

TIA
Adrian

y


Cita:
This may be related to some other timestamp issues I've seen in other bug
reports but I figured it couldn't hurt to offer up my problem.

I recently had to make the move from SMBFS to CIFS when I upgraded from
Fedora 4 to 5. Changing settings in my /etc/fstab was easy and no
errors come up but now I'm having an issue very similar to post I found
on your list that got no response back in April:

http://lists.samba.org/archive/samba...il/119813.html

Just as he describes in his second point, while editing a file from a
CIFS mounted share, something is confusing vim as to the timestamp of
the file and it thinks that the file has changed since my last writing.
My first write always works without a warning but all subsequent writes
produce the warning. I can guarantee that I am in fact the only person
editing this file

This occurs regardless of what OS owns the share. I'm experiencing the
same situation on mounted shares from a Windows 2003 server as well
another Linux server running Fedora 5 as well. This leads me to believe
it's more a client-side issue than improperly configured shares. To a
further point, I attempted to alter the date/time on the Windows 2003
server to both before and after the date/time on my client machine w/ no
change in situation. I've encountered some Vim
discussions/documentation alluding to an issue on Windows relating to
daylight savings but, again, since this appears to be happening
regardless of server OS, I've again weeded that out as a cause.

This issue never occurred while using SMBFS so I can only attribute it
to the new, forced, use of CIFS. Likewise, I'm hesitant to blame vim as
I'm not having this problem on local files or files mounted through NFS
or other means. Here's a run-down of my specs if it helps:

OS: Fedora Core 5 Linux
Kernel version: 2.6.17 (from 2.6.17-1.2174_FC5 RPM)
Samba version: 3.0.23b (from samba.org provided RPMs)


connection closed.
__________________

Maborak Technologies
  #2 (permalink)  
Antiguo 23/05/2007, 22:48
Avatar de AleSanchez
Colaborador
 
Fecha de Ingreso: septiembre-2004
Ubicación: Buenos Aires, Argentina
Mensajes: 3.692
Antigüedad: 20 años, 3 meses
Puntos: 47
Re: CIFS error SYNC

¿Contra que te estas conectando?
__________________
¡Volviendo a la programación!
  #3 (permalink)  
Antiguo 24/05/2007, 09:04
Avatar de MaBoRaK  
Fecha de Ingreso: abril-2003
Ubicación: La Paz - Bolivia
Mensajes: 2.003
Antigüedad: 21 años, 7 meses
Puntos: 35
Re: CIFS error SYNC

loading.................

No te entiendo............. bueno el server es un Fedora Core 5 con samba 3.0.5


connection closed.
__________________

Maborak Technologies
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 21:14.