[Solved]Slow samba mount of Windows 8
I'm trying to mount a samba share of a windows 8 machine. Connection works and I can mount it, but it rather slow. The wiki page suggests adding vers= to the options, and the man page for mount.cifs says that windows 8 is 3.0. However I get an error when attempting to add that option I get the following error:
# sudo mount.cifs //NAS/Media /mnt/NAS -o vers=3.0
mount error(112): Host is down
Is this a syntax error, or something else?
Solved it, ahould be vers=3
Last edited by fukin_jim (2014-04-04 01:59:49)
Slowness is most likely caused by the Packages and/or drivers added to the MDT console. If you don't need the patches at boot time, remove them from the MDT console, and add a WSUS server instead. See if that speeds things up...Otherwise, yea look at the
dism logs to determine what is slowing down the machine, share the logs on OneDrive if you still need help.
Keith Garner - Principal Consultant [owner] -
http://DeploymentLive.com
Similar Messages
-
Hi, I'm trying to mount a windows share but all I can do after mounting is seeing the folders and files on the share. I can not read any file, I get "permission denied". On windows everything should be set to allow for the files to be read (if my brother didn't forget, overlooked anything). I even disabled the windows firewall.
The windows 2000 computer can access the arch linux samba shares without a problem.
I'm running arch current up to date.
Here's how I mount, as root:
mount -t smbfs -o username=gast,password=gast //192.168.0.132/Muziek /mnt/LW/Muziek/
(gets mounted succesfully, but I can't read the files)
Here's my /etc/samba/smb.conf:
#Global Parameters
[global]
workgroup = THUIS
netbios name = gel
passdb backend = smbpasswd
force create mode = 0770
force directory mode = 0770
wins support = yes
case sensitive = no
encrypt passwords = yes
security = share
server string = Linux
[share]
path = /mnt/hda1
public = yes
only guest = yes
writable = no
printable = no
create mask = 777
Can anyone help me out? I've been trying to get it working for at least a few hours :s.You are right. I did not need the dir_mode and file_mode, and I did have full control enable, but no dice.
However it seems there is a folder aliasing feature, that was introduced in windows vista (though I don't recall the windows name for the feature and I am running win7), I believe to be the problem. For example, if I share and mount C:\Users I have access to C:\Users\myuser and can create folders and documents there. However the predefined folders Music, Documents, Pictures I have no write permission inside of.
Next if I share and mount C:\Users\myuser I have the same result for those folders however now I can see additional folders one is 'My Documents' in this folder I have write access and changes are mapped back to the Documents Folder. Additionally there are now showing in the Documents folder, I had no write access to, additional folders which also weren't showing before 'My Music', 'My Pictures', and 'My Videos' in which I now have write access and they map back as well.
When I connected to the shares from an XP machine I could simply access the original folders. -
[SOLVED]trying to mount disk so all users can read write
I'm trying to mount my hard drive to /mnt/2TB automatically at startup. My /etc/fstab looks like this...
/dev/sda2 / ext4 errors=remount-ro 0 1
/dev/sdb1 /mnt/2TB ntfs auto,exec,rw,users,uid=1000 0 0
ls / shows...
drwxrwxrwx 3 root root 4096 Jun 30 20:09 mnt
ls /mnt shows...
drwxrwxrwx 1 root root 4096 Jun 20 21:21 2TB
When I restart the disk mounts fine but I cannot write anything to disk. I want to mount this disk so that anyone can read, write, and execute on it. I specified these options in my fstab. What options am I missing?
EDIT:
I figured it out. I had to install ntfs-3g. Once I did that I changed my fstab to this...
/dev/sda2 / ext4 errors=remount-ro 0 1
/dev/sdb1 /mnt/2TB ntfs-3g defaults,uid=1000 0 0
Then I changed /mnt permissions to ...
drwxr-xr-x 3 root root 4096 Jun 30 20:09 mnt
Then I changed /mnt/2TB permissions to...
drwxrwxrwx 1 necbot users 4096 Jun 20 21:21 2TB
Works great!
Last edited by necbot (2014-07-02 00:07:43)I ran across this in the ntfs-3g manual which might be of some interest. It appears that adding "permissions" to the mount options for ntfs-3g might accomplish roughly what you want, but you may have to perform some work to get it operational. Likewise, the Windows ACL may interfere and a quick glance seems to me to suggest that you might have to tweak things from Windows to get the permissions working well.
I personally have all of my Windows partitions mounted under /windows, but I can see why that isn't an ideal solution if you're dabbling in Arch or have things you want to more easily share in one direction.
Hope this helps somewhat even though you've already marked the topic as solved. -
Hi all,
I want to mount my Windows c:\ drive on my Linux server using samba. Do I need to install samba on both the linux and windows server?
Thank you very much, in advance.Hi dude,
For the mean time or as an alternative, can I use batch ftp to backup my linux file to windows?
I tried to command ftp from linux to windows 2003 server, I can connect to it but I can not put a file :( why is that?
$ ftp 100.106.251.112
Connected to 100.106.251.112.
220 Microsoft FTP Service
500 'AUTH GSSAPI': command not understood
500 'AUTH KERBEROS_V4': command not understood
KERBEROS_V4 rejected as an authentication type
Name (100.106.251.112:abc): administrator
331 Password required for administrator.
Password:xxxxxxxxxx
230 User administrator logged in.
Remote system type is Windows_NT.
ftp> put a.lst
local: a.lst remote: a.lst
227 Entering Passive Mode (100).
550 a.lst: Access is denied.
ftp>
ftp> dir
200 PORT command successful.
150 Opening ASCII mode data connection for /bin/ls.
226 Transfer complete.
ftp> put a.lst c:/
local: a.lst remote: c:/
200 PORT command successful.
550 c:/: Access is denied.
ftp>Thanks
Edited by: 843228 on May 12, 2011 8:32 PM -
10.6.8 Slow SMB browsing of Windows Servers 2008
MY IMAC 21 .5 Inch MAC OS X 10.6.8 slow SMB browsing of windows Server 2008 kindly anybody have any idea why its happened or after LION release maybe this issue will be solve.
Hehe... Servers are tricky things for sure.
It sounds like you're expecting to have users log in from outside your network, but that you're testing from within? Is this the case?
If your users are trying to log in from outside the local network of the server, then you'll need to ensure that the correct port forwarding is set up on your firewall.
Next thing I'd try... Simplify your share to ensure that the problem isn't with your group set up. Eliminate all the ACL's associated with it.
Add one sole user to the ACL, give it read and write, and try to log in using that credential.
Ensure that the POSIX Permissions are set to default. (administrator should be the owner, staff should be group, read and writable only by the owner, everyone else gets read only)
If that works, remove that user, add a group to the ACL and try and log in using a user that's listed in the new group specified.
Perhaps if you supplied a little more info about your server and how it's connected to it's network. What it's roles are etc. we might be able to give a little more insight.
HTH
-Graham -
Fat32 External Hard Drive does NOT mount on Windows XP Pro under boot camp
I have a gateway 160gb portable external HDD. When it came pre-formatted in NTFS. It mounted on Windows XP under boot camp or Vmware Virtual machine very well.
I then formatted it under HFS+ to use it with superduper.
Now that I want to convert it back to NTFS. I formatted it under Fat32 so that windows can recognize it and I can format it again under NTFS.
The drive mounts fine on Mac OSX leopard but not on Windows XP (bootcamp or Vmware VM). Could someone help? I need this drive to be under NTFS so that I can store work related files which can only be run on Windows and some of the files are larger than 4gb.
Thank youUnder Disk Utility>Partition select anything other than 'Current' under 'Volume Scheme', then the format field will light. However, you should have been able to format under Windows Disk Management once it was online. See:
http://www.microsoft.com/windowsxp/using/setup/tips/advanced/ntfs.mspx -
[SOLVED]failure to mount external usb drive, possible hardware malfu
Please excuse me for posting this in the Arch forums, but I'd appreciate at least a point in the right direction. Every Google hit I came up with had a dubious solution like "reinstall USB drivers". I've never had an external drive fail on me yet, and I think this might be a sign of one. I recently moved and set up a 750gb WD external drive connected to this laptop running Arch and WinXP. Drive was working fine until this morning. I see it's entry in Thunar, but when I try to mount it:
Failed to mount "xxx".
WARNING: Couldn't set locale to 'en_PH.utf8' thus some file names may not
be correct or visible. Please see the potential solution at
http://ntfs-3g.org/support.html#locale
Error opening '/dev/sdb1': Permission denied
Failed to mount '/dev/sdb1': Permission denied
Please check '/dev/sdb1' and the ntfs-3g binary permissions,
and the mounting user ID. More explanation is provided at
http://ntfs-3g.org/support.html#unprivileged.
I got an entirely different error msg in Arch before, suggesting a chkdsk but I don't remember beyond that.
In Windows, I get USB device not recognized. I've tried turning the thing off and back on, making sure it's connected and swiping cables, rebooting Arch, nothing. Is it fried? Also, how does one even run a chkdsk on a drive that can't be mounted in Windows?
Thanks for the assistance.
Last edited by elephantos (2008-07-11 04:59:28)Thunar is saying it's a permission problem... have you tried manually mounting it?
-
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.willis7416I'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 -
i have 4 ipods on itunes but my computer was running slow so i put windows 7 on it but it wants me to sync my ipod but if i do i will lose all my music on my ipod how do i take my music and send it to my playlist so i can sync myipod so i won't lose any music
Sync is only oneway, from PC to your device. Unless you have the music on your PC, iTunes is going to wipe out what you have on your device if you are syncing to a new library.
You can only transfer Purchased music over to Itunes on your PC.
iTunes Store: Transferring purchases from your iOS device or iPod to a computer
http://support.apple.com/kb/HT1848
As for you own music, you may have to use a third party software. A good Free one is called Sharepod which you can download from Download.com here:
http://download.cnet.com/SharePod/3000-2141_4-10794489.html?tag=mncol;2 -
photoshop elements 12 editor doesn't open, organizer is fine. I uninstalled the program and re-installed it (restarted the computer each time)...didn't solve the problem. using pc, windows 8.1
can someone help me with this issue?Two suggestions: the first one is a workaround. You just have to drill down your program file tree to Adobe Photoshop Elements Organizer and find the .exe file - the one specifically for Organizer, not Elements. Make a shortcut to that file on your desktop and it will open Organizer. The second suggestion resolved the problem altogether for me. I actually called Dell and after working with several different techs over several different days, I talked to a tech in premium support who was excellent. I discovered from them that it is actually a problem with the windows system files. I have 8.1. I went through a "refresh" on my computer which rebuilt all the files. Then reinstalled Adobe as well as my other programs again and Photoshop Elements Organizer works from the standard desktop shortcut.
-
How to fix very slow opening window. I have vista 64. Since the last foxfire update it is very slow to open new windows. It can take some windows opening over a minute to open. (yes minutes not seconds)
Once a window is open I can open in new tab with no problem, but not with new window. (I like to have many windows open at a time)
When l click to open a new window either from a link or new window, it seems that nothing is happening. Then clicking to open another one which seems to open faster. Then all of a sudden the first window decides to open after about a minute or so. Sometime it seems to hang longer than other times.I did try the safe mode and didn't work. I did make iexplorer my default and then back again to foxfire and it somewhat worked. It was work not bad (but not as good as before) until I rebooted and it seemed the more I used it the better it became. Go figure :)
Well I just did another firefox update to 4 and it works perfect and maybe even better than before. (or I got use to how slow it was :) )
Thank You for you quick reply and I'm very happy for the new update... So far so good. -
Mounting FAT32 windows file system
Hello
I'm new to solaris.
i am using solaris 10 on x86 machine. i'm using 2 hard disks. i installed solaris in one separate hard disk. now i want to mount my windows FAT 32 file system to my solaris.it is installed in another hard disk. any one can help me to use windows file system in solaris.
And i also know how to configure internet setting in solaris.. that is where i can enter the IP address ,Access point name. because i'm using internet using my PDA that is connected to my pc. please help me...
Thanks in Advance.
Prakash.MPPP and PPPoE configuration are described in the [Network Administration Guide|http://docs.sun.com/app/docs/doc/816-4555/modemtm-1] .
A WWAN device should appear as a serial device in the */dev/term* directory. The [Wireless Wide Area Network|http://www.opensolaris.org/jive/forum.jspa?forumID=134] discussion group is probably the best place to get specific questions answered regarding your setup. -
How do I mount the Windows volume in Boot Camp?
I am running Lion and Boot Camp. I would like to mount the Windows volume so that I can access my Windows files while running Lion and access Mac files and folders while running Windows in Boot Camp. How do I do this?
If you think VirtualBox is technical I think you are in even more trouble.
Boot Camp - Windows on Mac / running Windows natively - is much clearer and cleaner
If the othr drives are formatted as NTFS and external you may need Paragon NTFS to see them in OS X or if they are HFS formatted then the only way to mount and see, and to read/WRITE would be MacDrive for Windows.
VB will not link to a native Windows OS but is easy to use and can use Windows 8 Preview. -
[SOLVED]KDE 4: forcing new windows so they start centered..
Hello,
I have this simple problem and I can't google the solution. I don't like the default behaviour of window creation, when they are automatically placed in the left corner of my active workspace. I would like to have them centered on screen - is there a way to acheive this?
Best regards,
Mike.
[EDIT] I am sorry for troubling You - I just found a way to do this using window specific settings in system settings.
Last edited by praavDa (2010-05-06 19:46:11)Um, no. Good question toad. This is what I'm getting:
# mount -t ntfs-3g /dev/sda1 /mnt/win
Unexpected clusters per mft record (-1).
Failed to startup volume: Invalid argument
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't have a valid NTFS.
Ok, I've tried a couple things now and got it fixed to a degree. When I installed a swap partition in the middle of the partitions, this altered GRUB's knowledge of the partition tables, and I had to reinstall it. During this I accidentally installed GRUB 'setup (hd0,0)' to the Windows partition. But I don't think this caused the problem. I say this because when I did [wiki]MBR#Restoring_a_Windows_Boot_Record[/wiki] the Windows partition still didn't show in Dolphin. Instead, I had to repair the Boot Sector as described by a friendly guy in the Ubuntu forums. Because this was a Boot Sector issue, it looks like the fdisk command did this. Anyways, I'll describe it quickly here in case anyone else comes across it. What you need to do is boot from a LiveCD and either install TestDisk or use a Rescue CD like Parted Magic that does, then start 'testdisk' and do these steps:
No log
Choose Disk > Proceed
Intel
Advanced
Select partition > Boot
Rebuild BS > Write
And voila, next reboot, I'm able to see and mount my Windows partition again. Phew. So it looked like the problem is fixed, but not quite. When I rebooted and tried to load Windows GRUB hung, it showed one line, something like 'GRUB loading stage2' and it wouldn't go any further. Has anyone run across this before? I use Windows from time to time so, hoping to find a way to get this fixed.
Edit:
Found out more, take a look at this post:
http://bbs.archlinux.org/viewtopic.php?id=92233
Last edited by Gen2ly (2010-03-01 07:54:23) -
Hi everybody...I have a simple question...how can I mount a windows
partition on a sparc solaris system?
are there any program like smbmount on linux?would be better if could be free...thanks a lot..Davidas far as I know, the (simple) answer is: no.
Linux kernel supports a file system called smbfs, which is required to mount windows shares.
There is no smbfs under Solaris, so smbmount isn't available.
Maybe you are looking for
-
Gmail no longer working with Apple Mail?
In the lasts 24 hours, without making changes to hardware or software, Mail has quit retrieving mail from my gmail accounts. While I never receive any sort of warning about passwords or other issue, I simply get this: And the "activity" window just s
-
Formatting WD My Passport Essential SE 1 TB
I was doing research on portable drives. I found a good deal on a Western Digital My Passport Essential SE 1 TB. I was wondering about a few things for those who had this drive. 1. Obvious question...are you generally happy with it? Any quirks? 2. Ho
-
SRS4.1/VDI3.0 Soalris can detect printer forworded form Sun Ray DTU
Dear all , i need some help on the blow please: environment brief: i have VM cluster of 8 Servers sun blade 6240 , over this pool of servers there is Virtually 4 VDI 3.0/SRS4.1 servers and pool of windows XP virtual machines , and around 70 Sun Ray 2
-
Re: Skype problems with calls (PLEASE READ)
no calling sound,trying to connect family, tried echo soud test no sound
-
Hi , How do we submit a job in apex .Iam using dbms_scheduler in apex ...Its not working ..can anyone help me out plzzzz..