LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-03-2018, 11:36 AM   #1
glennbtn
Member
 
Registered: Dec 2009
Posts: 154

Rep: Reputation: 19
iscsi Advise


Hi All

Trying to learn a bit of iscsi for may be a future project. I have a ubuntu server which is going to the the iscsi target and a proxmox both will connect.

I have read a few bits about using an image file or using lvm on the target. Being when proxmox connects you connect as iscsi and then create and lvm, I take it that I can use an image file on the Target as lvm will be taken care of by proxmox. Would this be correct?

Thanks

Glenn
 
Old 09-04-2018, 06:53 AM   #2
Honest Abe
Member
 
Registered: May 2018
Distribution: CentOS 7, OpenSUSE 15
Posts: 420
Blog Entries: 1

Rep: Reputation: 202Reputation: 202Reputation: 202
Quote:
I have read a few bits about using an image file or using lvm on the target. Being when proxmox connects you connect as iscsi and then create and lvm, I take it that I can use an image file on the Target as lvm will be taken care of by proxmox. Would this be correct?
My knowledge of iscsi is intermediate and mostly on rpm based OSs. You can share a block device (such as an unused LVM partition), fileIO (essentially a chunk of space reserved on a big file),pscsi or ramdisk storage over the ethernet which would emulate a scsi device for the iscsi initiator.

I do not understand what you mean by "an image file on the target", but you are free to create a large enough file (as per your requirement), name it whatever you want (even image.iso ) and you should be able to share it from your iscsi target (ubuntu) using fileIO.

Once the initiator(proxmox) detects it as a scsi device (it should report as a new disk such as sdb/sdc/..sdN, check in dmesg), you are free to treat it the same way (invoke fdisk, make partitions, create PV-VG-LV, create filesystem, make a mountpoint).

Iscsi devices are advised to be mounted on the initiator with "_netdev" option. Give it a shot and let us know.
 
Old 09-04-2018, 01:33 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,993

Rep: Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628Reputation: 3628
Just think if ISCSI as a hard drive attached in most cases.

A remote system would have to have the ability to use any resource. Then it can use the iscsi drive like any normal drive. You will have to partition and format it. ISCSI is only the transport much like sata is. (except over network)
 
  


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
Please could you advise me. gavincinema Linux - Newbie 11 03-25-2015 04:31 AM
[SOLVED] pacemaker - iscsi: how to set up iscsi targets/logical units? eantoranz Linux - Server 9 01-02-2013 08:38 AM
Please advise Buddhika Linux - Newbie 7 07-15-2012 03:27 PM
can anyone please advise me regscarry Linspire/Freespire 1 12-09-2009 08:39 AM
changes on other iscsi nodes attached to an ext3 iscsi target not being seen sldahlin Linux - Server 1 06-07-2008 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:45 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