All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nathaniel Rutman <Nathan.Rutman@sun.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] Lustre HSM - some talking points.
Date: Mon, 09 Feb 2009 16:48:52 -0800	[thread overview]
Message-ID: <4990CEF4.7040707@sun.com> (raw)
In-Reply-To: <3F93D192-9058-4393-8D78-B5E775F702B1@Sun.COM>

Colin Ngam wrote:
> If these are all agreeable, lets start drawing up the Spec.
>
sure

>> Basic Object SAMQFS - HSM for Lustre status Events(check state)
>>
>> 1.  Lustre perform "sls" command on Object SAMQFS Client.
>>
>> PS - We can have both User level command and API capabilities.
>>
>>   well technically, Lustre calls with the following information
>>   1.  Luster FID
>>   2.  Luster Opaque Meta Data
>>   (BTW, that's Lustre, not Luster)
>>   OSAM ignores fid and just uses OSAM identifier
>
> Right, Fiber/Fibre :-)
>
> I am missing something here .. Stage-In is to get a file from archive 
> .. why do we need Item 2?  Or is 2 OSAM Identifier?  If so, great.  I 
> like it.
Yes, item 2 is archive-specific (e.g. OSAM) identifier.
>
> In this case, we should trust Lustre FID.  The OSAM ID is for a very 
> fast search - direct index.
Agreed, the Lustre FID will be the authoritative value.  OSAM would 
internally use the OSAM identifier for the fast lookup, then verify the 
Lustre FID matches.  If not, we would have to do a slow search for the 
Lustre FID...
>> Syncing Object SAMQFS with Lustre
>> ---------------------------------
>>
>> Lustre File Identifier and Object SAMQFS Identifier can get out of 
>> sync - shit
>> happens.  We need syncing capabilities.
>>
>>   Only if we stored enough information to mismatch :)  If Lustre asks
>>   for a FID, and it gets back the wrong file, it doesn't / can't
>>   know.  Unless we store the FID inside the file it gets back and we
>>   verify it.
> If you always call with Lustre ID and OSAM ID, if we find that the 
> Lustre ID does not match the OSAM ID, because perhaps we have done 
> OSAM recovery and we are using a different OSAM ID to hold the Lustre 
> ID now, we can search for the inode that match the Lustre ID, fetch 
> the file and also update Lustre with the new OSAM ID.
Perfect.  We will also need a way of modifying the Lustre FID stored in 
the archive for the ultimate disaster recovery, which is equivalent to 
"pre-populating" a Lustre FS with files from the archive.  We create an 
empty file, mark it as "in archive", add the OSAM fid, and need to set 
the archive's Lustre FID to match the new empty file.

>
>>
>>
>>
>> Object SAMQFS - Freeing space on tapes
>> --------------------------------------
>>
>> We will need a way to determine with Lustre - conclusively that an 
>> archive is
>> no longer needed.
>>
>>   If Lustre policy manager says "rm", then Lustre has no way to ever
>>   get that file back.  There's no time-machine like old versions of
>>   directories.  Would be a cool feature though.  Maybe archive says
>>   "ok" to the rm, but secretly holds on to the file for some time in a
>>   special "recently deleted" dir?
> No namespace - no dir.
>
> If Lustre removes the file, we can delay the scrub.  If Lustre can 
> come back with the Lustre ID and OSAM ID, if it has not been scrubbed, 
> you can get it back.
>
Let's not worry about this for V1.  Once a file is rm'ed from Lustre, no 
way to get back Lustre ID or OSAM ID.

      reply	other threads:[~2009-02-10  0:48 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <D262D095-D17F-4119-B908-FBE502201835@Sun.COM>
     [not found] ` <49480788.7080306@sun.com>
     [not found]   ` <FCBC9AEA-C61C-4EEA-847B-FE283D19A7BF@Sun.COM>
     [not found]     ` <05e901c95fba$f7688df0$e639a9d0$@com>
     [not found]       ` <49481EEF.2010802@sun.com>
     [not found]         ` <EB7E4462-1CFF-4CCD-A38F-AE4D89108B59@Sun.COM>
     [not found]           ` <3DF0F4AF-F4D6-476E-98F7-CD912C49FC18@Sun.COM>
     [not found]             ` <2734A30F-2C76-4725-9F3A-29AD4245B7E8@Sun.COM>
     [not found]               ` <496FCA67.6000500@sun.com>
     [not found]                 ` <48D329C0-242E-4A5A-94C1-DF493BB25C2F@Sun.COM>
     [not found]                   ` <496FE8D4.2090908@sun.com>
     [not found]                     ` <BEB67402-7AFE-4BE1-A59C-050823AFC8E5@Sun.COM>
     [not found]                       ` <4977647D.5010503@sun.com>
     [not found]                         ` <4977E5BD.7000706@sun.com>
2009-01-22 20:46                           ` [Lustre-devel] SAM-QFS, ADM, and Lustre HSM Nathaniel Rutman
2009-01-22 22:55                             ` Andreas Dilger
2009-01-23 17:39                               ` Shipman, Galen M.
2009-01-26 19:57                                 ` Andreas Dilger
2009-01-29 15:36                                   ` Vicky White
2009-01-23 16:46                             ` Harriet G. Coverston
2009-01-26 19:47                               ` Andreas Dilger
2009-01-26 21:53                                 ` Nathaniel Rutman
2009-01-27  0:12                                 ` Harriet G. Coverston
2009-01-27  8:22                                 ` LEIBOVICI Thomas
2009-01-28 20:30                               ` Vicky White
2009-01-29 15:35                                 ` Vicky White
2009-01-30 14:26                                 ` Vicky White
2009-01-23 19:02                             ` Rick Matthews
2009-01-26 19:35                               ` Andreas Dilger
2009-01-26 22:13                                 ` Nathaniel Rutman
2009-01-27  2:26                                   ` Harriet G. Coverston
2009-01-31  0:21                                     ` Nathaniel Rutman
2009-02-02  4:00                                       ` Harriet G. Coverston
2009-02-02 14:56                                         ` Colin Ngam
2009-02-02 15:07                                           ` Harriet G. Coverston
2009-02-02 17:25                                             ` [Lustre-devel] Lustre HSM - some talking points Colin Ngam
2009-02-02 17:46                                               ` Vicky White
2009-02-02 18:00                                               ` Vicky White
2009-02-02 19:25                                                 ` Colin Ngam
2009-02-02 19:54                                                   ` Vicky White
2009-02-02 20:42                                                     ` Colin Ngam
2009-02-02 21:02                                                       ` Vicky White
2009-02-04  0:41                                               ` Nathaniel Rutman
2009-02-04  1:29                                                 ` Colin Ngam
2009-02-10  0:48                                                   ` Nathaniel Rutman [this message]

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=4990CEF4.7040707@sun.com \
    --to=nathan.rutman@sun.com \
    --cc=lustre-devel@lists.lustre.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.