LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2009, 02:20 PM   #1
casperpache
LQ Newbie
 
Registered: Oct 2009
Location: Aberystwyth
Distribution: Redhat 5
Posts: 22

Rep: Reputation: 0
Smile mount: special device storage:/image does not exist


I apologise for too much info, but i think its always better to have too much than not enough....

Refs to servers:
Storage = the new server used to store the data.
Client = Server that is trying to access the storage server.



I have recently swapped out a Tru64 Server and replaced with a new Redhat 5 Linux server.
The original server was used for storage and shared data to other clients on the network.
After the swap i am trying to mount the data to the client.

I also use Samba for sharing the data but i dont think this is relevant at this point because the error suggests the Client cannot see the Storage server, and its the mounting im having problems with not the samba shares.

The server was literally swapped over and i attempted to keep the setup and all details the same as the old Unix server i.e. Same IP Address, hostname, mountpoints etc.

For some reason when trying to mount the FS to the new server i am getting an error stating:

mount: special device storage:/image does not exist

I can ping the new storage server from the client using both IP and hostname but the mount just wont work.

The only thing slightly different with this new server is
1.) Its now Linux instead of Unix.
2.) The data originally stored was copied over as an image and is now stored on a LVG called image-data, whereas before it was stored on the hard drive.
A mount has been done on the Storage server to this LVG and applied to a mountpoint called /image


Both storage and client are also added to the /etc/hosts file.
/etc/hosts of Storage:
10.130.255.10 client.domain.com client
/etc/hosts of Client:
10.130.255.20 storage.domain.com storage

The /etc/fstab contains the Path to the Storage server and the Storage server contains the Mountpoint of the image. (LVG called image_data)

/etc/fstab of Storage:
/dev/image_data/image /image ext3 defaults 1 2

/etc/fstab of Client:
storage:/image /image ext3 rw,bg,intr,soft 0 0

I have the directory of the data added to the /etc/exports file of the storage server.
/image client.domain.com(rw)

I have attempted to use exportfs -ra on the storage server but that doesnt seem to have had any effect.


Im rapidly running out of ideas on what else to try.

Can anyone see anything i may have done wrong or have any suggestions on what to try next?
Could there be something i have done in Linux that may only work in Unix??

Please help!!!
 
Old 10-28-2009, 08:02 PM   #2
fang0654
Member
 
Registered: Oct 2003
Location: New York, NY
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 28
Was your old config using nfs?

The file /etc/exports on the server is for sharing NFS drives. If you change the client from:

Code:
storage:/image /image ext3 rw,bg,intr,soft 0 0
to

Code:
storage:/image /image nfs rw,bg,intr,soft 0 0
it should work fine.

If you want to use samba, sharing on the server, and mounting on the client are set up much differently.
 
Old 10-29-2009, 06:01 AM   #3
casperpache
LQ Newbie
 
Registered: Oct 2009
Location: Aberystwyth
Distribution: Redhat 5
Posts: 22

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fang0654 View Post
Was your old config using nfs?

The file /etc/exports on the server is for sharing NFS drives. If you change the client from:

Code:
storage:/image /image ext3 rw,bg,intr,soft 0 0
to

Code:
storage:/image /image nfs rw,bg,intr,soft 0 0
it should work fine.

If you want to use samba, sharing on the server, and mounting on the client are set up much differently.

Thanks for your reply.

Yes, it was originally nfs, but i was swapping between them when trying to get it to work.

I have tried changing it to nfs and im now getting the following:

mount: RPC: Program not registered
mount: backgrounding "storage:/image"


Im going to start looking into this today and see if i can get anywhere, but if you know the answer please feel free to comment and save me some time.

Thanks

Dave
 
Old 10-29-2009, 01:57 PM   #4
casperpache
LQ Newbie
 
Registered: Oct 2009
Location: Aberystwyth
Distribution: Redhat 5
Posts: 22

Original Poster
Rep: Reputation: 0
Thanks for the reply fang, you put me on the road to resolution.

I found that my problem was a few files needed to be tidyed up as they contained a lot of irrelevant links.
I checked through all of the below files on both servers to make sure they married up.

Files checked:-
Hosts.equiv
Hosts.allow
Hosts.deny
/.rhosts

I also needed to restart my nfs daemon - /etc/init.d/nfs start

After playing around with them they mounted fine and everything is working as it should be.

I also managed to get the Samba working by going back through the conf file and realising i had a filesystem mounted slightly different to the original storage server so a few tweaks there and it enabled me to view the files via Windows.


Thanks again for your reply,

A Happy Newbie.
 
Old 10-29-2009, 02:04 PM   #5
fang0654
Member
 
Registered: Oct 2003
Location: New York, NY
Distribution: Ubuntu
Posts: 110

Rep: Reputation: 28
Ok, glad I could be some help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount: special device /dev/sdb1 does not exist sysbox Linux - Hardware 4 11-11-2013 02:51 AM
Mount: Special device hda does not exist rohin t narayan Debian 9 07-30-2007 01:57 PM
mount: special device /dev/cdrom does not exist clau_bolson Linux - Hardware 5 07-12-2007 11:39 AM
mount: special device /dev/cdrom does not exist robrichards Linux - Hardware 20 02-15-2005 03:52 PM
Gentoo: mount: special device /dev/hdg* does not exist mope Linux - Software 4 02-25-2003 01:11 PM


All times are GMT -5. The time now is 08:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration