Fedora Linux Support Community & Resources Center
  #1  
Old 21st June 2011, 09:26 PM
TiggerFish Offline
Registered User
 
Join Date: Jun 2011
Posts: 2
windows_xp_2003firefox
F15 KickStart PostInstall Script Mount CIFS Problem

Hi

I hope this isn't me being stupid.

This used to work for me every time in a kickstart postinstall script with Fedora 14

mkdir /mnt/netshare
mount -t cifs //xxx.xxx.xxx.xxx/data /mnt/netshare -o username=user -o password=pass

The same script with a Fedora 15 install throws this error
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

The kickstart script is hosted on a remote http server so I'm confident the nic was working.
The same mount command works after the first reboot.

Any ideas please ?
Reply With Quote
  #2  
Old 24th June 2011, 08:28 PM
TiggerFish Offline
Registered User
 
Join Date: Jun 2011
Posts: 2
windows_xp_2003firefox
Re: F15 KickStart PostInstall Script Mount CIFS Problem

Not really solved but I have found that mounting an nfs share works.
I'd still like to get the cifs mount working if anyone has any ideas.
Works in Fedora 14, same physical host, doesn't work with Fedora 15, repeatable.
Reply With Quote
  #3  
Old 28th June 2011, 10:21 PM
christian_l Offline
Registered User
 
Join Date: Nov 2008
Posts: 113
linuxopera
Re: F15 KickStart PostInstall Script Mount CIFS Problem

I remember a case where i had to add another slash to the command, try this:
mount -t cifs //xxx.xxx.xxx.xxx/data/ /mnt/netshare -o username=user -o password=pass
Reply With Quote
  #4  
Old 7th September 2011, 10:36 AM
rkhaja Offline
Registered User
 
Join Date: Sep 2011
Posts: 1
macosfirefox
Re: F15 KickStart PostInstall Script Mount CIFS Problem

Try specifying the nolock option in your mount command. My mount syntax is a little differnt from yours. I'm using ZFS and the following works for me in Fedora 15.

mount -o nolock xxx.xxx.xxx.xxx:/path/to/dir /mnt/point
Reply With Quote
Reply

Tags
cifs, f15, kickstart, mount, postinstall, problem, script

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with mount.cifs honestguv Using Fedora 15 10th December 2011 03:21 AM
F15 kickstart problem re. postinstall script & installing rpms zack_dingbat Installation and Live Media 0 15th June 2011 11:35 AM
Fedora 10 Kickstart postinstall script i2ambler Installation and Live Media 0 6th March 2009 10:34 PM
Mount.cifs problem daniel_owen_uk Servers & Networking 4 30th March 2006 03:29 PM


Current GMT-time: 05:13 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat