Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

2369

July 22nd, 2014 00:00

Deleting a file system with FLR

I have EMC Celerra NX4FC with 6.0.36-4 software. I was create file system with FLR-C function and used it several years. Today this file system not needed, i removed it share from CIFS fileserver. In process deleting filesystem from Celerra by clicking: Storage -> File Systems -> Right Click on FS ->choose "Delete" - I see this message: "The file systems selected for deletion contain at least one file system with FLR-C enabled. Protected files still exist on this file system and the file system cannot be deleted"

I don't know how to remove this file system or disable FLR (read that it can not be disabled). All my attempts change FLR attributes via FLR Toolkit software were failed, FLR Toolkit used DHSM but Celerra can not activate DHSM on FLR-enabled FS:

[nasadmin@celerra ~]$ fs_dhsm -list

id      name

[nasadmin@celerra ~]$ fs_dhsm -modify Classes -state enabled

Error 13159628841: DHSM cannot be enabled on FLR file system, fsid: 21.

[nasadmin@celerra ~]$

How to delete a file system?

!

8.6K Posts

July 23rd, 2014 02:00

That wont help if he has files with infinite retention on a FLR compliance file system

For FLR enterprise the infinite retention date can be reduced – for compliance infinite really means.

We do state that clearly in our documentation “Setting the value to infinite mean that the file can never be deleted”

Only way to get rid of the fs in that case is to delete all LUNs including the DART OS and re-install the system – which of course deletes all data on it.

2.8K Posts

July 22nd, 2014 01:00

Hi Dranichnikov,


The FLR Toolkit was designed specifically to work with the FLR feature in Celerra (also known as Celerra WORM).  CWORM works by changing the mtime on the file to the expiration date of the file and then setting the file to read only.  Once the file is set to read-only, it cannot be changed until the mtime expires.  FLR-E (Enterprise) allows you to then change the mtime again (to something before the current time) so that you can delete (but not modify) the file.  FLR-C (Compliance) does not allow you to change the mtime once the file has been locked.  The FLR Toolkit simply automates the process of setting the appropriate mtime and locking the files.



A file in an file system with file-level retention enabled is in one of three possible states: CLEAN, FLR, or EXPIRED. The administrator manages files in the FLR state by setting retention periods that, until expiration, prevent the files from being deleted. FLR files can be grouped by directory or batch process, thus enabling the administrator to manage the file archives on a file system basis, or to run a script to locate and delete files in the EXPIRED state. The administrator has the ability to delete an file system with file-level retention enabled, but cannot delete or modify files in the FLR state. The path to a file in the FLR state is also protected from modification, which means a directory on a file system with file-level retention enabled cannot be renamed or deleted unless it is empty.

To set the expiration for a file in a WORM-enabled file system so that it can be deleted, follow the primus: How to set the expiration for a file in a WORM-enabled file system so that it can be deleted.

8.6K Posts

July 22nd, 2014 03:00

Please see the FLR manual

A file system created as FLR-E (enterprise) can be deleted from the CLI

A file system created as FLR-C (compliance) cannot be deleted as long as there are non-expired files there.

This is by design.

You can check with nas_fs whether your fs is FLR-C or FLR-E

Rainer

July 22nd, 2014 22:00

A file system created as FLR-C, retention period of locked files - infinite. Files are not deleted or changed, thereby not removeв FS.

8.6K Posts

July 23rd, 2014 00:00

You cannot delete the file system

2.8K Posts

July 23rd, 2014 01:00

Hi Dranichnikov,

Rainer is right, you can't delete the file system with file-level retention enabled. However, you can set the access time of file system to a valid time which is in the near past where the file deletion is allowed, afterwards, you can delete this file system. I recommend you to refer to the primus which I mentioned in my last thread.

July 23rd, 2014 23:00

Thanks for your help! I will copy the data and reinstall DART

8.6K Posts

July 24th, 2014 02:00

I assume you know that its not simple and you do need EMC help for that

8.6K Posts

July 24th, 2014 03:00

In this case in order to re-install you need to manually delete the LUNs the Celerra is using and probably re-create the control LUNs correctly

No magic – but it has to be done correctly

July 24th, 2014 03:00

If reinstalation will affect to clariion, i'll will not do it.

No Events found!

Top