Hi all, Please can you help with my ZFS troubles:
I currently have 3 x 400 GB Seagate NL35's and a 500 GB Samsung Spinpoint in a RAIDZ array that I wish to expand by systematically replacing each drive with a 750 GB Western Digital Caviar. After failing miserably, I'd like to start from scratch again if possible. When I last tried, the replace command hung for an age, network connectivity was lost (I have to do this by SSH, so that dropped too), and I got strange outputs from zpool -status where a particular device (but not the one that was being replaced) was listed twice. I also managed to mess up 3 of the 4 WD drives in such a way that they were detected by the bios, but no system after that would work: In solaris, a format wouldn't show the drive (c2d0 should have been there, but it wasn't) Using an old Ghost boot CD, the old 3 drives would list, but the new one wouldn't. GParted couldn't see the new drive (the old 3 were there!) Again, in all of these situations, the drive WAS detected in the BIOS and everything looked perfectly fine in there. I have now managed to salvage one using Windows and a USB caddy in another computer. This is formatted as one big NTFS volume. So the drive does work. Here is the output from zpool -status: | # zpool status -v | pool: zp | state: ONLINE | scrub: scrub in progress, 30.76% done, 4h33m to go | config: | | NAME STATE READ WRITE CKSUM | zp ONLINE 0 0 0 | raidz1 ONLINE 0 0 0 | c2d1 ONLINE 0 0 0 | c3d1 ONLINE 0 0 0 | c2d0 ONLINE 0 0 0 | c3d0 ONLINE 0 0 0 | | errors: No known data errors And here is the output from ZDB: | # zdb | zp | version=9 | name='zp' | state=0 | txg=110026 | pool_guid=5629347939003043989 | hostid=823611165 | hostname='mammoth' | vdev_tree | type='root' | id=0 | guid=5629347939003043989 | children[0] | type='raidz' | id=0 | guid=1325151684809734884 | nparity=1 | metaslab_array=14 | metaslab_shift=33 | ashift=9 | asize=1600289505280 | is_log=0 | children[0] | type='disk' | id=0 | guid=5385778296365299126 | path='/dev/dsk/c2d1s0' | devid='id1,[EMAIL PROTECTED]/a' | phys_path='/[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a' | whole_disk=1 | DTL=33 | children[1] | type='disk' | id=1 | guid=15098521488705848306 | path='/dev/dsk/c3d1s0' | devid='id1,[EMAIL PROTECTED]/a' | phys_path='/[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a' | whole_disk=1 | DTL=32 | children[2] | type='disk' | id=2 | guid=4518340092563481291 | path='/dev/dsk/c2d0s0' | devid='id1,[EMAIL PROTECTED]/a' | phys_path='/[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a' | whole_disk=1 | DTL=31 | children[3] | type='disk' | id=3 | guid=7852006658048665355 | path='/dev/dsk/c3d0s0' | devid='id1,[EMAIL PROTECTED]/a' | phys_path='/[EMAIL PROTECTED],0/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:a' | whole_disk=1 | DTL=30 I have found many, many posts regarding issues when replacing drives, and have used bits of them to get myself in a working state .. but I'm now confused with all the imports, exports, detaches etc... Please can someone help me out step-by-step with this one and start with: The array is functioning perfectly but I want to replace c2d0 with a new WD drive. Once the scrub completes, What do I do? Many thanks, Chris Murray This message posted from opensolaris.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss