Re: [zfs-discuss] RAIDZ one of the disk showing unavail

2008-09-29 Thread Ralf Ramge
Miles Nordin wrote:

 Ralf, aren't you missing this obstinence-error:
 
 sc the following errors must be manually repaired:
 sc /dev/dsk/c0t2d0s0 is part of active ZFS pool export_content.
 
 and he used the -f flag.

No, I saw it. My understanding has been that the drive was unavailable 
right after the *creation* of the zpool. And replacing a broken drive 
with itself doesn't make sense. And after replacing the drive with a 
working one, ZFS should recognize this automatically.

-- 

Ralf Ramge
Senior Solaris Administrator, SCNA, SCSA

Tel. +49-721-91374-3963
[EMAIL PROTECTED] - http://web.de/

11 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, 
Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] RAIDZ one of the disk showing unavail

2008-09-26 Thread Ralf Ramge
Srinivas Chadalavada wrote:

  I see the first disk as unavailble, How do i make it online? 

By replacing it with a non-broken one.

-- 

Ralf Ramge
Senior Solaris Administrator, SCNA, SCSA

Tel. +49-721-91374-3963
[EMAIL PROTECTED] - http://web.de/

11 Internet AG
Brauerstraße 48
76135 Karlsruhe

Amtsgericht Montabaur HRB 6484

Vorstand: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas 
Gottschlich, Matthias Greve, Robert Hoffmann, Markus Huhn, Oliver Mauss, 
Achim Weiss
Aufsichtsratsvorsitzender: Michael Scheeren
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] RAIDZ one of the disk showing unavail

2008-09-26 Thread Miles Nordin
 sc == Srinivas Chadalavada [EMAIL PROTECTED] writes:
 rr == Ralf Ramge [EMAIL PROTECTED] writes:

sc I see the first disk as unavailble, How do i make it online?

rr By replacing it with a non-broken one.

Ralf, aren't you missing this obstinence-error:

sc the following errors must be manually repaired:
sc /dev/dsk/c0t2d0s0 is part of active ZFS pool export_content.

and he used the -f flag.


pgp1eI3LJ8FWN.pgp
Description: PGP signature
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] RAIDZ one of the disk showing unavail

2008-09-25 Thread Srinivas Chadalavada
This is on X86 box running solaris10
I created RAIDZ using this command. These are new disks previously under 
hardware raid control on X4140
zpool create -f -m /export/content export_content raidz c0t2d0 c0t3d0 c0t4d0 
c0t5d0 c0t6d0 c0t7d0
Here is the output 
ech3-mes02.prod:schadala[563] ~ $ zpool status -x
  pool: export_content
 state: DEGRADED
status: One or more devices could not be opened.  Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
   see: http://www.sun.com/msg/ZFS-8000-D3
 scrub: none requested
config:

NAMESTATE READ WRITE CKSUM
export_content  DEGRADED 0 0 0
  raidz1DEGRADED 0 0 0
c0t2d0  UNAVAIL  0 0 0  cannot open
c0t3d0  ONLINE   0 0 0
c0t4d0  ONLINE   0 0 0
c0t5d0  ONLINE   0 0 0
c0t6d0  ONLINE   0 0 0
c0t7d0  ONLINE   0 0 0

errors: No known data errors
 I see the first disk as unavailble, How do i make it online? I run this 
command, it says manual reapir needed, did anyone had this problem before?
ech3-mes03.prod:schadala[523] ~ $ sudo zpool  replace -f  export_content c0t2d0
invalid vdev specification
the following errors must be manually repaired:
/dev/dsk/c0t2d0s0 is part of active ZFS pool export_content. Please see 
zpool(1M).
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss