[BlueOnyx:09538] Re: unknown filesystem type 'cifs'

Gerald Waugh gwaugh at frontstreetnetworks.net
Mon Feb 6 09:01:31 -05 2012


Don Teague wrote:
> Perhaps something from the nightly logwatch script comes into play. On
> this mornings report ...
> 
> FATAL: Could not load
> /lib/modules/2.6.32-131.17.1.el6.x86_64/modules.dep: No such file or
> directory: 186 Time(s)
> 
> I'm no expert, obviously, but that strikes me as 'not good'
> 
> 
> 
> 
> 
> 
> *----- Original Message -----*
> *From:* blueonyx-bounces at mail.blueonyx.it
> *To:* blueonyx-bounces at mail.blueonyx.it
> *Sent:* Sun, February 5, 2012, 23:12
> *Subject:* [BlueOnyx:09533] Re: unknown filesystem type 'cifs'
> 
> Well, let's make it that much more interesting.
> 
> Running two 5108's, and both (are supposed to) have mounts to a 3rd
> machine. The file share machine is this:
> http://www.turnkeylinux.org/fileserver (Oh, all machines here are a
> virtual, ESXi5, if that matters)
> 
> On one machine (bx4) ...
> [root at dal-bx4 sites]# mount -t cifs
> //172.18.10.171/storage on /mnt/filesrv type cifs
> (rw,username=xxxx,password=xxxx)
> 
> On the other one (bx3) ...
> [root at dal-bx3 log]# mount -t cifs
> [root at dal-bx3 log]# [Nothing here, just me typing.]
> 
> Both machines have the same line in their /etc/fstab file (shown in
> earlier emails.)
> 
> I tried your suggestion, Chuck, and received this:
> [root at dal-bx3 log]# mount //172.18.10.171/storage /mnt/filesrv -t cifs
> -o username=xxxx,password=xxxx
> mount: unknown filesystem type 'cifs'
> 
> Gerald mentioned something about a Kernel or Kernel module. I know
> enough to be dangerous ... which means I'm going to have to research
> that to figure out what it all means.
> 
> 
> 
> 
> 
> 
> *----- Original Message -----*
> *From:* chuck at tetlow.net
> *To:* blueonyx at donteague.com
> *Sent:* Sun, February 5, 2012, 22:53
> *Subject:* Re: [BlueOnyx:09530] Re: unknown filesystem type 'cifs'
> 
> Hi Don,
> 
> I'm not a expert on the CIFS filesystem, and so I didn't pay much
> attention to your earlier posts.
> 
> But I was just reviewing your message, and something caught my eye. In
> your message, you said you tried " //172.18.10.171/storage /mnt/filesrv
> cifs rw,username=xxxx,password=xxxx,domain=xxxx" in the /etc/fstab file
> for automatically mounting that filesystem.
> 
> What caught my eye was the partition/block device/filesystem you defined
> to mount - "//172.18.10.171/storage". I've never seen that before in a
> /etc/fstab file. While I've almost always worked with local block
> devices (like local hard drive partitions), I've worked once or twice
> with NFS and SMBS file system. So, lets see what we can figure out.
> 
> 
> The man page for fstab specifies that the definition of a NFS mount will
> be <host>:<dir>, as in "172.18.10.171:/storage". So if you're working
> with a NFS remote mount, you might try putting that in your /etc/fstab
> for the mount and then try mounting it with your previously mentioned
> command "mount -a".
> 
> 
> And the second thought is that you might be trying to mount a remote
> windows share. In the past, I've done that from the command line. I used
> the command "smbmount //hostname/mount /mnt/localmountpoint -o
> username=xxxx,password=xxxxx". But the smbmount command is shown as
> deprecated and not used any longer. The man page for it indicated you
> should use "mount.cifs" (which is the same as mount -t cifs).
> 
> So, you might try "mount //172.18.10.171/storage /mnt/localmountpoint -t
> cifs -o user=xxxx,pass=yyyy" And you might need to add
> "dom=windowsdomaniname" to the end. Give that command a try, and see if
> it will mount your remote filesystem for you.
> 
> Let us know how it works out Don.
> 
> 
> 
> Chuck
> 
> 
> 
> 
> *---------- Original Message -----------*
> From: "Don Teague" <blueonyx at donteague.com>
> To: blueonyx at mail.blueonyx.it, gwaugh at frontstreetnetworks.net
> Sent: Sun, 5 Feb 2012 21:44:01 -0600 (CST)
> Subject: [BlueOnyx:09530] Re: unknown filesystem type 'cifs'
> 
>> Guess I got lucky the first time I mounted it then.
>>
>> mount -t cifs <options> is giving me the same error.
>>
>> Time do to more research I guess. Thanks.
>>
>>
> 
>>
>> *----- Original Message -----*
>> *From:* gwaugh at frontstreetnetworks.net
>> *To:* blueonyx at donteague.com
>> *Sent:* Sun, February 5, 2012, 12:24
>> *Subject:* Re: [BlueOnyx:09525] Re: unknown filesystem type 'cifs'
>>
>> Don Teague wrote:
>> > No ideas?
>> >
>> >
>> >
>> >
>> >
>> > *----- Original Message -----*
>> > *From:* blueonyx-bounces at mail.blueonyx.it
>> > *To:* blueonyx-bounces at mail.blueonyx.it
>> > *Sent:* Fri, February 3, 2012, 11:26
>> > *Subject:* [BlueOnyx:09517] unknown filesystem type 'cifs'
>> >
>> > A few months ago I set up the following in my /etc/fstab file...
>> >
>> > //172.18.10.171/storage /mnt/filesrv cifs
>> > rw,username=xxxx,password=xxxx,domain=xxxx
>> >
>> > I'm not an expert when it comes to mounting a file system, but if I
>> > recall, all I did to mount it was "mount -a"
>> >
>> > Well, when I do that, I get:
>> > [root at localhost ~]# mount -a
>> > mount: unknown filesystem type 'cifs'
>> >
>> > I've got two 5108R's running, and both have the above line in
>> > /etc/fstab. I did re-boot the machine in question last night, but I
>> > can't figure out what would have caused the above error.
>> >
>> > Any ideas?
>> >
>> mount.cifs mounts a Linux CIFS filesystem. It is usually invoked
>> indirectly by the mount(8) command when using the "-t cifs" option. This
>> command only works in Linux, and the kernel must support the cifs
>> filesystem. The CIFS protocol is the successor to the SMB protocol and
>> is supported by most Windows servers and many other commercial servers
>> and Network Attached Storage appliances as well as by the
>>
>> See http://linux.die.net/man/8/mount.cifs
>>
>> --
>> Gerald
> *------- End of Original Message -------*
> 
> 
have you tried using "mount.cifs" in lieu of "mount -t cifs..."
also maybe add security
try adding "sec=ntlmv2i" to the end of the cl command

--
Gerald



More information about the Blueonyx mailing list