Results 1 to 5 of 5

Thread: LIO iSCSI target setup error

  1. #1

    Default LIO iSCSI target setup error

    Setup of LIO iSCSI target on Leap 15 brings strange error.
    I'm trying to create LUN in Yast2 from LVM volume and get an error "Please provide a normal file or block device":
    http://susepaste.org/54379709
    The LVM volume is /dev/vgs/iscsi01:
    http://susepaste.org/32233939

    The screenshots here from susepost.org unfortunately are not shown
    Last edited by hcvv; 21-Jan-2019 at 03:19. Reason: Changed IMG tags to URL tags

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,068

    Default Re: LIO iSCSI target setup error

    When you copy/paste the URL from a page on paste.opensuse.org, they are just that: an URL that points to an HTML page with an image on it. Thus you post them using the URL button (the button with the Globe).

    Whne using the IMAGE button, you have to enter there the URL that points to an image (which will then most probably end in .jpeg, or .png, or .gif, but that is not the deciding factor).
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    9,926
    Blog Entries
    1

    Default Re: LIO iSCSI target setup error

    Hi,
    I hadn't set up iscsi for awhile so decided to take a look at what exists now.

    The first thing I noticed is that you've set up a LV called "vgs" which is recommended best practice but as far as I can tell, isn't described in documentation for openSUSE (non-existent) or SLES (what I found was SLES 11 which is a bit dated but seems to fit LEAP 15). Since YaST doesn't set up this LV, I'm wondering how you set up this device and what documentation or guide you're following.

    Aside from knowing more about the source of your current effort, you may want to take a look at the following SLES documentation that describes various recommended ways for setting up a Target. I also set up a small test in one of my virtual machines and had no problem deploying a CDROM as an iSCSI device using YaST, but of course that was also not set up in a LV. Maybe that's the diff, but you can try the other 3 methods besides YaST to see if any of them work.

    https://www.suse.com/documentation/s...si_target.html

    Another possible error although I think would throw a different error is your LIO device name... There are more configuration parameters to your iSCSI target than what your screenshots show.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4
    Join Date
    Sep 2012
    Posts
    4,788

    Default Re: LIO iSCSI target setup error

    Quote Originally Posted by andy_s View Post
    VM volume and get an error "Please provide a normal file or block device":
    Open bug report. YaST is using Ruby File.ftype which does not follow symlink; and LVM "user friendly" names are symlinks to /dev/dm-N. See https://github.com/yast/yast-iscsi-l...alogs.rb#L2713
    Code:
        file_type = File.ftype(file)
        if (file_type != 'blockSpecial') && (file_type != 'file')
          Yast::Popup.Error(_('Please provide a normal file or a block device.'))

  5. #5

    Default Re: LIO iSCSI target setup error

    Created the Bug 1123316

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •