All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@sun.com>
To: lustre-devel@lists.lustre.org
Subject: [Lustre-devel] SAM-QFS, ADM, and Lustre HSM
Date: Mon, 26 Jan 2009 12:47:44 -0700	[thread overview]
Message-ID: <20090126194744.GG3652@webber.adilger.int> (raw)
In-Reply-To: <9365C284-E805-46B6-95B2-226C1E2ED112@Sun.COM>

On Jan 23, 2009  10:46 -0600, Harriet G. Coverston wrote:
> SAM supports classification policy rules for files  -- (1) number of  
> copies, up to 4 (2) where to put the copies  on which vsn pools  -  
> disk and/or tape, local and/or remote) (3) when to make the copies  
> (time based archiving). You specify the policy in the archiver.cmd  
> file. You can group files for a policy rule by pathname, owner, group,  
> size, wildcard, and access time.
> 
> This brings up the question of restore. In case of a Lustre disk  
> failure, how are you going to restore your Lustre file system?

The initial HSM implementation is focussed mainly on the space management
issues, rather than backup/restore, though of course there is a lot of
overlap between the two and we have discussed backup aspects in the past.

There are two main issues that would need to be addressed:
- a Lustre-level policy on the minimum file size that should be sent to
  the archive.  For Lustre, there would be minimal space savings if a
  small file is moved to the archive, so that would only be useful in
  the archive-as-backup case.
  
  We would need to decide whether the HPSS implementation can/should
  handle aggregating multiple small files into a single archive object.
  I think that is useful, and this is one reason I advocate being able
  to pass multiple files at once from the coordinator to the agent.

- since the archive does not contain a copy of the namespace (it only
  has 128-bit FIDs as identifiers for the file) we would need to make
  a separate backup of the MDS filesystem (which is all namespace).
  There are already several mechanisms to do this, either using the
  ext2 "dump" program to read from the raw device, or to make an LVM
  snapshot and use e.g. tar to make a filesystem-level backup.  Both
  of these need to include a backup of the extended attributes.

> Agree. I don't see any SAM-QFS code changes required. The Lustre  
> copytool will write to HPSS using the HPSS APIs and write to SAM-QFS  
> with a ftp or pftp interface. This is minimum changes.

We weren't thinking of using an FTP interface to SAM, though I guess
this is possible.  Rather we were thinking of just mounting both QFS
and Lustre on a Linux client and using "cp" or equivalent tool.
Depending on the performance requirements, it might make sense to
use a smarter tool that avoids the kernel-user-kernel memory copies.

> I do see work to switch the HPSS APIs to ftp or pftp. If this is  
> already supported by HPSS, then, yes, no changes are required.

I think CEA is planning on writing a copytool using the HPSS APIs
directly.  There is also "htar" which is a tar-like interface to
HPSS, but I don't think that was anyone's intention to use.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

  reply	other threads:[~2009-01-26 19:47 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 [this message]
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

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=20090126194744.GG3652@webber.adilger.int \
    --to=adilger@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.