Home > Linux > Mount NTFS iSCSI volume

Mount NTFS iSCSI volume


I’m using CentOS 6 in this case.

Enable NTFS support & mount iSCSI on CentOS

  1. Install EPEL repo:
    $ cd /tmp
    $ wget http://download.fedoraproject.org/pub/epel/6/x86_64/ETL-devel-0.04.13-1.el6.i686.rpm
    # rpm -ivh ETL-devel-0.04.13-1.el6.i686.rpm
  2. Install NTFS-3G:
    # yum install ntfs-3g
  3. Install iSCSI initiator:
    # yum install iscsi-initiator-utils
  4. Start iSCSI service:
    # /etc/init.d/iscsi start
  5. Discover iSCSI targets:
    # iscsiadm -m discovery -t sendtargets -p 192.168.1.5
    # /etc/init.d/iscsi restart
  6. Check device:
    # tail -f /var/log/messages

    Output:

    Oct 10 12:42:20 ora9is2 kernel:   Vendor: EQLOGIC   Model: 100E-00           Rev: 3.2
    Oct 10 12:42:20 ora9is2 kernel:   Type:   Direct-Access                      ANSI SCSI revision: 05
    Oct 10 12:42:20 ora9is2 kernel: SCSI device sdd: 41963520 512-byte hdwr sectors (21485 MB)
    Oct 10 12:42:20 ora9is2 kernel: sdd: Write Protect is off
    Oct 10 12:42:20 ora9is2 kernel: SCSI device sdd: drive cache: write through
    Oct 10 12:42:20 ora9is2 kernel: SCSI device sdd: 41963520 512-byte hdwr sectors (21485 MB)
    Oct 10 12:42:20 ora9is2 kernel: sdd: Write Protect is off
    Oct 10 12:42:20 ora9is2 kernel: SCSI device sdd: drive cache: write through
    Oct 10 12:42:20 ora9is2 kernel:  sdd: unknown partition table
    Oct 10 12:42:20 ora9is2 kernel: sd 3:0:0:0: Attached scsi disk sdd
    Oct 10 12:42:20 ora9is2 kernel: sd 3:0:0:0: Attached scsi generic sg3 type 0
    Oct 10 12:42:20 ora9is2 kernel: rtc: lost some interrupts at 2048Hz.
    Oct 10 12:42:20 ora9is2 iscsid: connection0:0 is operational now

    /dev/sdd is my new block device

  7. Create a new mount point for iSCSI volume:
    # mkdir /mnt/iscsi
  8. Mount iSCSI volume to mount point:
    # mount /dev/sdd1 /mnt/iscsi
Advertisements
Categories: Linux Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: