1826062 Members
3878 Online
109690 Solutions
New Discussion

cifsmount

 
SOLVED
Go to solution
Carol Garrett
Trusted Contributor

cifsmount

Hi, ive exported a drive on my PC so I can attempt to mount it on my hp server but I cant find any man pages on how to start cifsclient and mount it. how to do ?
6 REPLIES 6
Stefan Farrelly
Honored Contributor
Solution

Re: cifsmount


The first thing to do is get the cifsclientd daemon started on your hp server. To do this edit /etc/rc.config.d/cifsclient and change the field RUN_CIFSCLIENT to 1. Now, run the startup program; /sbin/rc2.d/S900cifsclient start
Do a ps -ef | grep cifs and you should see the daemon started.

Now, to mount it use the command; /opt/cifsclient/bin/cifsmount you will need to know information such as login id/password on your PC (running NT?) and its IP address and the name of your PC and the drive letter youve allowed to be mapped. Then put this into the cifsmount command in the following format;

cifsmount /// -U -P -I

eg. cifsmount //11ckn91577/C /tmp_mnt -U administrator -P -I 10.52.1.1

and that should mount it fine. Do a bdf and you should see it ok.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Carol Garrett
Trusted Contributor

Re: cifsmount

Thanks, that worked great. The mount command works fine but when I do a bdf I get at the bottom; bdf: /tmp_mnt I/O error ?
Stefan Farrelly
Honored Contributor

Re: cifsmount


youre not trying to mount a CD drive from your PC on your HP server are you ? this will give an I/O error. Not sure if you can do this. cifsumount /tmp_mnt and try it again with a disk and it should work fine.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Carol Garrett
Trusted Contributor

Re: cifsmount


oops, I was. It was a CDRW drive. it wont work, blast. disks work fine.

Thanks.
Carol Garrett
Trusted Contributor

Re: cifsmount


Hey, your right, it works! I replaced the CDRW with another one and I can mount and copy files to it fine. Thanks again.
Stefan Farrelly
Honored Contributor

Re: cifsmount


Actually, that shold work aok. Ive just tried it here. I put a CD-RW in my drive, exported, mounted it on my workstation, and I can not only read it ok but can copy files to it perfectly. Very handy. Perhaps your i/o error was due to a CD problem - try another CD or CD-RW and remount it.
Im from Palmerston North, New Zealand, but somehow ended up in London...