[SOLVED] mount: special device storage:/image does not exist
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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??
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.