Can't delete cifs shares in GUI - is there a cli command ?
I go to the CIFS branch on the Celerra Manager tree, I select the CIFS share to delete and I hit delete, it warns me about losing access etc. and I hit o.k. The GUI refreshes and there it still is, nothing about it has changed except that now if you try to delete it, it says it's not there. I have 3 CIFS shares on the same file system and I'd like to make sure they are gone before I delete the Cifs VDM and the file system. What would be the CLI command to remove these shares, file systems etc? And the order of deletion is Share, Server, File System right? I've had this issue in the past and the only thing that clears it up is a control station reboot which is kind of weak.
dynamox
11 Legend
•
20419 Posts
•
87439 Points
405
1
Posted May 2nd, 2007 13:00
server_export server_3 -Protocol cifs -unexport -perm -name SHARENAME
2) permanently umount file system:
server_umount server_3 -perm FILESYSTEMNAME
3) delete mount point:
server_mountpoint server_3 -delete /mountpointname
4) delete file system:
nas_fs -delete FILESYSTEMNAME
5) un-join CIFS server from AD (if it is joined)
server_cifs -Unjoin compname=CIFSSERVERNAME,domain=domainname admin=DOMAINADMIN
6) delete CIFS VDM ( i believe it's the same command as regular CIFS)
server_cifs server_3 -delete compname=CIFSSERVER