LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 02-18-2010, 11:46 AM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
iSCSI Connection Mount Points


I have a new mail server but want to create a iSCSI connection which mounts /home directory to a share on my NAS via iSCSI. Does anyone know if this is possible on a RHEL 5.4 machine? I am building the server from scratch and then creating the iSCSI mount point in /etc/fstab. After the /home directory is mounted on the mail server, I will copy all the mailboxes over to the /home directory via iSCSI. Does anyone have any tips or experience doing something like this?
 
Old 02-18-2010, 11:57 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
iSCSI does not run from something like a NAS, your NAS is a machine in it's own right, so aren't you just going to mount an NFS share, shared from your NAS device?
 
Old 02-19-2010, 09:17 AM   #3
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Original Poster
Rep: Reputation: 77
Well I have a Sun 7310 storage RAID device which will allow me to create a LUN and share that over iSCSI connection. I think I would then just basically mount the iSCSI connection to the RHEL machine, no?
 
Old 02-19-2010, 08:08 PM   #4
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
If it's iscsi, then it's not considered a NAS, it's a SAN. Some new storage boxes these days can do both. Anyhow, you will need to install the iscsi packages (through yum) then use iscsiadm to connect to the target LUN. The syntax is something like this:

To discover targets at a given IP address:
Quote:
# iscsiadm --mode discovery --type sendtargets --portal 192.168.1.1
Login to the target (must use a node record id found by the discovery):
Quote:
# iscsiadm --mode node --targetname iqn.2001-05.com.doe:test --portal 192.168.1.1:3260 --login
Once logged in, you will see the disks as local /dev/sdx devices which you can then partition, mkfs & mount as you wish.

Last edited by ongte; 02-19-2010 at 08:11 PM.
 
Old 02-19-2010, 09:13 PM   #5
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
Ok, this:
Quote:
If it's iscsi, then it's not considered a NAS, it's a SAN.
is what I was getting at, but I wanted the OP to clarify for him/her self what the actual box they have is classed as. Basically, if it's a drive array without it's own file systems, it's a SAN, if it has it's own file systems it's a NAS, and yes:
Quote:
Some new storage boxes these days can do both.
this is true.
 
  


Reply



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
how to mount iscsi ashishshukla Linux - Networking 2 02-06-2009 01:00 AM
iscsi connection error every 10 seconds (netapp) Fernando F. Linux - Server 0 10-15-2007 10:17 AM
mount one device to two mount points secretlydead Linux - General 3 03-28-2007 05:30 AM
SCRIPT: check if auto-mount mount-points are still mounted markus1982 Linux - Software 0 05-25-2003 05:48 AM
mount points... Jeffrey Linux - General 6 02-24-2001 12:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:13 PM.

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
Open Source Consulting | Domain Registration