Server for NFS deletes the partially copied file after failover

Hello, 
I found the strange behaviour in Server for NFS in the microsoft foc cluster. 
I have a foc cluster of two nodes(windows server 2k12r2) and server for nfs role is installed on both. now I did mount the export from the client(windows server 2k12r2) where client for nfs role is installed;
and a large file copying from the clients local drive to the mounted export is started.
Now during this copying operation I did switch the export to second node(moved it using the failover cluster manager wizard). and what I found is the copying interrupts with
error message "there is problem accessing file path" and on retry the copying starts all over again, I mean if the 50% was copied previously then
after retry it will start from 0%.
I watched the system events on second node with the "procmon" and I found; after the disk gets attached to the second node, the delete operation is get called for this file.
Now what I need to know is why this delete is been called and who made this called. In the stack of the delete operation I could track the nfssvr.sys but not sure what attributes of that file made it to call the
delete. 

Hi,
It takes us some time to create a failover cluster for testing.
We tried to copy a large folder which contains many files, and a large VHD file we created.
The result is the same - it will not restart the copy after failover. Thus as you said it is not caused by design and it should be an issue on your side which causes a Delete and redo the copy.
Is there any application or specific network settings could terminate a disconnected copy process? Currently I do not have much information about this. 
Edit: I noticed that it is NFS share and in our test we are using SMB share. Will do the test again to see if any difference. 

