All of lore.kernel.org
 help / color / mirror / Atom feed
From: Boaz Harrosh <bharrosh@panasas.com>
To: Idan Kedar <idank@tonian.com>
Cc: Johannes Schild <JSchild@gmx.de>, <osd-dev@open-osd.org>,
	<linux-nfs@vger.kernel.org>
Subject: Re: Questions about Exofs
Date: Tue, 15 May 2012 18:06:17 +0300	[thread overview]
Message-ID: <4FB270E9.5000904@panasas.com> (raw)
In-Reply-To: <CABpMAyJ9F5c52ntMCL1+gwDCcbMYMEkxVEHW7bfpjm6H5boSCg@mail.gmail.com>

On 05/15/2012 05:22 PM, Idan Kedar wrote:

> On Tue, May 15, 2012 at 4:42 PM, Boaz Harrosh <bharrosh@panasas.com> wrote:
<snip>

>> This should not be needed exofs is dependent on ore, dependent on raid456
>

> True, but when setting up the environment my goal was to have a
> working environment. If a bug is introduced to this dependence system
> and the module wouldn't be loaded, I would have to reluctantly spend
> time finding the problem, when I can actually live with such a bug if
> the workaround is simply loading the module manually. so as a policy,
> I always explicitly load the modules I need when setting up a pNFS
> environment.


I'm sorry about that, that was my mess. My intention was to make all these
dependencies totally transparent. As an implementation de-jur detail, not
user visible.

The reason I had it in script for a while was because in UML raid456.ko
had a bug, which probing it manually gave a 20% better chance of success
(Tree below has a patch that fixes that, on UML)

Please note that some versions of exofs need it and some don't. I have
removed it from my scripts, now.

<snip>

>> Are you sure you have an exofs FS at /mnt/pnfs ? please do an

>> # df -h /mnt/pnfs I want to see ?

>

> # df -hT /mnt/pnfs/
> Filesystem    Type    Size  Used Avail Use% Mounted on
> /dev/osd0    exofs     55G   12G   44G  21% /mnt/pnfs
>


OK I understand that now, the weird single device case. I don't
promise it will continue to work in Future. As a rule all devices
most have a network-unique OSD_NAME.

 
>>
>> Does it actually work? OK you know maybe it does. I can see this now.
>> If you have a single device it might work, I didn't realize this. I thought
>> the mkfs.exofs would not let you.
>>
>> For sure if you have more then one device (pnfs right?) then it will not
>> let you, because the devices have strict order in the device table. Device
>> names are not reliable and may change from login to login. You need some
>> kind of device-id
> Indeed it is a pNFS setup. And indeed I've had trouble when using more
> than one OSD.


I use a better script system for the cluster case, now, that I never pushed
that makes all this easier.

For one not setting osdname= at --format would explain the above.

> 
> By the way, several weeks I have tried setting up a RAID 5 environment
> with 8 OSDs, 1 mirror and RAID nesting. I then tried cloning and
> compiling the kernel tree over this pNFS-OSD-RAID. The result was that
> otgtd died, and I don't know why. It didn't dump core anywhere I could
> find and the only "log" it has - stdout - didn't give any useful info.
> I was going to inquire about this in a couple of weeks when I need to
> get this environment working, but since this issue came up, maybe we
> can somehow resolve it sooner.


8 OSDs with a mirror ? what was the mkfs.exofs command line you used?

And did you use one otgtd with 8 targets, or 8 targets (8 IP addresses)
with one target each, or a combination?

What is the otgtd platform? what file system? what HW and HD environment?

And yes otgtd has some instabilities.

There are two I can think off:
* Over xfs the --format command crashes the otgtd (aborted exit no
  crash dump) Debugging welcome.

* When lots of pnfs clients do heavy writing to the same otgtd, it
  times-out and disconnects.
  At Panasas we have a watch-dog that reloads it in a loop.
  I have only seen this on FreeBSD, in Linux it never happened
  to me.

Please give me more details on what you did before it exited
like that.


In anyway I pushed a tree I tested with at:
	git://git.open-osd.org/linux-open-osd.git

checkout the *merge_and_compile-3.3* branch. But in principal they are the
same:
	fs/exofs 		- Added autologin support
	fs/nfs/objlayout 	- Added autologin support
	fs/nfsd			- Same
	fs/nfs			- Few fixes that are in benny's tree are not in linux-open-osd

So it should all be the same. For a proper cluster setup you will probably
need my do-ect scripts which take a cluster descriptor file and does
generic loops on everything.

Thanks
Boaz

  reply	other threads:[~2012-05-15 15:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15  9:03 Questions about Exofs Johannes Schild
2012-05-15  9:48 ` Boaz Harrosh
2012-05-15 12:19   ` Johannes Schild
2012-05-15 13:09     ` Idan Kedar
2012-05-15 13:42       ` Boaz Harrosh
2012-05-15 14:22         ` Idan Kedar
2012-05-15 15:06           ` Boaz Harrosh [this message]
2012-05-15 16:21             ` Idan Kedar
2012-05-15 17:20               ` Boaz Harrosh
2012-05-16  8:07                 ` Idan Kedar
2012-05-16 12:15               ` Boaz Harrosh
2012-05-16 15:18                 ` Idan Kedar
2012-05-15 13:18     ` Boaz Harrosh
2012-05-16  9:00       ` Johannes Schild
2012-05-16 10:30         ` Boaz Harrosh
2012-05-21 13:07           ` Johannes Schild

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FB270E9.5000904@panasas.com \
    --to=bharrosh@panasas.com \
    --cc=JSchild@gmx.de \
    --cc=idank@tonian.com \
    --cc=linux-nfs@vger.kernel.org \
    --cc=osd-dev@open-osd.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.