How to Create and Setup LUNs using LVM in “iSCSI Target Server” on RHEL/CentOS/Fedora – Part II

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Hosting referral link if you planning to start your blog ($3.82/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Babin Lonston

I'm Working as a System Administrator for last 10 year's with 4 years experience with Linux Distributions, fall in love with text based operating systems.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

25 Responses

  1. didntwork says:

    $ sudo fdisk -cu /dev/sdb
    Usage:
    fdisk [options] change partition table
    fdisk [options] -l list partition table(s)
    fdisk -s give partition size(s) in blocks

    Options:
    -b sector size (512, 1024, 2048 or 4096)
    -c[=] compatible mode: ‘dos’ or ‘nondos’ (default)
    -h print this help text
    -u[=] display units: ‘cylinders’ or ‘sectors’ (default)
    -v print program version
    -C specify the number of cylinders
    -H specify the number of heads
    -S specify the number of sectors per track

  2. jyothikumar says:

    supper explained

  3. Fahad Hasni says:

    upon reloading the configuration by starting tgd service is shows as failed.

    need your help

    TIA

  4. Tarun says:

    This article is awsm…….

  5. abhi says:

    Hello, I am a big fan of tecmint. As usual, very good article.. It explanation is like awesome. Keep rocking.

  6. Kishore says:

    I have followed all steps which gave above and created a lun of 500 MB and shared to 2 nodes and now that disk got full and just increased size to 1gb of the logical volume which i used in iscsi target….but on client side on that 2 nodes disk size is showing me only 500mb which it should show me 1gb

    • @Kishore how you have extended the size ? using -l (small l ) or L ? Some mb will be took for metadata, except that you will get around 800 to 9xx mbs. May be i think you have used -L +1GB instead of using -l xxx extend values.

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 257,757
  2. 11,967
  3. 39,682

Are you subscribed?