RE: zpool can't bring online disk2 ----I screwed up

2012-09-23 Thread Jose A. Lombera
This is the error I got when I run the failover script. Sep 24 06:43:39 san1 hastd[3404]: [disk3] (primary) Provider /dev/mfid3 is not part of resource disk3. Sep 24 06:43:39 san1 hastd[3343]: [disk3] (primary) Worker process exited ungracefully (pid=3404, exitcode=66). Sep 24 06:43:39 san1

RE: zpool can't bring online disk2 ----I screwed up

2012-09-23 Thread Jose A. Lombera
Everytime I run this for any of the disk 3,4,5,6,7,8,9,10 Disk 1,2 shows in the /dev/hast [root@san2 /usr/home/jose]# hastctl role primary disk3 [root@san2 /usr/home/jose]# I got this in the logs. Sep 23 21:58:13 san2 hastd[2793]: [disk3] (primary) Provider /dev/mfid3 is not part of

RE: zpool can't bring online disk2 ----I screwed up

2012-09-23 Thread Jose A. Lombera
Please, some one help me….!!! I screw up big time. I was doing the Hastctl create disk2 But since I got some input out errors I decided to stop /etc/rc.d/hastd stop But since couldn’t stop disk1 and 9 I killed it. Restarted both servers. And now only /dev/hast shows no

RE: zpool can't bring online disk2

2012-09-23 Thread Freddie Cash
Sorry, can't help beyond that. I haven't played with HAST since it first hit the tree (back in 7-stable?). On Sep 23, 2012 8:10 PM, "Jose A. Lombera" wrote: > Freddie, > > ** ** > > Thanks for your great help, now makes so much sense. > > I still have a small problem, and I'm not sure if

Re: ZFS TRIM support committed to HEAD.

2012-09-23 Thread Marcelo Araujo
2012/9/24 Pawel Jakub Dawidek > FYI, I just committed TRIM support to ZFS, especially useful for > SSD-only pools. This is something I implemented long time ago, but was > now motivated to get back to it and commit it finally by some great > fixes and improvements from the zfsonlinux project (mad

RE: zpool can't bring online disk2

2012-09-23 Thread Jose A. Lombera
Freddie, Thanks for your great help, now makes so much sense. I still have a small problem, and I'm not sure if it is because hastd is running. I can't initialize (hastctl create disk2) disk2 This is what I did. 1.. zpool offline tank /dev/dsk/hast/disk2 2. zpool status -x [root@sa

Re: Call for bge(4) testers

2012-09-23 Thread YongHyeon PYUN
On Fri, Sep 21, 2012 at 08:34:29PM +0900, Wanpeng Qian wrote: > >On Thu, Sep 20, 2012 at 06:56:09AM +0900, Wanpeng Qian wrote: > >> Hi, > >> > >> >On Mon, Sep 17, 2012 at 09:37:21PM +0900, Wanpeng Qian wrote: > >> >> Hi, here is the dmesg output. > >> >> > >> >> bge0: mem > >> >> 0xfe9f-0xf

RE: zpool can't bring online disk2

2012-09-23 Thread Freddie Cash
Since it's a HAST device, you have to initialise the disk via hastctl. Once that is done, the /dev/hast/disk2 GEOM device node will be created. Then you can 'zpool replace' it. One step at a time. :) And you've skipped a few. 1. 'zpool offline' the defective disk 2. Physically remove the defect

Re: ZFS TRIM support committed to HEAD.

2012-09-23 Thread Mark Felder
Is this making it TRIM aware globally -- even on your cache and log devices? ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.or

Re: ZFS TRIM support committed to HEAD.

2012-09-23 Thread Glen Barber
Hi Pawel, On Sun, Sep 23, 2012 at 09:53:58PM +0200, Pawel Jakub Dawidek wrote: > FYI, I just committed TRIM support to ZFS, especially useful for > SSD-only pools. This is something I implemented long time ago, but was > now motivated to get back to it and commit it finally by some great > fixes a

Re: ZFS TRIM support committed to HEAD.

2012-09-23 Thread George Kontostanos
On Mon, Sep 24, 2012 at 1:25 AM, Pawel Jakub Dawidek wrote: > On Sun, Sep 23, 2012 at 10:24:53PM +0100, Bob Bishop wrote: >> Hi, >> >> On 23 Sep 2012, at 20:53, Pawel Jakub Dawidek wrote: >> >> > FYI, I just committed TRIM support to ZFS, especially useful for >> > SSD-only pools. [etc] >> >> Is a

Re: ZFS TRIM support committed to HEAD.

2012-09-23 Thread Pawel Jakub Dawidek
On Sun, Sep 23, 2012 at 10:24:53PM +0100, Bob Bishop wrote: > Hi, > > On 23 Sep 2012, at 20:53, Pawel Jakub Dawidek wrote: > > > FYI, I just committed TRIM support to ZFS, especially useful for > > SSD-only pools. [etc] > > Is any of this applicable to -STABLE or 8.x? I have a patch against sta

Re: zpool can't bring online disk2

2012-09-23 Thread Garrett Cooper
On Sun, Sep 23, 2012 at 1:42 PM, Jose A. Lombera wrote: > > I tried that, as you can see below, freebsd doesn’t have cfgadm > > Utility to un configure the device, according to, > http://docs.oracle.com/cd/E19253-01/819-5461/gbcet/index.html, I looked to > ports but there is no utility like that.

RE: zpool can't bring online disk2

2012-09-23 Thread compufutura -the computer of the future
Yanegomi, I tried that, as you can see below, freebsd doesn’t have cfgadm Utility to un configure the device, according to, http://docs.oracle.com/cd/E19253-01/819-5461/gbcet/index.html, I looked to ports but there is no utility like that. Pardon me, my knowledge is little. Can you p

Re: ZFS TRIM support committed to HEAD.

2012-09-23 Thread Bob Bishop
Hi, On 23 Sep 2012, at 20:53, Pawel Jakub Dawidek wrote: > FYI, I just committed TRIM support to ZFS, especially useful for > SSD-only pools. [etc] Is any of this applicable to -STABLE or 8.x? -- Bob Bishop r...@gid.co.uk ___ freebsd-current@freeb

RE: zpool can't bring online disk2

2012-09-23 Thread Jose A. Lombera
Yanegomi, I tried that, as you can see below, freebsd doesn’t have cfgadm Utility to un configure the device, according to, http://docs.oracle.com/cd/E19253-01/819-5461/gbcet/index.html, I looked to ports but there is no utility like that. Pardon me, my knowledge is little. Can yo

ZFS TRIM support committed to HEAD.

2012-09-23 Thread Pawel Jakub Dawidek
FYI, I just committed TRIM support to ZFS, especially useful for SSD-only pools. This is something I implemented long time ago, but was now motivated to get back to it and commit it finally by some great fixes and improvements from the zfsonlinux project (made by Etienne Dechamps). Note that this

Re: zpool can't bring online disk2

2012-09-23 Thread Garrett Cooper
On Sun, Sep 23, 2012 at 11:23 AM, Jose A. Lombera wrote: > Hello! all, > > I hope someone can help me out with this. > > Recently disk2 when bad, I have used > > Zpool offline tank hast/disk2 > > To bring the disk offline. > Then I replaced it. > > > > And use the command > > Zpool online tank has

zpool can't bring online disk2

2012-09-23 Thread Jose A. Lombera
Hello! all, I hope someone can help me out with this. Recently disk2 when bad, I have used Zpool offline tank hast/disk2 To bring the disk offline. Then I replaced it. And use the command Zpool online tank hast/disk2 But the disk show REMOVE. [root@san1 /usr/