Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
2011 4:06 > To: 'Richard Elling' > Cc: zfs-discuss@opensolaris.org > Subject: RE: [zfs-discuss] remove wrongly added device from zpool > > > > > -Original Message- > > From: Richard Elling [mailto:richard.ell...@gmail.com] > > Sent: 星期二

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
> -Original Message- > From: Richard Elling [mailto:richard.ell...@gmail.com] > Sent: 星期二, 九月 20, 2011 3:57 > To: Fred Liu > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] remove wrongly added device from zpool > > more below… > > On Sep

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Richard Elling
more below… On Sep 19, 2011, at 9:51 AM, Fred Liu wrote: >> >> No, but your pool is not imported. >> > > YES. I see. >> and look to see which disk is missing"? >> >> The label, as displayed by "zdb -l" contains the heirarchy of the >> expected pool config. >> The contents are used to build th

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
> > No, but your pool is not imported. > YES. I see. > and look to see which disk is missing"? > > The label, as displayed by "zdb -l" contains the heirarchy of the > expected pool config. > The contents are used to build the output you see in the "zpool import" > or "zpool status" > commands.

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Richard Elling
On Sep 19, 2011, at 9:16 AM, Fred Liu wrote: >> >> For each disk, look at the output of "zdb -l /dev/rdsk/DISKNAMEs0". >> 1. Confirm that each disk provides 4 labels. >> 2. Build the vdev tree by hand and look to see which disk is missing >> >> This can be tedious and time consuming. > > Do I ne

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
> > For each disk, look at the output of "zdb -l /dev/rdsk/DISKNAMEs0". > 1. Confirm that each disk provides 4 labels. > 2. Build the vdev tree by hand and look to see which disk is missing > > This can be tedious and time consuming. Do I need to export the pool first? Can you give more details

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Richard Elling
rd > > Thanks. > > Fred > >> -Original Message----- >> From: Fred Liu >> Sent: 星期一, 九月 19, 2011 22:28 >> To: 'Richard Elling' >> Cc: zfs-discuss@opensolaris.org >> Subject: RE: [zfs-discuss] remove wrongly added device from zpool

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
/pci15d9,400@1f,2/disk@5,0 > -Original Message- > From: Fred Liu > Sent: 星期一, 九月 19, 2011 23:35 > To: Fred Liu; Richard Elling > Cc: zfs-discuss@opensolaris.org > Subject: RE: [zfs-discuss] remove wrongly added device from zpool > > I get some good progress like foll

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
Elling' > Cc: zfs-discuss@opensolaris.org > Subject: RE: [zfs-discuss] remove wrongly added device from zpool > > > > > > You don't mention which OS you are using, but for the past 5 years of > > [Open]Solaris > > releases, the system prints a warning mes

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
> > You don't mention which OS you are using, but for the past 5 years of > [Open]Solaris > releases, the system prints a warning message and will not allow this > to occur > without using the force option (-f). > -- richard > Yes. There is a warning message, I used zpool add -f. Thanks. Fr

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
I use opensolaris b134. Thanks. Fred > -Original Message- > From: Richard Elling [mailto:richard.ell...@gmail.com] > Sent: 星期一, 九月 19, 2011 22:21 > To: Fred Liu > Cc: zfs-discuss@opensolaris.org > Subject: Re: [zfs-discuss] remove wrongly added device from zpool >

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Richard Elling
On Sep 19, 2011, at 12:10 AM, Fred Liu wrote: > Hi, > > For my carelessness, I added two disks into a raid-z2 zpool as normal data > disk, but in fact > I want to make them as zil devices. You don't mention which OS you are using, but for the past 5 years of [Open]Solaris releases, the system

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
;; 'Krunal Desai' > Cc: 'zfs-discuss@opensolaris.org' > Subject: RE: [zfs-discuss] remove wrongly added device from zpool > > I also used zpool import -fFX cn03 in b134 and b151a(via live SX11 live > cd). It resulted a core dump and reboot after about 15 min. > I

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
: Fred Liu > Sent: 星期一, 九月 19, 2011 21:54 > To: 'Edward Ned Harvey'; 'Krunal Desai' > Cc: zfs-discuss@opensolaris.org > Subject: RE: [zfs-discuss] remove wrongly added device from zpool > > > > > I'll tell you what does not help. This email. Now t

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
> > I'll tell you what does not help. This email. Now that you know what > you're trying to do, why don't you post the results of your "zpool > import" command? How about an error message, and how you're trying to > go about fixing your pool? Nobody here can help you without > information. >

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Edward Ned Harvey
> From: Krunal Desai [mailto:mov...@gmail.com] > > On Mon, Sep 19, 2011 at 9:29 AM, Fred Liu wrote: > > Yes. I have connected them back to server. But it does not help. > > I am really sad now... I'll tell you what does not help. This email. Now that you know what you're trying to do, why don

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Krunal Desai
On Mon, Sep 19, 2011 at 9:29 AM, Fred Liu wrote: > Yes. I have connected them back to server. But it does not help. > I am really sad now... I cringed a little when I read the thread title. I did this on accident once as well, but "lucky" for me, I had enough scratch storage around in various siz

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
> > So... You accidentally added non-redundant disks to a pool. They were > not > part of the raidz2, so the redundancy in the raidz2 did not help you. > You > removed the non-redundant disks, and now the pool is faulted. > > The only thing you can do is: > Add the disks back to the pool (re-in

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Fred Liu > > For my carelessness, I added two disks into a raid-z2 zpool as normal data > disk, > -Original Message- > From: Fred Liu [mailto:fred_...@issi.com] > > I also did another

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread David Magda
On Mon, September 19, 2011 08:07, Edward Ned Harvey wrote: > This one missing feature of ZFS, IMHO, does not result in "a long way for > zfs to go" in relation to netapp. I shut off my netapp 2 years ago in > favor of ZFS, because ZFS performs so darn much better, and has such > immensely greater

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
> > You can add mirrors to those lonely disks. > Can it repair the pool? Thanks. Fred ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
> > This one missing feature of ZFS, IMHO, does not result in "a long way > for > zfs to go" in relation to netapp. I shut off my netapp 2 years ago in > favor > of ZFS, because ZFS performs so darn much better, and has such > immensely > greater robustness. Try doing ndmp, cifs, nfs, iscsi on n

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Edward Ned Harvey
> From: Fred Liu [mailto:fred_...@issi.com] > > Yeah, I also realized this when I send out this message. In NetApp, it is so > easy to change raid group size. There is still a long way for zfs to go. > Hope I can see that in the future. This one missing feature of ZFS, IMHO, does not result in "a

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Tomas Forsman
On 19 September, 2011 - Fred Liu sent me these 0,9K bytes: > > > > That's a huge bummer, and it's the main reason why device removal has > > been a > > priority request for such a long time... There is no solution. You > > can > > only destroy & recreate your pool, or learn to live with it that

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Fred Liu
> > That's a huge bummer, and it's the main reason why device removal has > been a > priority request for such a long time... There is no solution. You > can > only destroy & recreate your pool, or learn to live with it that way. > > Sorry... > Yeah, I also realized this when I send out this

Re: [zfs-discuss] remove wrongly added device from zpool

2011-09-19 Thread Edward Ned Harvey
> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > boun...@opensolaris.org] On Behalf Of Fred Liu > > For my carelessness, I added two disks into a raid-z2 zpool as normal data > disk, but in fact > I want to make them as zil devices. That's a huge bummer, and it's the main reason