Bug#410191: usbfs: cannot create file in a specific directory

2007-02-11 Thread Richard Atterer
On Sun, Feb 11, 2007 at 10:38:39PM +0100, Jean-Michel wrote:
 This looks rare. Disks have been bought (and used) two month ago only!

I see. :-/ Have you tried whether the error also occurs under Windows?

What does the kernel output the moment the write fails? For hard discs, 
dmesg or /var/log/syslog contain kernel messages in this case, which 
include exact sector numbers. If you see this kind of message in your log, 
the Rev drive is telling Linux that it can no longer read or write the 
respective sector, which would be a strong indication that the disc is 
broken.

 In fact this is a 35 Gigabytes removable hard drive, the one described
 on the page hereafter:
 http://en.wikipedia.org/wiki/Iomega_REV

I cannot find any information on whether the drive uses magneto-optical 
technology (unlike normal hard drives, which are magnetic-only - I 
suspect that it _is_ magneto-optical, and this also sounds like it:

 2) REV drives employ a two dimensional error correction system that
 requires the host to send data in 64KB aligned chunks to achieve optimal
 performance. The UDF format used on REV cartridges helps to force 64KB
 aligned transfers. RedChaos
 http://en.wikipedia.org/w/index.php?title=User:RedChaosaction=edit
 00:10, 17 July 2006 (UTC)

 I am not so sure of an hardware failure. The disk has been reformated, 
 and I continue to use it. I hope it is not an hardware issue.

BTW, if you want to find out whether bad sectors still exist on the disc, 
you can use the badblocks program (e2fsprogs package).

 Might be that the IO error could be related to failures which occurs when 
 trying to write a file greater than 1 gigabyte?

As far as I know, UDF has no such size restrictions.

All the best,

  Richard

-- 
  __   _
  |_) /|  Richard Atterer
  | \/¯|  http://geht.net.gibts.bei.atterer.net
  ¯ '` ¯



Bug#410191: usbfs: cannot create file in a specific directory

2007-02-08 Thread Jean-Michel
Package: usbfs
Version: udffs
Severity: normal


with a removable udf iomega filesystem 35 Giga bytes, mounted in
/mnt/iomega, some file cannot be created.
However, on the same media, but different directory, it works.

mount says:
/dev/hda on /mnt/iomega type udf (rw)


[EMAIL PROTECTED] sudo touch /mnt/iomega/toto
[EMAIL PROTECTED] sudo touch /mnt/iomega/data/toto
touch: ne peut faire un touch sur `/mnt/iomega/data/toto': Erreur
d'entrée/sortie
[EMAIL PROTECTED] sudo ls -l /mnt/iomega/
total 20
drwxr-xr-x 2 root root 4996 2007-02-08 00:05 data
-rw-r--r-- 1 root root   44 2006-12-21 21:45 identifiant.txt
drwxr-xr-x 2 root root  236 2007-01-31 10:46 log
drwxr-xr-x 2 root root   40 2006-12-21 20:45 lost+found
-rw-r--r-- 1 root root0 2007-02-08 14:30 toto

[EMAIL PROTECTED] ls -l /mnt/iomega/data/
total 4883520
-rwx-- 1 root root 383240768 2007-02-08 00:05
xx_.tgz
-rwx-- 1 root root 249440733 2007-02-08 00:05 xx_xxrs.tgz
-rwx-- 1 root root 100468667 2007-02-08 00:05 xx_xxs.tgz
-rwx-- 1 root root  75251712 2007-02-08 00:05 xx_java.tgz
-rwx-- 1 root root98 2007-02-08 00:05 xx_xx.tgz
-rw-r--r-- 1 root root  5831 2007-02-08 00:05 xx_xxle.tgz
-rwx-- 1 root root 400056557 2007-02-08 00:06 xx_xxs.tgz
-rwx-- 1 root root 372409976 2007-02-08 00:06 xx_xx.tgz
-rwx-- 1 root root 850925624 2007-02-08 00:07 xx_xx.tgz
-rwx-- 1 root root   682 2007-02-08 00:07 xx_xx.conf
-rw-r--r-- 1 root root 692150478 2007-02-08 00:51 xxxai_xxxel.tgz
-rw-r--r-- 1 root root 180746218 2007-02-08 00:52 xxx_xx.tgz
-rw-r--r-- 1 root root 0 2007-02-08 00:52 xxx_dummy
-rw-r--r-- 1 root root 373794147 2007-02-08 01:12
xxxup_xx_xxxa_xxxVE.tgz
-rw-r--r-- 1 root root   460 2007-02-08 01:12 xxxup_xx_Log.tgz
-rwxr--r-- 1 root root   938 2007-02-08 01:31 xxx_xxage.bat
-rw-r--r-- 1 root root 296523379 2007-02-08 01:46 xxx_xx_gay.tgz
-rw-r--r-- 1 root root 474650574 2007-02-08 01:54
xxx_xxw_xxx_xxxeau_xxpe_xxxkt.tgz
-rw-r--r-- 1 root root 309549359 2007-02-08 01:58
xxx_xxw_xxx_xx-xxpe_.tgz
-rw-r--r-- 1 root root   127 2007-02-08 01:46 xxx_xxw_xxx.tgz
-rw-r--r-- 1 root root   132 2007-02-08 01:58 xxx_xxe_xx.tgz
-rw-r--r-- 1 root root 235399898 2007-02-08 02:20 xxx_xxe_xxxux.tgz
-rw-r--r-- 1 root root   6095906 2007-02-08 02:21 xxx_xxxi_xxro.tgz


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)