Tags:
create new tag
view all tags

CERN µÄ lxplus ¼ÆËã»·¾³ºÍ castor µÄһЩ»ù±¾½éÉÜ

lxplus

lxplusÊÇCERNµÄ¹«¹²linuxµÇ¼½Úµã£¬ÔÚssh·þÎñ»ù´¡ÉÏÌṩÁ˾ø´ó²¿·ÖÈÕ³£linux¼ÆËã·þÎñ£¬ÒÔ¼°µ½ÆäËû·þÎñµÄÈë¿Ú¡£Ê¹ÓÃCERNÕ˺ż´¿ÉµÇ¼ʹÓÃ

EOS

EOSÊÇCERNÐÂÒ»´úµÄ´óÈÝÁ¿´æ´¢ÏµÍ³£¬»ùÓÚÓ²Å̵ÄϵͳʹµÃÏìÓ¦ËÙ¶ÈÓë±¾µØÓ²ÅÌ»ù±¾ÏàͬÁ¿¼¶£¬µ±È»ÈÝÁ¿ÊÜÏÞ£¬±È²»ÉϺóÃæÌáµ½µÄcastorϵͳ¡£

castor

castorÊÇCERNµÄ´óÈÝÁ¿´æ´¢ÏµÍ³£¬Æä»ù±¾Ë¼ÏëÊÇʹÓôÅÅ̺ʹŴøÁ½¼¶´æ´¢£¬Êý¾ÝÖ÷Òª·ÅÔÚ´Å´øÉÏ£¬ÐèҪʹÓõÄʱºò×Ô¶¯¼ÓÔص½´ÅÅÌÖУ¬ÕâÑùµÄ·½Ê½¿ÉÒÔʵÏÖ¿Õ¼äµÄÎÞÏÞÀ©³ä£¬Í¬Ê±±£³Ö³£ÓÃÎļþµÄ¸ßÐÔÄÜ¡£

Òò´Ë£¬castorÎļþµÄʹÓúÍƽ³£µÄ±¾µØÎļþ²»ÍêÈ«Ò»Ñù£¬Æä²Ù×÷½Ó¿Ú¿ÉÒÔ½üËƵؿ´×÷ÍøÂçÎļþ·þÎñϵͳ¡£ÒòΪÎļþƽʱ´æ´¢ÔÚ´Å´øÖУ¬castorÌṩÁËרÃŵÄÃüÁî²éѯºÍÐÞ¸ÄÎļþ״̬¡£´ËÍâ³£ÓõĻ¹Óг£¹æµÄÎļþÁÐ±í¡¢¸´ÖÆ¡¢É¾³ýÃüÁî¡£

ΪÁ˱£³Ö¸ßЧÂÊ£¨Ö÷ÒªÊǶÁȡЧÂÊ£©£¬¹Ù·½ÍƼöµÄʹÓ÷½Ê½ÊÇÏȲéѯÎļþ״̬£¬Èç¹ûÎļþÔÚ´Å´øÉÏÔòÏÈÇëÇóÎļþÌáÈ¡£¬µÈÎļþÌáÈ¡µ½´ÅÅÌÔÙ½øÐжÁÈ¡¡£ÌرðÊÇÓÐÐí¶àÎļþÒª²Ù×÷µÄʱºò£¬ÏÈÌáÈ¡ËùÓÐÎļþÉÔºóÔÙ·Ö±ð¶ÁÈ¡ÔòЧÂʱȽϸߡ£

ͨ¹ýcastor API£¬ROOTÒ²¿ÉÒÔ¶ÁдcastorÎļþ£¬ºÍʹÓÃcastorÃüÁî¶ÁдЧ¹ûÒ»Ñù£¬µ«ÊǸü¼Ó±ã½Ý¡£

ÁíÇë²Î¿¼ ¸ü¶à½éÉÜ

״̬

  • stager_qry -M /castor/.... ²éѯÎļþ״̬

