Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-20 Thread Tim Post
On Wed, 2009-05-20 at 11:57 +0530, er krishna wrote: What about a new dameon, if we create vbladectl which will keep track of all the exported device based on interface path ( /dev/loop0 or eth0 ) release the attached resource or add new resource ? I think we can have a look for this

Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-19 Thread er krishna
I mean to say : vbladed 0 1 eth0 /dev/loop0 doesn't work in my case to detach the exported device. On Tue, May 19, 2009 at 2:09 PM, er krishna erkris...@gmail.com wrote: Dear All, Can anybody tell me how to detach exported block device through vblade/vbladed command. For ex: ./vblade 0 0

Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-19 Thread er krishna
Yes, I thought like that used aoe-flush; but it didn't work as per the expectation. Again I am repeating my steps for clearification: On server side: 1) To Export : vblade 0 0 eth0 /dev/loop0 2) To detach : vbladed 0 0 eth0 /dev/loop0 ps -eaf | grep vblade still shows the entry against

Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-19 Thread Ed Cashin
I don't understand why you mention vbladed and detach together. The vbladed is a wrapper for vblade that launches it as a daemon. Your aoe-flush command cannot work without a /dev/etherd/flush device file in place. Check the Linux Support Page at CORAID for distro-specific tips, where you'll

Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-19 Thread Ed Cashin
Oh. And as for the vblade process itself, just kill it like any other userland process. (And like any userland process, you'd send a SIGTERM, not a SIGKILL, so that the process has a chance to do any necessary cleanup on exit.) -- Ed

Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-19 Thread er krishna
Dear ED, Thanks for reply and sorry for all the unclear mails from myside. Actaully my requiremnt is to stop vblade service from server side ( or to remove the exported device ), Please tell weather its possible with vblade and if it is then how ? Any specific command or url will be most welcome.

Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-19 Thread Tim Post
Hi, On Tue, 2009-05-19 at 18:30 +0530, er krishna wrote: Dear ED, Thanks for reply and sorry for all the unclear mails from myside. Actaully my requiremnt is to stop vblade service from server side ( or to remove the exported device ), Please tell weather its possible with vblade and if

Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-19 Thread Sam Hopkins
Stop vblade/vbladed on the storage server. man kill There is no way to stop vblade with vblade. I suspect you're wanting something akin to the init.d scripts to start/stop a program. vblade doesn't do that. Use the kill command to stop the process. Sam

Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-19 Thread er krishna
Dear Sam, Thanks for the mail. I am doing this only. On Tue, May 19, 2009 at 8:06 PM, Sam Hopkins s...@coraid.com wrote: Stop vblade/vbladed on the storage server. man kill There is no way to stop vblade with vblade. I suspect you're wanting something akin to the init.d scripts to

Re: [Aoetools-discuss] vblade attachement detachment process

2009-05-19 Thread Tim Post
Hi, On Wed, 2009-05-20 at 09:40 +0530, er krishna wrote: Stop vblade/vbladed on the storage server. How ? Currently I am doing ps-eaf | grep vblade ; then I kill all the process; is there any other way ? You could try the command pidof vblade. This will print all vblade