Hi Steve,
If you want to grow the existing file system, you would have to add
new servers each of which uses the new storage space. The new servers
should manage a non-overlapping set of handles with the existing set
of servers.
Then, you would have to umount the volume from all servers, stop all servers,
edit all the fs.conf to include the new server address/ports, restart
all servers and remount.
There is no way to do this online unfortunately right now..

So for example,
curreent servers are tcp://S1:P1 (storage space on /opt1), tcp://S2:P2
(storage space on /opt2) and you wish to add /opt3 to tcp://S3:P3.
NOTE: S1, S2, S3 can all be the same servers. P1, P2, and P3 need to
be different if they are all on the same server else they can be
same), So you would have to edit

<Aliases>

        Alias localhost TCP://S1:P1
        Alias localhost TCP://S2:P2
        Alias localhost TCP://S3:P3 <-- new

</Aliases>



<Filesystem>

        Name pvfs2-fs

        ID 93349254

        RootHandle 1048576

        <MetaHandleRanges>

                Range S1 4-4294967297
                Range S2 4294967298-8589934591
                Range S3 17179869180-21474836473 <-- new


        </MetaHandleRanges>

        <DataHandleRanges>

                Range S1 8589934592-12884901885
                Range S2 12884901886-17179869179
                Range S3 21474836474-25769803767 <-- new
        </DataHandleRanges>

        <StorageHints>

                TroveSyncMeta yes

                TroveSyncData no

        </StorageHints>

</Filesystem>

Hope this helps,
cc your emails to pvfs2-users from now on so that we could archive
these questions for everyone..
thanks,
Murali




-------Original Message-------



From: Murali Vilayannur

Date: 11/01/2007 17:18:58

To: Steve

Subject: Re: [Pvfs2-users] Pvfs2 questions



Hi Steve,



> I have set up pvfs2 on a single machine, with server, client etc all on
the

> one machine and exported the pvfs2 mount to windows with samba. It seems
to

> be working great for streaming an avi or mp3's. I have to try mutiples yet


> to hammer it.



Great to hear that..



> I cant seem to grasp adding another pvfs2 server on the same system with a


> 2nd pvfs storage area.



Create a new set of config files server.conf and fs.conf. If you are

Using pvfs2-genconfig edit the config files to change the port numbers

And file system identifiers and strings...

I.e.

<Filesystem>

Name pvfs2-fs <-- change this to a new name

ID 1408503068 <-- this should be different from the already

Existing file system

...

And you are good to go.

Remember to use the new name to mount the new storage space etc..

In fact you don't even need to use multiple servers. You can have

Multiple storage spaces

Exported from a single server...

Add more than 1 <FileSystem> contexts in the same config file and

Restart the servers...

If it is still unclear, let me know..

Also read through the pvfs2-quickstart to set this up quickly..

Thanks,

Murali



>

>

>

> Can you detail the steps or guide me ?

>

>

>

> Steve.

>

>

>

> -------Original Message-------

>

>

>

> From: Murali Vilayannur

>

> Date: 03/01/2007 17:39:43

>

> To: Steve

>

> Subject: Re: [Pvfs2-users] Pvfs2 questions

>

>

>

> Hi Steve,

>

>

>

> > Are the cache patches in the pipeline ?

>

> It will take a while for me to fix all the bugs, but most of the

>

> Infrastructure is in place. It needs some rigorous testing. I havent

>

> Been able to pay too much attention to that lately..

>

> Will get to it soon..

>

> Thanks,

>

> Murali

>

> >

>

> >

>

> >

>

> > Steve.

>

> >

>

> >

>

> >

>

> > -------Original Message-------

>

> >

>

> >

>

> >

>

> > From: Murali Vilayannur

>

> >

>

> > Date: 28/12/2006 18:55:04

>

> >

>

> > To: Steve

>

> >

>

> > Cc: [email protected]

>

> >

>

> > Subject: Re: [Pvfs2-users] Pvfs2 questions

>

> >

>

> >

>

> >

>

> > Hi Steve,

>

> >

>

> > Someone else had asked us earlier on using pvfs2 as a backend for a
music

>

> > farm.

>

> >

>

> > http://www.mail-archive.com/[email protected]/msg00422


>

> > HTML

>

> >

>

> >

>

> >

>

> > Over and beyond what is mentioned in the thread, another issue to
consider

>

>

> > is:

>

> >

>

> > Since we don't have a volume manager it is not really possible to grow

>

> >

>

> > The storage space online. It is possible to umount the storage space,

>

> >

>

> > Add new servers and restart everything.

>

> >

>

> > But there will be some downtime.

>

> >

>

> >

>

> >

>

> > If your music files are not going to change once encoded/ripped and if

>

> >

>

> > I can whip up the client-side immutable file cache patches into shape,

>

> >

>

> > We should get get pretty decent performance for your workload even

>

> >

>

> > With the samba/nfs re-export.

>

> >

>

> >

>

> >

>

> > Another alternative is to probably use pNFS with pvfs2 as the backend

>

> >

>

> > Which might cache client-side data traffic as well, not sure about the

>

> >

>

> > Caching aspect though..

>

> >

>

> > Hope this helps,

>

> >

>

> > Good luck,

>

> >

>

> > Murali

>

> >

>

> >

>

> >

>

> > On 12/28/06, Steve <[EMAIL PROTECTED]> wrote:

>

> >

>

> > > Hi,

>

> >

>

> > >

>

> >

>

> > > Its my desire to have a storage system that I can grow for music and

> video

>

> >

>

> >

>

> > > using old computers mapped to windows machine using samba. Done with a


>

> >

>

> > > hobbyist budget. Can pvfs2 do that ? Or pointers to anything else ?

>

> >

>

> > >

>

> >

>

> > > Whats the best/easiest distro to have a go at with for a novice ?

>

> >

>

> > >

>

> >

>

> > > Steve.

>

> >

>

> > >

>

> >

>

> > >

>

> >

>

> > > _______________________________________________

>

> >

>

> > > Pvfs2-users mailing list

>

> >

>

> > > [email protected]

>

> >

>

> > > http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

>

> >

>

> > >

>

> >

>

> >

>

> >

>

>

>



_______________________________________________
Pvfs2-users mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-users

Reply via email to