[Lustre-discuss] problems after MDT migration

Alex Kulyavtsev aik at fnal.gov
Mon Oct 20 09:51:29 PDT 2008


Christopher Walker wrote:
> Hello,
>
> We're migrating our MDT/MGS and have hit a snag.  I've tarred all files 
> on the MDT and moved them to the new MDT, untarred them, and set their 
> extended attributes.  
Did you do (check manual)
    7. Remove the recovery logs (now invalid), run:

	rm OBJECTS/* CATALOGS

Also, you need to change server NID - see manual
   4.2.3.3 Changing a Server NID
   4.2.3.2 Running the Writeconf Command

General comment - it will be nice to put cross reference from backup 
section to server NID update section in the manual. We struggled with 
the same issue.
Alex.
> When I try to mount the MDT, however, I get the 
> following:
>
> [root at circemds1 ~]# mount -t lustre /dev/sdb1 /mnt/lustre/mdt/
> mount.lustre: mount /dev/sdb1 at /mnt/lustre/mdt failed: No such file or 
> directory
> Is the MGS specification correct?
> Is the filesystem name correct?
> If upgrading, is the copied client log valid? (see upgrade docs)
>
> while /var/log/messages shows:
> Oct 16 13:48:41 circemds1 kernel: LustreError: 
> 20338:0:(mgs_fs.c:201:mgs_fs_setup()) __iopen__ directory has no inode? 
> rc = -2
> Oct 16 13:48:41 circemds1 kernel: LustreError: 
> 20338:0:(mgs_handler.c:162:mgs_setup()) MGS: MGS filesystem method init 
> failed: rc = -2
> Oct 16 13:48:41 circemds1 kernel: LustreError: 
> 20338:0:(obd_config.c:332:class_setup()) setup MGS failed (-2)
> Oct 16 13:48:41 circemds1 kernel: LustreError: 
> 20338:0:(obd_mount.c:454:lustre_start_simple()) MGS setup error -2
> Oct 16 13:48:41 circemds1 kernel: LustreError: 
> 20338:0:(obd_mount.c:119:server_deregister_mount()) MGS not registered
> Oct 16 13:48:41 circemds1 kernel: LustreError: 
> 20338:0:(obd_mount.c:119:server_deregister_mount()) Skipped 1 previous 
> similar message
> Oct 16 13:48:41 circemds1 kernel: LustreError: 15e-a: Failed to start 
> MGS 'MGS' (-2).  Is the 'mgs' module loaded?
> Oct 16 13:48:41 circemds1 kernel: LustreError: 
> 20338:0:(obd_mount.c:1382:server_put_super()) no obd circelfs-MDTffff
> Oct 16 13:48:41 circemds1 kernel: Lustre: server umount circelfs-MDTffff 
> complete
>
> Why can't it load the MGS?  I don't see an entry for circelfs-MDTffff in 
> the CONFIGS directory -- shouldn't there be one?
>
>
> Thanks,
> Chris
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>   




More information about the lustre-discuss mailing list