I have a zpool which has grown "organically".  I had a 60Gb disk, I added a 
120, I added a 500, I got a 750 and sliced it and mirrored the other pieces.

The 60 and the 120 are internal PATA drives, the 500 and 750 are Maxtor 
OneTouch USB drives.

The original system I created the 60+120+500 pool on was Solaris 10 update 3, 
patched to use ZFS sometime last fall (November I believe).  In early June, a 
storm blew out my root drive.  Thinking it was an opportunity to upgrade, I 
re-installed with OpenSolaris, and completed the mirroring which I had intended 
for some time, and upgraded zfs from v4 to v10.

The system was not stable.  Reading around, I realized that 512M of RAM and a 
32-bit CPU was probably a poor choice for an OpenSolaris, ZFS based web and 
file server for my home.  So I purchased an ASUS AMD64x2 system and 4G of RAM 
and this weekend I was able to get that set up.

However, my pool is not behaving well.  I have had "insufficient replicas" for 
the pool and "corrupted data" for the mirror piece that is on both the USB 
drives.  This confuses me because I'm also seeing "no known data errors" which 
leads me to wonder where this corrupted data might be.  I did a zpool scrub, 
thinking I could shake out what the problem was; earlier when the system was 
unstable doing this pointed out a couple of MP3 files that were incorrect, and 
as they were easily replaced I just removed them and was able to get a clean 
filesystem.

My most recent attempt to clear this involved removing the 750G drive and then 
trying to bring it online; this had no effect, but now the 750 is on c0 rather 
than c7 at the OS device level.

I've googled for some guidance and found advice to export/import, and while 
this cleared the original insufficient replicas problem, it has not done 
anything for the alleged corrupted data.

I have a couple thousand family photos (many of which are backed up elsewhere, 
but would be a huge problem to re-import) and several thousand MP3s and AACs 
(iTunes songs, many of which are backed up, but many are not because of being 
recently purchased).  I've been hearing how ZFS is the way I should go, which 
is why I made this change last fall, but at this point I am only having 
confusion and frustration.  

Any advice for other steps I could take to recover would be great.

here is some data directly from the system (yes, I know, somewhere along the 
line I set the date one day ahead of the real date, I will be fixing that later 
:) ):

-bash-3.2# zpool status local
  pool: local
 state: DEGRADED
 scrub: none requested
config:

        NAME          STATE     READ WRITE CKSUM
        local         DEGRADED     0     0     0
          mirror      ONLINE       0     0     0
            c6d1p0    ONLINE       0     0     0
            c0t0d0s3  ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c6d0p0    ONLINE       0     0     0
            c0t0d0s4  ONLINE       0     0     0
          mirror      UNAVAIL      0     0     0  corrupted data
            c8t0d0p0  ONLINE       0     0     0
            c0t0d0s5  ONLINE       0     0     0

errors: No known data errors
-bash-3.2# zpool history local
History for 'local':
2007-11-19.11:45:11 zpool create -m /local2 local c1d0p0
2007-11-19.13:38:44 zfs recv local/main
2007-11-19.13:52:51 zfs set mountpoint=/local-pool local
2007-11-19.13:53:09 zfs set mountpoint=/local local/main
2007-11-19.14:00:48 zpool add local c1d1p0
2007-11-19.14:26:35 zfs destroy local/[EMAIL PROTECTED]
2007-11-28.18:38:26 zpool add local /dev/dsk/c3t0d0p0
2008-05-12.10:20:48 zfs set canmount=off local
2008-05-12.10:21:24 zfs set mountpoint=/ local
2008-06-16.15:56:29 zpool import -f local
2008-06-16.15:58:04 zpool export local
2008-06-27.21:41:35 zpool import local
2008-06-27.22:42:09 zpool attach -f local c5d0p0 c7t0d0s3
2008-06-28.09:06:51 zpool clear local c5d0p0
2008-06-28.09:07:00 zpool clear local c7t0d0s3
2008-06-28.09:07:11 zpool clear local
2008-06-28.09:35:39 zpool attach -f local c5d1p0 c7t0d0s4
2008-06-28.09:36:23 zpool attach -f local c6t0d0p0 c7t0d0s5
2008-06-28.13:15:26 zpool clear local
2008-06-28.13:16:48 zpool scrub local
2008-06-28.18:30:19 zpool clear local
2008-06-28.18:30:37 zpool upgrade local
2008-06-28.18:53:33 zfs create -o mountpoint=/opt/csw local/csw
2008-06-28.21:59:38 zpool export local
2008-07-06.23:25:41 zpool import local
2008-07-06.23:26:19 zpool scrub local
2008-07-07.08:40:13 zpool clear local
2008-07-07.08:43:39 zpool export local
2008-07-07.08:43:54 zpool import local
2008-07-07.08:44:20 zpool clear local
2008-07-07.08:47:20 zpool export local
2008-07-07.08:56:49 zpool import local
2008-07-07.08:58:57 zpool export local
2008-07-07.09:00:26 zpool import local
2008-07-07.09:18:16 zpool export local
2008-07-07.09:18:26 zpool import local
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to