Discussion:
zpool question
Erwin Panen
2011-04-27 18:52:28 UTC
Permalink
Hi,

I seem to have a problem:
I have a plain zpool created out of several different sized hd's.
1 hd is IDE the others are SATA.
I'd like to move this pool to a new location. This new location has no IDE ctrl-er.
Hence I thought I'd replace the 250 MB IDE hd with a 250 MB SATA hd.

So I tried:
library:5:~#zpool replace pool0 c1d0p0 c2t5d0p0
cannot replace c1d0p0 with c2t5d0p0: no such device in pool

This made me think that I firt needed to add the new hd to the pool (as a spare?), so I added it. But now I can't replace the IDE disk.

Is it possible to replace a disk in an ordinary zpool? (not raidz, nor mirror)

Would it be a possible solution to:
- transform the existing zpool to a mirror
- then detach the old (bunch of) disks?

Thanks for your help!

Erwin

----------------------------------------

pool: pool0
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://www.sun.com/msg/ZFS-8000-8A
scrub: none requested
config:

NAME STATE READ WRITE CKSUM
pool0 ONLINE 0 0 0
c1d0 ONLINE 0 0 0
c2t0d0 ONLINE 0 0 0
c2t1d0 ONLINE 0 0 0
c2t2d0 ONLINE 0 0 0
c2t3d0 ONLINE 0 0 0
c2t5d0p0 ONLINE 0 0 0

errors: 1 data errors, use '-v' for a list
--------------------------------------------------------------
library:22:~#hd

Device Serial Vendor Model Rev Temperature
------ ------ ------ ----- ---- -----------
c0t0d0p0 0.00 None
c1d0p0 D2500JB-00REA0=_____WD-WMANK5845391 __WD-WMANK5845391 - None
c2t0d0p0 0BJDWS703913 ATA SAMSUNG HD502HJ 00E4 33 C (91 F)
c2t1d0p0 B41XB3MH ATA Maxtor 6B200M0 1BY0 None
c2t2d0p0 XWJ90S705333 ATA SAMSUNG HD154UI 1118 None
c2t3d0p0 V50BQFGG ATA Maxtor 6V250F0 1630 42 C (107 F)
c2t5d0p0 Y0S2C1ECT ATA TOSHIBA MK2565GS 1M 25 C (77 F)
--
This message posted from opensolaris.org
Loading...