UNSOLVED

BryanRagon

updated

16 years ago

0

701

May 18th, 2011 13:00

Migration issues - offline inodes

On our Celerra NX4, we have migrated a large file system of 1.5 TB using a migration file system and migration plan inside Unisphere.  Looking at all the logs, it all migrated except for one directory.  Which is okay.  I want to convert the migration file system to a production file system.  However, we I try using unisphere it fails.  The event log states: "Fsid 17 inode 785948 of connection 0 is offline"

How do I get it to just abandon the very few amount of files that didn't migrate and convert this file system?  I tried:

fs_dhsm -connection file_1 -delete -all -recall_policy no
But received:

Error 4121: operation not supported for file systems of type mgfs

Any ideas?

  • gbarretoxx1

    2 Intern

    •

    366 Posts

    354

    1

    Posted May 18th, 2011 14:00

    Hi,

    I don't think you need to run the fs_dhsm command.

    You need to convert the mgfs filesystem to uxfs. This is explained on the CDMS manual that can be found on powerlink.

    But, I recommend you to open a support ticket as it might have other things to check.

    Gustavo Barreto.

  • 354

    0

    Posted May 19th, 2011 07:00

    There may be a better way to do this, to restart the migration to try to move the failed inodes, etc.  But here's what I did.

    All of this was done on the control station.

    Got the fid and inode from the server log:

    server_log server_2

    (or look through the unisphere event log for the data mover server_2)

    Find the name of the file system

    nas_fs -info id=

    Create an export for the migration file system via nfs so that you can mount it on the control station

    server_export server_2 -Protocol nfs -option rw=128.222.10.232:10.6.3.140:128.221.252.100,root=128.222.10.232:10.6.3.140:128.221.252.100,\
       access=128.222.10.232:10.6.3.140:128.221.252.100 /
    There's a warning in the manual that this may remove any other nfs shares you have, so if the migration file system is shared via nfs, be sure to add the appropriate subnets.
    as root:
    mkdir /mnt/
    mount server_2:/ /mnt/
    as nasadmin:
    find . -inum -print
    This gives you the full path of the trouble inode

    At this point I made the call to remove this inode, and manually migrate the file (or directory) using my own tools.

    First I disconnected the migration (this may not have been necessary because I think it had already been done.

    cd /nas/tools/cdms

    ./specialCmd disconnect server_2

    Then I went to the directory under the mountpoint that contained the trouble inode.

    cd /mnt/

    Then as root:

    rm

    Then as nasadmin:

    server_cdms server_2 -Convert

    Then unmount the file system, remove the mountpoint, and remove the nfs share.

    I've looked through my server logs of both the data mover and the control station.  I haven't seen any ill effects of this procedure.  However, YMMV.