[Pvfs2-users] Upgrading from PVFS2 1.4.0 to 2.7.0
Sam Lang
slang at mcs.anl.gov
Thu Apr 3 19:13:45 EST 2008
Hi Paulo,
Ach! You're right that won't work. Since 2.6.3 we've moved to a
single config file format, and so your config files will have to be
converted to the new format first (I forgot that the migration tool
was updated to use the single config file as well). This can be done
with (yet another) admin tool called pvfs2-config-convert. The
arguments in your case should look something like this:
pvfs2-config-convert --servers CITIin{1-100} pvfs2-fs.conf pvfs2-
server.conf pvfs2-fs-new.conf
See --help for further info.
After running that tool, and verifying that the pvfs2-fs-new.conf file
looks sane, you should be able to perform the migration with pvfs2-
migrate-collection. Just pass the new config file as the single
argument.
Let me know if this doesn't work for you. To answer your specific
questions, NO the PVFS servers should _not_ be running while you're
performing the migration, and YES the migration tool should be run on
each of the servers (now with the same single config file).
Thanks,
-sam
On Apr 3, 2008, at 5:22 PM, Paulo Afonso Lopes wrote:
> Hi, Sam
>
> Thanks for the tip. I've tried, but it fails :-(
>
> Can you help?
>
>
> I have:
>
> No servers, neither 1.4.0 nor 2.7.0 running
>
> In your tip you've said restarting the servers; what do you mean?
> 1- Shoud I run the migration command with the 2.7.0 servers active and
> using the 1.4.0 configuration files?
>
> 2- If "yes", should I run migration in only one node, or on each I/O
> server in the cluster?
>
>
> Configuration files are in:
>
> /etc
> +-- pvfs2tab
> |
> +-- pvfs2
> |
> |
> Here i have: pvfs2-fs.conf, pvfs2-server.conf-CITIin1x
> (where x=1..4, for 4 hosts)
>
> I cd to /etc/pvfs2
>
> and ran:
> /local/Sfw/pvfs/bin/pvfs2-migrate-collection --verbose --all pvfs2-
> fs.conf
> pvfs2-server.conf-CITIin11
>
> Output follows:
> Error: could not find (null)/528c7104/collection_attributes.db.
> Error: src directory is not a known format.
> Error: all known collection version checks failed for
> collection pvfs2-fs (528c7104) in storage space (null)
> Error: failed to read version of src storage space
> for filesystem: pvfs2-fs (528c7104)
>
>
> The (null) should be /global/pvfs-raw, because that's where the
> storage
> space is!
>
> # ls -l /global/pvfs-raw
> total 24
> drwxr-xr-x 4 root root 4096 Mar 10 2006 528c7104
> -rw-r--r-- 1 root root 8192 Apr 3 11:19 collections.db
> drwx------ 2 root root 4096 Mar 19 2006 lost+found
> -rw-r--r-- 1 root root 8192 Apr 3 11:19 storage_attributes.db
>
> As we can see in
>
> # cat /etc/pvfs2/pvfs2-server.conf-CITIin11
> StorageSpace /global/pvfs-raw
> HostID "tcp://CITIin11:3334"
>
>
> Best Regards,
>
> paulo
>
> --
> Paulo Afonso Lopes | Tel: +351- 21 294 8536
> Departamento de Informática | 294 8300 ext.10763
> Faculdade de Ciências e Tecnologia | Fax: +351- 21 294 8541
> Universidade Nova de Lisboa | e-mail: *************
> 2829-516 Caparica, PORTUGAL
>
>
>
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-users/attachments/20080403/8611d5fb/smime.bin
More information about the Pvfs2-users
mailing list