ok, I think I did figure out what is the problem
well what zpool does for that emc powerpath is it takes parition 0 from disk and
is trying to attach it to my pool, so when I added emcpower0a I got the
following:
bash-3.00# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
mypool 68G 53.1G 14.9G 78% ONLINE -
mypool2 123M 83.5K 123M 0% ONLINE -
because my emcpower0a structure looked like this:
format> verify
Primary label contents:
Volume name = < >
ascii name = <DGC-RAID5-0324 cyl 51198 alt 2 hd 256 sec 16>
pcyl = 51200
ncyl = 51198
acyl = 2
nhead = 256
nsect = 16
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 63 128.00MB (64/0/0) 262144
1 swap wu 64 - 127 128.00MB (64/0/0) 262144
2 backup wu 0 - 51197 100.00GB (51198/0/0) 209707008
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 128 - 51197 99.75GB (51070/0/0) 209182720
7 unassigned wm 0 0 (0/0/0) 0
So what I did I changed my layout to look like this:
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 51197 100.00GB (51198/0/0) 209707008
1 swap wu 0 0 (0/0/0) 0
2 backup wu 0 - 51197 100.00GB (51198/0/0) 209707008
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 0 0 (0/0/0) 0
6 usr wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
created new pool and I have the following:
bash-3.00# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
mypool 68G 53.1G 14.9G 78% ONLINE -
mypool2 99.5G 80K 99.5G 0% ONLINE -
so now I will try to replace it... I guess zpool does treat differently devices
and in particular the ones that are under emc powerpath controll which is using
the first slice of that disk to create pool and not the whole device...
Anyway thanks to everyone for help, now that replace should work... I am going
to try it now.
Chris
On Fri, 1 Jun 2007, Will Murnane wrote:
On 5/31/07, Krzys <[EMAIL PROTECTED]> wrote:
so I do run replace command and I get and error:
bash-3.00# zpool replace mypool c1t2d0 emcpower0a
cannot replace c1t2d0 with emcpower0a: device is too small
Try "zpool attach mypool emcpower0a"; see
http://docs.sun.com/app/docs/doc/819-5461/6n7ht6qrt?a=view .
Will
!DSPAM:122,465fa1d813332148481500!
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss