Revision 3 as of 2008-05-22 10:51:03

Clear message

TableOfContents

General concepts

Goodies

}}}

Working with an AFS+OSD cell

The following techniques are only useful when using OSD as a frontend for HSM:

}}} is useful for finding all objects stored on a given OSD

}}} allows the user to schedule tape restore operations

These are general techniques:

}}} makes an AFS fileserver (!) known to the OSDDB

This is how a fileserver and OSD server can share one machine:

How to migrate data from an OSD

  1. set a low write priority to stop fileservers from storing data on the OSD in question {{{osd setosd -wrprior 0

}}}

  1. use {{{vos listobj

}}} to identify the files (by fid) that have data on the OSD

  1. use {{{fs replaceosd

}}} to move each file's data to another OSD

Priorities and choice of storing OSD

}}}

Data held in volumes, DBs etc.

}}}

}}}

How to upgrade a cell to AFS+OSD

  1. set up OSDDB on the database servers
  2. set up pristine AFS+OSD fileservers + OSDs
  3. move volumes to the AFS+OSD fileservers
    • volserver is supposed to be armed with a -convertvolumes switch for that purpose

    • otherwise, set the osdflag by hand {{{vos setfields <volume> -osd 1

}}}

Policies

Open questions

Technical aspects

Performance

Notes on the code (changes)

The explanations are from vol/namei_ops.c. The new format is used as Linktable version 2, with the original format still being supported as version 1.

Debugging techniques