Cres

updated

17 years ago

C

Cres

3 Posts

0

1528

August 5th, 2009 04:00

Resize filesystem

Hi all,

we are in the process of moving our old unused data with the help of Rainfinity FMA to another location.
The (production) files are on a slow SATA Pool.
After running the FMA archive process we have around 50% free space available.

Now we wan´t to create a new filesysteme on our FC Pool and migrate the old filesystem to the smaller new one.

nas_replicate won´t work becouse the filesystem size differs
same with nas_copy
Restoring a backup or using server_archive is a very time consuming process and we would like to have a downtime of a few minutes only instead of hours.

Does anyone have a idea how to move the data from the uge fs to the new small one without a large downtime?
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    394

    0

    Posted August 5th, 2009 07:00

    I'm afraid that's it

    since you cant use block-based copy like Replicator or nas_copy you need to work with file based copy

    like emcopy, robocopy, rsync, server_archive, NDMP backup/restore, ...

    can you check if your FMA has a rfcopy CLI command ?

    whatever you use, please test that it copies the stub's correctly
    You might also have to update the FMA - I'm not the expert on that
  • Cres

    3 Posts

    394

    0

    Posted August 5th, 2009 23:00

    I´m afraid I dont have this command. Looks like the FMA is the smalles rainfinity appliance.
    There is a fs_dhsm paramter to (hopefully) copy the stubs.

    One problem with file based copy is that we have - thanks to dfs - cifs paths longer than 256 characters. So there is not only the downtime, there is some work to do after the copy process.

    I´m still wondering why a replication to a smaller fs doesn´t work.
    If you have a replicated fs it is possible to resize only the source. After that you have one large source and a small destination - exaclty what I want to have.
    It seems to be only a build in option of nas_copy.
    Anyone know the hidden paramter? ;-)
  • Peter_EMC

    674 Posts

    394

    0

    Posted August 6th, 2009 01:00

    I´m still wondering why a replication to a smaller fs
    doesn´t work.


    Because it is block based :-)
  • Cres

    3 Posts

    394

    0

    Posted August 6th, 2009 08:00

    Sorry - a typo.
    The repllication will work of course. Only the initial copy is the problem.

    We've been through this pain - the only thing that
    worked effectively was emcopy which copies the stub
    files correctly.

    We then renamed the filesystems as required.
    Downtime was a couple of minutes.

    Pity you can't shrink filesystems with the Celerra
    like you can on some other NAS.

    Sheppie


    Thanks for the hint.
    When you synchronize the last time you have to stop sharing the fs, otherwise the user write files in a area which you already synchronized.

    As storage grows more and more one time it will be impossible to synchronize in a small time. Looks like someone wants to sell the big rainfinity ;-)
    I hope we get another solution one time..
  • sheppie

    1 Rookie

    •

    108 Posts

    394

    1

    Posted August 6th, 2009 08:00

    We've been through this pain - the only thing that worked effectively was emcopy which copies the stub files correctly.

    We then renamed the filesystems as required. Downtime was a couple of minutes.

    Pity you can't shrink filesystems with the Celerra like you can on some other NAS.

    Sheppie
  • borlox

    3 Posts

    394

    0

    Posted August 6th, 2009 12:00

    Now we tried to copy the stub files from "fs01" to "fs01new" (same Celerra!) with emcopy (V 4.0), but it fails... we could succeedd the following states, but not a correct stub file copy with the AO attribute (offline file) set:

    - completly no copy of the stub file
    - recalling of the orginal file
    - create the filename, but with 0kb size and no AO attribute

    We've done it mainly with the following copy command:

    emcopy \\nas\fs01 \\nas\fs01new /o /lg /lu /s /th 64 / c

    Also we tried it with the
    fs_dhsm -connection as backup and passthrough on both fs (source and destination fs)


    The Copy Server ist a Windows 2008 Standard SP1.

    The Copy User is a Domain Admin with local Admin and Backup Operator Rights on the Celerra (Member of the User groups).



    Any ideas?

    Message was edited by:
    Andreas Roettges
  • sheppie

    1 Rookie

    •

    108 Posts

    394

    0

    Posted August 7th, 2009 02:00

    I've noticed that the stubs don't get copied correctly unless backup is set to offline eg.

    fs_dhsm -modify -backup offline

    I can't tell from your email if you've tried that - you say that you've tried with the fs_dhsm -connection as backup. Do you mean offline?

    Sheppie
  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    394

    0

    Posted August 7th, 2009 06:00

    yes it needs to be set to offline (see emc153203)

    However for this customer it looks like its a problem when using a Windows 2008 client with SMB2 enabled
    When he uses an XP client that only does SMB1 the emcopy works as expected and just copies the stub