Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2007 11:11:19 -0400
From:      "Ali Mashtizadeh" <mashtizadeh@gmail.com>
To:        "Pawel Jakub Dawidek" <pjd@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: ZFS with USB "SCSI"
Message-ID:  <440b3e930706150811k10e18d70i7929fc13f6131e45@mail.gmail.com>
In-Reply-To: <20070615132319.GC37295@garage.freebsd.pl>
References:  <440b3e930706140907j636074e3l195b3798fef97298@mail.gmail.com> <20070615132319.GC37295@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

Hey thanks for the response!

diskinfo -v /dev/da0s2d

/dev/da0s2d
        512             # sectorsize
        138330523136    # mediasize in bytes (129G)
        270176803       # mediasize in sectors
        16817           # Cylinders according to firmware.
        255             # Heads according to firmware.
        63              # Sectors according to firmware.

zpool list

NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
WDPassport              128G   6.19G    122G     4%  ONLINE     -
tank                   34.8G   29.3G   5.45G    84%  ONLINE     -

It works on my root filessytem just fine but that internal IDE drive. I use
an external USB drive for extra storage I carry around. I tried it with two
partition layouts and in both cases it seems to have problems with USB
drives.

-- 
Ali Mashtizadeh
علی مشتی زاده

On 6/15/07, Pawel Jakub Dawidek <pjd@freebsd.org> wrote:
>
> On Thu, Jun 14, 2007 at 12:07:28PM -0400, Ali Mashtizadeh wrote:
> > Hi has anyone used ZFS with a external USB drive. I seem to get ZFS
> trying
> >
> > The disk is mostly empty so these write errors are mostly at the
> beginning.
> > Is there a problem with UMASS and ZFS or should I update my
> > 7.0-CURRENT(about 2-3 weeks old). I used to have a UFS filesystem on
> > this drive and it
> > worked flawlessly. ZFS sometimes silently ignores most of these errors
> but
> > when I start copying lots and lots of files it gives a lot of errors and
> > Panics.
> >
> > ... a bunch of errors like these:
> > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=WDPassport
> > path=/dev/da0s2d offset=4260626432 size=131072 error=5
> > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=WDPassport
> > path=/dev/da0s2d offset=4260757504 size=131072 error=5
> > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=WDPassport
> > path=/dev/da0s2d offset=4260888576 size=131072 error=5
> > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=WDPassport
> > path=/dev/da0s2d offset=4261019648 size=131072 error=5
> > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB:
> 2a
> > 0 2 f6 4f 9e 0 0 80 0
> > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): CAM Status:
> SCSI
> > Status Error
> > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): SCSI Status:
> Check
> > Condition
> > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST
> > asc:21,0
> > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): Logical block
> > address out of range
> > Jun 12 17:12:15 redqueen kernel: (da0:umass-sim0:0:0:0): Unretryable
> error
> > Jun 12 17:12:15 redqueen root: ZFS: vdev I/O failure, zpool=WDPassport
> > path=/dev/da0s2d offset=4261150720 size=131072 error=5
> > Jun 12 17:14:02 redqueen syslogd: kernel boot file is
> /boot/kernel/kernel
> > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): WRITE(10). CDB:
> 2a
> > 0 2 f6 4d 9e 0 0 80 0
> > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): CAM Status:
> SCSI
> > Status Error
> > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): SCSI Status:
> Check
> > Condition
> > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST
> > asc:21,0
> > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): Logical block
> > address out of range
> > Jun 12 17:14:02 redqueen kernel: (da0:umass-sim0:0:0:0): Unretryable
> error
> > Jun 12 17:14:02 redqueen kernel: panic: ZFS: I/O failure (write on
> <unknown>
> > off 0: zio 0xffffff00240db000 [L0 ZFS plain file] 20000L/20000P
> > DVA[0]=<0:fd9a0000:20000> fletcher2 uncompressed LE contiguous
> birth=2447
> > fill=1
> >
> cksum=5df9a1c34a151f29:ef04006d2a7312e2:f22e3b20440a3f6:c154faf2be8dc79d)
> > Jun 12 17:14:02 redqueen kernel: cpuid = 0
> > Jun 12 17:14:02 redqueen kernel: Uptime: 46m5s
> > Jun 12 17:14:02 redqueen kernel: Physical memory: 881 MB
> > Jun 12 17:14:02 redqueen kernel: Dumping 220 MB: 205 189 173 157 141 125
> 109
> > 93 77 61 45 29 13
> > Jun 12 17:14:02 redqueen kernel: Dump complete
> > Jun 12 17:14:02 redqueen kernel: Automatic reboot in 15 seconds - press
> a
> > key on the console to abort
> > Jun 12 17:14:02 redqueen kernel: --> Press a key on the console to
> reboot,
> > Jun 12 17:14:02 redqueen kernel: --> or switch off the system now.
> > Jun 12 17:14:02 redqueen kernel: Rebooting...
>
> Can you show me the output of:
>
>         # diskinfo -v /dev/da0s2d
>         # zpool list
>
> --
> Pawel Jakub Dawidek                       http://www.wheel.pl
> pjd@FreeBSD.org                           http://www.FreeBSD.org
> FreeBSD committer                         Am I Evil? Yes, I Am!
>
>


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?440b3e930706150811k10e18d70i7929fc13f6131e45>