You are not logged in.

#1 2013-05-28 19:34:28

nixIT
Member
Registered: 2010-01-13
Posts: 544

[SOLVED] can't mount CIFS Shares via fstab

[EDIT]
Nevermind, after several reboots, it's working, and the last reboot was seconds after I posted this topic, and couldn't delete it.
--------------------------


Hello all,

Been using Arch at home for years, but could never run it at work because they supplied us with laptops, and I could never get a laptop to take arch.  I recently repurposed a desktop, and installed arch, xfce4 with no problems, and am configuring it now.

I have 3 CIFS shares in fstab on my ubuntu box that I carried over to arch, however, they do not work.  When trying to access the shares in Thunar, the mount point locations are empty.

(I think) I have all the necessary packages installed, cifs-utils, smbclient, etc, however, I cannot get these 3 shares to mount via fstab.  I've tried all the different options that I could find, and my current fstab is:

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# /dev/sda2
UUID=4c39fab6-4f87-4f63-817e-721c3fa85819	/         	ext4      	rw,relatime,data=ordered	0 1

# /dev/sda3
UUID=1925353a-9241-4932-9621-7a2aedfe5c50	/mnt/doitdata	ext4      	rw,relatime,data=ordered	0 2

# /dev/sdb2
UUID=90be857e-42a5-49dc-a5f2-f73e1ebd3146	/mnt/doitspare	ext4      	rw,relatime,data=ordered	0 2

# /dev/sdc1
UUID=8c58d0ef-8420-4b67-b0ea-5b33c72935a1	/mnt/doitspare2	ext4      	rw,relatime,data=ordered	0 2

# /dev/sdb1
UUID=0b6d5c30-9f3e-47a2-a24f-4374131fb4e5	none      	swap      	defaults  	0 0

//worknas2/nixit$    /mnt/hdrive cifs noauto,uid=nixit,credentials=/mnt/doitdata/docs/.creds,domain=work,sec=ntlm,x-systemd.automount 0 0
//worknas2/it-files$    /mnt/it-files cifs noauto,uid=nixit,credentials=/mnt/doitdata/docs/.creds,domain=work,sec=ntlm,x-systemd.automount 0 0
//worknas/shared    /mnt/workshared cifs noauto,uid=nixit,credentials=/mnt/doitdata/docs/.creds,domain=work,sec=ntlm,x-systemd.automount 0 0

I've tried with and without the following:
uid
username
sec=ntlm
x-systemd.automount
domain

I even tried putting my password on the fstab line instead of the credentials option.

I have a user who is running fedora and the lines in his fstab work, so I copied those, and same thing.

I even tried top open thunar and issue the following in the address bar:

smb://worknas2/it-files$

I am prompted for username, domain and PW, and can successfully connect, so I'm not sure why the fstab method is not working.


What additional info can I provide to help resolve this?

--nixIT

[SOLVED]
After several reboots, it's all of a sudden working?  I think it's beer:30.

MOD EDIT: [solved] instead of [closed]

Last edited by fukawi2 (2013-05-29 01:14:54)


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#2 2013-05-28 19:39:54

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: [SOLVED] can't mount CIFS Shares via fstab

What happens if you try to mount them manually based on the fstab entries? Ie.

mount /mnt/hdrive

You may also try several levels of verbosity ie. mount -v , mount -vv etc.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2013-05-29 00:56:51

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: [SOLVED] can't mount CIFS Shares via fstab

[ closed ] is for threads locked by moderators. You should use [ solved ] instead.

Offline

Board footer

Powered by FluxBB