Discussion Locked

Samba NT pagefile.sys

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

When I try to view a NT share with gmc in Gnome, I get the following error

File cannot be stat-ed "pagefile.sys"

I believe this happens because the pagefile is such a special file. Is there a way to get around this problem? Can you make sambaignore the error? I can't move the pagefile.sys nor can I change the folder that I have to mount.

Any help or thoughts would be greatly appriciated.

9 replies

by zbrain75

I'm pretty sure Samba is not your problem. Pagefile.sys is your system paging file used for virtual memory storage in NT. I don't believe there is any way to copy it, but don't know why you would want to. If you try to copy it locally, you get a sharing violation message.

by stephenflynn

I'm not trying to copy the pagefile. I'm just trying to browse through my NT server and the linux box will hang if I view the root directory of my NT's drive G:. I also have the pagefile on drive G: of the server. But this is where all of my company's data is stored, so I have to be able to browse it in order to use linux on some other peoples desktop.

Thanks for the reply.

Stephen Flynn

by eugen prokopiev

I think, there no way to fix this problem by client's software (e.g. Linux Samba). So I strongly recommend you to move swap file into separate folder or disk partition.

by gregory pleau

I've never had an issue when using smbclient or mount -t smbfs from my Linux boxes when I go to the NT boxes.

Try using smbmount or smbclient (similar to ftp). Not the best but it works.

Or you can try putting
veto files = pagefile.sys
in your /etc/smb.conf file

This discussion is closed to new replies.