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.
dear all,
i am beginner and new to this forum, i need your help and i will be grateful to you. In my company we have a linux server say server1 having os intalled in it (RHEL 6.1) we have LUN configured on the storage and this storage is mounted to the server1.
my requirement is that the mounted storage should be removed
from server1 and mounted to the new server say server2 . how can i make this possible ? your help will be appreciated thanks in advance.
Note:server1 and server2 have same ips and all specifications.
If it is an NFS mount you'd have get the fstab entry from the first host and add it to the new host. You'd also have to be sure the exporting server (seen in the name before the colon in the fstab entry) allows the new host to mount from it.
If it is direct attached storage enclosure you'd have to remove the attachment from the current host and attach it to the new host (which might also involve moving an HBA).
It is SAN storage from a disk array you'd have to do a lot more such as:
1) Determine type of HBA used (usually fiber channel from someone like Qlogic or Emulex).
2) Determine how the existing server is zoned in with your fiber switch (assuming you're not using point to point).
3) If you can move the existing HBAs to the new host the existing zoning would probably work. If however, you're doing new HBAs you'd have to set up new zonign.
4) Many disk arrays allow you to "mask" (present to specific servers) only certain LUNs so that all servers don't see all LUNs. If so you'd have to do similar steps in the disk array to "mask" the host as you did for zoning in the SAN switch.
You haven't really given enough information to be more specific.
Start by doing a df to see your filesystems. Review your /etc/fstab to see what device (or share) is mounted to be those filesystems. From there determine what the underlying devices are (e.g. do you have software RAID meta disks, LVM Logical Volumes, partitions etc...). The tools needed to determine beyond that are generally vendor specific to whoever made the storage if it is SAN or direct attach.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.