UNSOLVED

agalaiza

updated

13 years ago

A

agalaiza

2 Posts

0

1034

October 21st, 2013 05:00

Error when deleting a mountpoint

Hi,

I am having a problem when trying to delete a mountpoint:

server_mountpoint server_2 -delete /TEST

server_2 :

Error 39: server_2 : directory not empty

There are not chekpoints, exports,... there have been but not now.

If i delete the file system via celerra manager, an error appears when deleting the mountpoint but the file system is deleted.

How could i delete it?

Thanks

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    342

    0

    Posted October 21st, 2013 06:00

    Create an export (NFS or CIFS) for it and check whether its really empty

  • agalaiza

    2 Posts

    342

    0

    Posted October 21st, 2013 23:00

    The problem is that no filesystem is mount in that mountpoint, so i cannot export it.

    If i mount a filesystem, the files behind that mountpoint are hidden.

    But i solved:

    - I create an standalone CIFS server in datamover server_2.

    - I access \\server_ip\c$ and see all mountpoints (those which have fs mounted and those which not)

    - I see that TEST mount point has a subfolder called test2

    - I cannot delete \PRUEBA\test2 via CIFS (permissions issue) but...

    - I create a mountpoint in /TEST/test2

    - NOW i can delete /TEST/test2 and /TEST mountpoints

    That test2 subfolder was created when i gave an alias to an NFS export.

    Thanks

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    342

    0

    Posted October 22nd, 2013 03:00

    Makes sense

    A mountpoint is just a directory on the rootfs

    If its not empty then the command will not allow you to delete it (in order to prevent accidental data deletion)

    Yes that can happen with NFS aliasing – which just creates a (sym)link

    P.S.: you could have just NFS mounted the rootfs on the control station – its already exported for it