¿ÉÄܵĽá¹û°üÀ¨ STAGED£¬STAGEIN£¬STAGEOUT£¬CANBEMIGR£¬INVALID£¬Not in Service Class µÈµÈ£¬ÆäÖÐÖ»ÓÐSTAGEDºÍCANBEMIGRÊÇÒѾ­ÌáÈ¡µ½´ÅÅÌ£¬¿ÉÒÔÖ±½ÓʹÓã»Èç¹ûÊÇSTAGEINÔòÊÇÕýÔÚ´Ó´Å´øÌáÈ¡£¬ÐèÒªµÈ´ý£»ÆäËûÇé¿öÔòÐèÒªÇëÇóÌáÈ¡¡£

  • stager_get -M /castor/.... ÇëÇóÌáÈ¡Îļþ

ÇëÇó·¢ËÍÒÔºóÂíÉÏ·µ»Ø£¬Òò´Ë¿ÉÒÔ¶ÔÒ»ÅúÐèÒª²Ù×÷µÄÎļþÒ»Æð·¢ËÍÇëÇó£¬È»ºóµÈÈ«²¿ÌáÈ¡ÒÔºóÔÙ½øÐÐÏÂÒ»²½²Ù×÷£¬ÕâÑù±È½ÏÓÐЧÂÊ¡£Èç¹ûÖ±½ÓʹÓúóÃæµÄrfcp½øÐи´ÖÆ£¬Ôò»áµÈ´ýºÜ³¤Ê±¼ä¡£

Îļþ²Ù×÷

  • rfdir rfio:///castor/....
  • nsls /castor/....

ÁгöĿ¼ÄÚÈÝ

¿ÉÒÔʹÓà -l Ñ¡ÏîÁгöÏêϸÐÅÏ¢£¬nslsÒ²¿ÉÒÔʹÓà -R Ñ¡ÏîÁгö×ÓÎļþ¼ÐµÄÄÚÈÝ

  • rfmkdir /castor/....
½¨Á¢Ä¿Â¼

CERNµÄcastorÓû§Ä¿Â¼ÔÚ /castor/cern.ch/user/<Óû§ÃûÊ××Öĸ>/<Óû§Ãû>£¬ÓÃÀ´·ÅÖøöÈËÊý¾ÝÎļþ¡£¿ÉÒÔʹÓà -m Ñ¡ÏîÉèÖÃÎļþ¼ÐȨÏÞ£¬Ê¹Óà -p Ñ¡ÏîÖÇÄܽ¨Á¢ÐèÒªµÄ¸¸Îļþ¼Ð

  • rfcp /castor/... /...
  • rfcp /... /castor/...
¸´ÖÆÎļþµ½±¾µØĿ¼£¬¸´ÖÆÎļþµ½castorĿ¼

Èç¹ûÎļþÔÚ´Å´øÉÏÔò»áµÈ´ýÎļþÌáÈ¡£¨Í¨³£ÐèҪʮ·ÖÖÓµ½Ò»Ð¡Ê±£©£¬Òò´Ë×îºÃÏÈÊÖ¶¯ÌáÈ¡ÔÙ¸´ÖÆ£¬ÌرðÊÇÓÐÐí¶àÎļþÒª²Ù×÷µÄʱºò£¬ÏÈÌáÈ¡ËùÓÐÎļþÉÔºóÔÙ·Ö±ð¶ÁÈ¡ÔòЧÂʱȽϸߡ£

×¢Ò⣺Èç¹ûÄãÊÇAMSÓû§£¬»áÓÐЩ²»Í¬£¬ÏÖÔÚÕýÔÚµ÷ÕûÆÚ£¬´ýÎȶ¨ÒԺ󽫻á¸üдËÎĵµ¡£

  • rfrm /castor/... ɾ³ýcastorÎļþ
  • rfrm -r /castor/.... ɾ³ýÕû¸öĿ¼


-- TangZhicheng - 2011-06-03

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2015-08-13 - TangZhicheng
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback