Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jun 2007 22:45:07 -0400
From:      Yoshihiro Ota <ota@j.email.ne.jp>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: dumping large partition to USB drive fails
Message-ID:  <20070625224507.da4e62c2.ota@j.email.ne.jp>
In-Reply-To: <20070625174045.GA31486@slackbox.xs4all.nl>
References:  <20070625174045.GA31486@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
It's probabry your disk is dying based on your output.

I've being using GELI for while, i.e. like a year, with dump/resotre, too.  I never had problems with dump/restore.

My disk also failed recently with very similer messages.

Hiro

On Mon, 25 Jun 2007 19:40:45 +0200
Roland Smith <rsmith@xs4all.nl> wrote:

> Some background;
> 
> I'm using a 160GB USB harddisk to write dumps to. This disk is encrypted
> with GEOM_ELI;
> 
> umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr 2
> da0 at umass-sim0 bus 0 target 0 lun 0
> da0: <WDC WD25 00JB-00REA0 20.0> Fixed Direct Access SCSI-0 device 
> da0: 40.000MB/s transfers
> da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)
> GEOM_ELI: Device da0.eli created.
> GEOM_ELI: Encryption: AES-CBC 256
> GEOM_ELI:     Crypto: software
> 
> 
> Since I've converted my largest partition (/home) to GEOM_ELI as well,
> I'm having trouble making backups.
> 
> slackbox:~$ df -h
> Filesystem         Size    Used   Avail Capacity  Mounted on
> /dev/ar0s1a        496M     88M    368M    19%    /
> devfs              1.0K    1.0K      0B   100%    /dev
> /dev/ar0s1g.eli    120G     65G     46G    59%    /home
> /dev/ar0s1e        496M     24K    456M     0%    /tmp
> /dev/ar0s1f         19G    4.5G     13G    25%    /usr
> /dev/ar0s1d        1.9G    147M    1.6G     8%    /var
> /dev/da0.eli       226G    100G    107G    48%    /mnt/root
> 
> 
> Backing up non-encrypted partitions like /, /usr and /var works
> fine. But when I get to /home, the following happens;
> 
> (da0:umass-sim0:0:0:0): AutoSense Failed
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165967687
> 68, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165968998
> 40, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165970309
> 12, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165971619
> 84, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165972930
> 56, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165974241
> 28, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165975552
> 00, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165976862
> 72, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165966376
> 96, length=131072)]
> g_vfs_done():da0.eli[WRITE(offset=116596768768, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116596899840, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116597030912, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116597161984, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116597293056, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116597424128, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116597555200, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116597686272, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116596637696, length=131072)]error = 5
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=65536, len
> gth=2048)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=6144000, l
> ength=16384)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=6160384, l
> ength=6144)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1161638707
> 20, length=16384)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1163565137
> 92, length=16384)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165491568
> 64, length=16384)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165979484
> 16, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165980794
> 88, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165982105
> 60, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165983416
> 32, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165984727
> 04, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165984727
> 04, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165986037
> 76, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165987348
> 48, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165988659
> 20, length=131072)]
> GEOM_ELI: Crypto WRITE request failed (error=5). da0.eli[WRITE(offset=1165978173
> 44, length=131072)]
> g_vfs_done():da0.eli[WRITE(offset=65536, length=2048)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=6144000, length=16384)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=6160384, length=6144)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116163870720, length=16384)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116356513792, length=16384)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116549156864, length=16384)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116597948416, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116598079488, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116598210560, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116598341632, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116598472704, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116598603776, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116598734848, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116598865920, length=131072)]error = 5
> g_vfs_done():da0.eli[WRITE(offset=116597817344, length=131072)]error = 5
> 
> 
> I'm running:
> FreeBSD slackbox.xs4all.nl 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #0: Sun Jun 24 18:44:45 CEST
> 2007     rsmith@slackbox.xs4all.nl:/usr/obj/usr/src/sys/RFS  amd64
> 
> Any pointers?
> 
> Roland
> -- 
> R.F.Smith                                   http://www.xs4all.nl/~rsmith/
> [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
> pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
> 



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