Similar Messages

  • Is it possible to lose all calendar settings on exchange server if you delete the Library/Calendar file?

    I set up on Office 2011 for mac calendars for multiple direct reports that I have given access to a deligate. She will put info into the calendar and it will show up on her side, but not mine, and vise versa. All on Exchange 2007 server. So I read a piece that said to delete the Library/Calendar files and it will reconnect as it sees there is not one. 
    Now I have no calendar or appointments. What to do.
    Bye the way the reason I was doing this was I was tired of Office and was migrating back to iCal and Mail.app

    hargate2338 wrote:
    OK fromsouth.
    Is the CalDAV account information specific to me or would it be specific to the author of the calendar who initially sent out the invite?
    Will all the petinent updating and manipulating permissions remain as they were intended per the original invite?
    Many thanks again.  I was hesitant to post thinking I was missing something simple and standard.  Thanks for your quick and courteous response.
    You are welcome.
    Since shared information is temporary yours (temporary while being shared) you should be fine. CalDav is just underlying exchange protocol. So as long as you can see that info shared -CalDav is just a delivery vehicle.
    As far as permissions - yes they are going to stay. Thousands of us share for example Google calendars, cause Google integrated calendars sync in IOS mail. The question is just as simple as if your exchange supports it and if they(your IT) are going to allow your ipad/iphone connect to it.(Make sure to get their instructions if your exchange requires specific setup)

  • Can I delete the actual .pkg files after they've been installed?

    Hi,
    My hard drive is totally full and I'm going through deleting everything thats accumulated over the years. I've found the packages/.pkg files that get downloaded automatically taking up 2Gb of space and I would really like to get rid of them. I've got the receipts folder, but the actual downloaded files are all still there. Can I delete them without ruining my computer?
    Thanks,
    J

    Old discussion but probably still applies:
    http://forums.macrumors.com/showthread.php?t=136148

  • New files and folders on a Linux client mounting a Windows 2012 Server for NFS share do not inherit Owner and Group when SetGID bit set

    Problem statement
    When I mount a Windows NFS service file share using UUUA and set the Owner and Group, and set the SetGID bit on the parent folder in a hierarchy. New Files and folders inside and underneath the parent folder do not inherit the Owner and Group permissions
    of the parent.
    I am given to understand from this Microsoft KnowledgeBase article (http://support.microsoft.com/kb/951716/en-gb) the problem is due to the Windows implmentation of NFS Services not supporting the Solaris SystemV or BSD grpid "Semantics"
    However the article says the same functionality can acheived by using ACE Inheritance in conjunction with changing the Registry setting for "KeepInheritance" to enable Inheritance propagation of the Permissions by the Windows NFS Services.
    1. The Precise location of the "KeepInheritance" DWORD key appears to have "moved" in  Windows Server 2012 from a Services path to a Software path, is this documented somewhere? And after enabling it, (or creating it in the previous
    location) the feature seems non-functional. Is there a method to file a Bug with Microsoft for this Feature?
    2. All of the references on demonstrating how to set an ACE to achieve the same result "currently" either lead to broken links on Microsoft technical websites, or are not explicit they are vague or circumreferential. There are no plain Examples.
    Can an Example be provided?
    3. Is UUUA compatible with the method of setting ACE to acheive this result, or must the Linux client mount be "Mapped" using an Authentication source. And could that be with the new Flat File passwd and group files in c:\windows\system32\drivers\etc
    and is there an Example available.
    Scenario:
    Windows Server 2012 Standard
    File Server (Role)
    +- Server for NFS (Role) << -- installed
    General --
    Folder path: F:\Shares\raid-6-array
    Remote path: fs4:/raid-6-array
    Protocol: NFS
    Authentication --
    No server authentication
    +- No server authentication (AUTH_SYS)
    ++- Enable unmapped user access
    +++- Allow unmapped user access by UID/GID
    Share Permissions --
    Name: linux_nfs_client.host.edu
    Permissions: Read/Write
    Root Access: Allowed
    Encoding: ANSI
    NTFS Permissions --
    Type: Allow
    Principal: BUILTIN\Administrators
    Access: Full Control
    Applies to: This folder only
    Type: Allow
    Principal: NT AUTHORITY\SYSTEM
    Access: Full Control
    Applies to: This folder only
    -- John Willis, Facebook: John-Willis, Skype: john.willis7416

    I'm making some "major" progress on this problem.
    1. Apparently the "semantics" issue to honor SGID or grpid in NFS on the server side or the client side has been debated for some time. It also existed as of 2009 between Solaris nfs server and Linux nfs clients. The Linux community defaulted to declaring
    it a "Server" side issue to avoid "Race" conditions between simultaneous access users and the local file system daemons. The client would have to "check" for the SGID and reformulate its CREATE request to specify the Secondary group it would have to "notice"
    by which time it could have changed on the server. SUN declined to fix it.. even though there were reports it did not behave the same between nfs3 vs nfs4 daemons.. which might be because nfs4 servers have local ACL or ACE entries to process.. and a new local/nfs
    "inheritance" scheme to worry about honoring.. that could place it in conflict with remote access.. and push the responsibility "outwards" to the nfs client.. introducing a race condition, necessitating "locking" semantics.
    This article covers that discovery and no resolution - http://thr3ads.net/zfs-discuss/2009/10/569334-CR6894234-improved-sgid-directory-compatibility-with-non-Solaris-NFS-clients
    2. A much Older Microsoft Knowledge Based article had explicit examples of using Windows ACEs and Inheritance to "mitigate" the issue.. basically the nfs client "cannot" update an ACE to make it "Inheritable" [-but-] a Windows side Admin or Windows User
    [-can-] update or promote an existing ACE to "Inheritable"
    Here are the pertinent statements -
    "In Windows Services for UNIX 2.3, you can use the KeepInheritance registry value to set inheritable ACEs and to make sure that these ACEs apply to newly created files and folders on NFS shares."
    "Note About the Permissions That Are Set by NFS Clients
    The KeepInheritance option only applies ACEs that have inheritance enabled. Any permissions that are set by an NFS client will
    only apply to that file or folder, so the resulting ACEs created by an NFS client will
    not have inheritance set."
    "So
    If you want a folder's permissions to be inherited to new subfolders and files, you must set its permissions from the Windows NFS server because the permissions that are set by NFS clients only apply to the folder itself."
    http://support.microsoft.com/default.aspx?scid=kb;en-us;321049
    3. I have set up a Windows 2008r2 NFS server and mounted it with a Redhat Enteprise Linux 5 release 10 x86_64 server [Oct 31, 2013] and so far this does appear to be the case.
    4. In order to mount and then switch user to a non-root user to create subdirectories and files, I had to mount the NFS share (after enabling Anonymous AUTH_SYS mapping) this is not a good thing, but it was because I have been using UUUA - Unmapped Unix
    User Access Mapping, which makes no attempt to "map" a Unix UID/GID set by the NFS client to a Windows User account.
    To verify the Inheritance of additional ACEs on new subdirectories and files created by a non-root Unix user, on the Windows NFS server I used the right click properties, security tab context menu, then Advanced to list all the ACEs and looked at the far
    Column reflecting if it applied to [This folder only, or This folder and Subdirectories, or This folder and subdirectories and files]
    5. All new Subdirectories and files createdby the non-root user had a [Non-Inheritance] ACE created for them.
    6. I turned a [Non-Inheritance] ACE into an [Inheritance] ACE by selecting it then clicking [Edit] and using the Drop down to select [This folder, subdirs and files] then I went back to the NFS client and created more subdirs and files. Then back to the
    Windows NFS server and checked the new subdirs and folders and they did Inherit the Windows NFS server ACE! - However the UID/GID of the subdirs and folders remained unchanged, they did not reflect the new "Effective" ownership or group membership.
    7. I "believe" because I was using UUUA and working "behind" the UID/GID presentation layer for the NFS client, it did not update that presentation layer. It might do that "if" I were using a Mapping mechanism and mapped UID/GID to Windows User SIDs and
    Group SIDs. Windows 2008r2 no longer has a "simple" Mapping server, it does not accept flat text files and requires a Schema extension to Active Directory just to MAP a windows account to a UID/GID.. a lot of overhead. Windows Server 2012 accepts flat text
    files like /etc/passwd and /etc/group to perform this function and is next on my list of things to see if that will update the UID/GID based on the Windows ACE entries. Since the Local ACE take precedence "over" Inherited ACEs there could be a problem. The
    Inheritance appears to be intended [only] to retain Administrative rights over user created subdirs and files by adding an additional ACE at the time of creation.
    8. I did verify from the NFS client side in Linux that "Even though" the UID/GID seem to reflect the local non-root user should not have the ability to traverse or create new files, the "phantom" NFS Server ACEs are in place and do permit the function..
    reconciling the "view" with "reality" appears problematic, unless the User Mapping will update "effective" rights and ownership in the "view"
    -- John Willis, Facebook: John-Willis, Skype: john.willis7416

  • When trying to 'Consolidate Files' via iTunes I get the message "Copying files failed. The name was invalid or too long."

    I am trying to copy my entire iTunes library and everything in it from my PC Desktop to my PC Laptop using the "External Drive" method as shown on the Apple website. On Part 1 (5) I am told to consolidate files. When attempting to do this I get the message "Copying files failed. The file name was invalid or too long."
    How do I resolve this?

    I have just been having this problem and it has been driving me mad.   The error message doesn't tell you which file is causing the problem so you can't fix it and it leaves your libray in a state of limbo with some files copied into the new location and some in the old location.  After many hours I found a surprisingly quick and simple solution.
    1) in iTune create a smart play list that includes everything that was added before tomorrows date.  This will include everything.
    2) Right click this playlist and export it as a text file to produce a tab delimited file.
    3) Import this into a spread sheet, or just view it in a text editor with line wrap turned off.  What you are interested in is the last column (or end of the line in a text editor).  This gives you the path of the file associated with each entry in the library. 
    The path of the files that have already been copied successfully will start with the new location for your media files you specified.  Scroll thru the rows until you get a blank path.  If you start getting paths starting with the old Media file location then you went to far and start scrolling back.
    The row with the blank path was the file that failed.  Move back to the start of the row to find out more about it.  In my case it was a podcast with a very long name. I just deleted that podcast from iTunes.
    4) Restart the consolidation by choosing File, Library as you did before and the process starts again where it left off.
    5) If it fails again on another file just repeat the process

  • I have backed up my disk using Time Machine.  Now I want to delete the backed-up files from my hard drive.  But when I do and reconnect the external hard drive, the files are also deleted on that.  What do I do?

    I have backed up my disk using Time Machine.  I then deleted the back-up files from my MacBook hard drive.
    I then reconnected my external hard drive and find the files I deleted from my hard drive are also deleted from
    my external hard drive.  Can someone tell my what what happened?  I'm confused.

    Hello,
    Time Machine is not a good way to do that, when it eventually needs more room it deletes old Backups to make room.
    If you really want to keep Files but remove them from the Internal Drive, then I'd get another external drive to copy or clone them to that is not used for TM.

  • I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Help please

    I want to open a domain.site2 file outside the default folder (User/Library/Application Support/iWeb) with iWeb11, but iWeb only opens the domain file in the default folder. If I delete the default domain file, iWeb wants to create a new site. Does anyone have the same problem or know how to fix it?

    In Lion the Finder folder is now invisible.  To make it permanetely visible enter the following in the Terminal applicaiton window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    For opening your domain file in Lion for the first time or to switch between multiple domain files  Cyclosaurus has provided us with the following script that you can make into an Applescript application with Script Editor. Open Script Editor, copy and paste the script below into Script Editor's window and save as an applicaiton.
    Just launch the applicaiton, find and select the domain file you want to open and it will open with iWeb. It modifies the iWeb preference file each time it's launched so one can switch between domain files.
    do shell script "/usr/bin/defaults write com.apple.iWeb iWebDefaultsDocumentPath -boolean no"delay 1
    tell application "iWeb" to activate
    OT

  • By mistake i deleted the Propertysheet.properties file in VC admin

    Hi All,
    I have an issue in visual composer, I did the following.. then i got the error when I logged into VC that "Proxy error : Server error : Failed to read models list"
    1.  Log on to Visual Administrator. 
    2.  In the left panel, make sure the Global Configuration tab is chosen.
    3.  In the tree, expand the Services node and choose the Configuration Adapter service. In
    the main pane, in the Display configuration tab, the Configurations tree is displayed.
    4. Expand the development server node to display the client workspaces.
    Under client workspaces i have gone to my login name under that by mistake i deleted the Propertysheet.properties file.
    Then i refreshed the my model name, then  the Propertysheet.properties file came.
    Still I am getting the error. Can you help me out... Its very urgent to resolve this.. I will give points for good answers.
    Thanks
    Suresh.

    Hi,
    does this only happen for your user or for all?
    Anja

  • Reverting to Original does not delete the backup copy

    Hi,
    I am new to Mac. I have late last year's Macbook Pro that came with iPhoto '09.
    When I mark certain photos to revert them to original, I am expecting that it would delete the modified copy from the Modified folder in the iPhoto library. In many cases I am seeing that it still keeps the picture in Modified folder.
    Why does it not always remove the picture from Modified folder after I have done a Revert to Original?
    Thanks
    MS

    Make a temporary, duplicate copy of the library and try the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library.
    Select the options identified in the screenshot.
    Launch iPhoto and try the revert to original again.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    Download iPhoto Library Manager and launch.
    Click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option
    In the next  window name the new library and select the location you want it to be placed.
    Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • How can I delete the photos or files in my iCloud storage that is no longer needed?

    How can I delete the photos or files in my icloud storage that is no longer needed?

    Explain how it didn't work and what you are trying to delete.  Since icloud doesn't store photos except for those in a backup (then delete the backup); photos in photo stream do not count towards your storage limit.

  • I can't back up my iPhone4.  When was I syncing, My computer hang. I restart computer. Itune told me there is an error, delete the back up file and try again. But there are no back up file to delete in preference-device. Please help!

    I can't back up my iPhone4.  When was I syncing, My computer hang. I restart computer. Itune told me there is an error, delete the back up file and try again. But there are no back up file to delete in preference-device. Please help!

    Thank you for answering my question. If I reinstall itune, is it mean that I need to install music, apps, video...everything in itune again? also intall everything in my iphone again?

  • I need help re-installing CS4 production premium. Error code says "Installation database is corrupt" but if I try to delete the caps.db file I can't even find one. Furthermore, I tried Adobe Cleaner and it made no difference. HELP!

    I need help re-installing CS4 production premium (for PC). Error code says "Installation database is corrupt" but if I try to delete the caps.db file I can't even find one. Furthermore, I tried Adobe Cleaner and it made no difference. HELP!

    I need help re-installing CS4 production premium (for PC). Error code says "Installation database is corrupt" but if I try to delete the caps.db file I can't even find one. Furthermore, I tried Adobe Cleaner and it made no difference. HELP!

  • How to reduce the size of file after delete some datas?

    The size of the database file isn't smaller than ago after delete some data from database.
    How to reduce the size of file after delete some datas?

    Hi,
    What BDB release are you using? If it's one of the latest releases, then what you are looking for is the DB->compact() method:
    http://download.oracle.com/docs/cd/E17076_01/html/api_reference/C/dbcompact.html
    The DB->compact() method compacts Btree, Hash, and Recno access method databases, and optionally returns unused Btree, Hash or Recno database pages to the underlying filesystem. Please let me know if it helps.
    Bogdan Coman

  • Can I delete the my music file on my computer

    I have over 11K songs on my i tunes and almost 30k songs on my music.  It's taking up too much room on my computer.  Can I delete the my music files just have the I tunes,   or delete the my music file and then drag the music from I tunes and put it in the my music.
    I sure there are a lot of doubles in the my music file.
    I also have an external hard drive.
    Can you please help  me.
    Thank you so much.
    Sally

    Yes... With iTunes closed move the entire iTunes folder from <User's Music> to the top of the external drive, e.g. as X:\iTunes where X:\ is the drive letter, then click the icon that starts iTunes and immediately press and hold down the shift key and keep holding until prompted to choose or create a library. Click choose then browse to and open the file X:\iTunes\iTunes Library.itl - your library should show exactly as before. Double check that the media folder under Edit > Preferences > Advanced now reads X:\iTunes\iTunes Media. (I'm assuming here that your library won't be old enough for the media folder to have been called iTunes Music as it was back on iTunes 8.) Once you've checked that use File > Library > Organize Library > Consolidate files in case the library is connected to any files stored outside of the media folder. This brings in copies of those files.
    If you think there is media in <User's Music> that was not previously connected to the iTunes library you can move this into X:\iTunes\Automatically Add to iTunes otherwise you can discard files that you know to be duplicates.
    As for duplicates already within the library, or created by moving the remnants of <User's Music> into Automatically Add to iTunes, Apple's official advice is here... HT2905 - How to find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls. (Such as lost playlist membership!)
    Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created.  If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.
    Use my DeDuper script if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background and please take note of the warning to backup your library before deduping.
    (If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed)
    tt2

  • To save room on my hard drive, once (fcp1).dv files have been created, can I delete the original .dv files?

    I've got a lot of what seems to be redundant media files on my hard drive, but I'm not sure how necessary all these files really are.  To save room, once (fcp1).dv files have been created, can I delete the original .dv files?

    This is FCP X related.  I haven't used Final Cut Studio.  Regardless, for some reason I have many clips twice.  The only difference is in the name, not in the kind or size of the clip.  For instance, I've got a "clip-2008 09:25:11.dv" and a "clip-2008 09:25:11(fcp1).dv". 
    I don't know how that clip was created, but all my clips have been duplicated that way.  Now it may be that I ingested them in iMovie and then used those clips in FCP X - or perhaps when FCP X says this new version "needs to convert your clips".  But the point is that half my media space is taken up by these duplicate files, and I would like to remove one or the other of those duplicates.
    Any suggestions?  Thanks.

Maybe you are looking for