[SOLVED] Setting up a NFS server to connect to SAN
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
Hello, I am fairly new to linux and this seems like an easy question. I have installed RedHat 6 Beta to act as a front-end to my SAN using NFS. I understand how to allow users to connect to the linux box using NFS, what I am confused on is how to connect the SAN to the linux box. If this linux server was a virtual machine, I would just add a HD on the VM then partition, then share it using NFS. Since it is a physical box, I am missing how you would connect the SAN to the NFS server.
I have NFS installed and working on an Ubuntu server. I have directly connected my SAN to my Ubuntu server via a Qlogic fibrchannel card. I have ran through the host connectivity procedures on my SAN and it is setup to connect to my Ubuntu host. What command do I use to mount the NFS Share on my Ubuntu to the LUN that I have created on the SAN?
So if you have proper FC connectivity, you should see the new LUNS in /proc/scsi/scsi and in fdisk -l
You partition them,(possibly get them into some sort of volume manager) put a filesystem on them, create mount points and then mount those to the volumes. Once that's done, you create your /etc/exports to share the volumes out.
So I guess the second part of your answer is what I am getting at. What commands would I use to partition this LUN? Once I get that, I beleive and can install the filesystem and create the mount points.. The /etc/exports file portion is pretty straight forward too.
So I got everything working, many thanks! Got one question though:
When I use fdisk -l, I notice that I have around 14000 GB of drive space available. BUT when I do a df -h, it only shows 2 TBs of space available. How do you create a drive that is 14 TB? Do you need to do the same procedure and combine them together somehow? I do have LVM on this server if that is easier to use.. Or should I be using a different file system.
I am running Ubuntu 10.04. I think I should be able to use ext4, right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.