ISCSI target configuration

Issues related to configuring your network
cvisual
Posts: 13
Joined: 2011/08/02 15:01:47

Re: ISCSI target configuration

Post by cvisual » 2011/08/17 12:18:15

Hi Phil
Maybe my poor english is the main problem... Sorry...

Anyway, how can I send to you the info - the complete output file have 355 lines, maybe too long to copy/paste here.

Trying to short it a little, it's something like this - (using getinfo.sh driver):

Information for driver problems.
[code]
== BEGIN uname -rmi ==
2.6.32-71.29.1.el6.x86_64 x86_64 x86_64
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-6-0.el6.centos.5.x86_64
epel-release-6-5.noarch
rpmforge-release-0.5.2-2.el6.rf.x86_64
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS Linux release 6.0 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 3767 441 3325 0 37 191
-/+ buffers/cache: 213 3553
Swap: 15951 0 15951
== END free -m ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-71.29.1.el6.x86_64
kernel-2.6.32-71.el6.x86_64
kernel-devel-2.6.32-71.29.1.el6.x86_64
kernel-firmware-2.6.32-71.29.1.el6.noarch
kernel-headers-2.6.32-71.29.1.el6.x86_64
== END rpm -qa kernel\* | sort ==

kerne== BEGIN lspci ==
00:00.0 Host bridge: Intel Corporation E7520 Memory Controller Hub (rev 0c)
00:02.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express Port A (rev$
00:06.0 PCI bridge: Intel Corporation E7520 PCI Express Port C (rev 0c)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Cont$
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Cont$
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Cont$
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Cont$
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Con$
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bri$
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller$
01:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
01:04.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Co$
01:04.2 System peripheral: Compaq Computer Corporation Integrated Lights Out P$
02:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev $
02:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev $
03:01.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Eth$
03:01.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Eth$
04:03.0 RAID bus controller: Compaq Computer Corporation Smart Array 64xx (rev $
05:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev $
05:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev $
06:01.0 PCI bridge: IBM PCI-X to PCI-X Bridge (rev 03)
06:02.0 PCI bridge: IBM PCI-X to PCI-X Bridge (rev 03)
07:04.0 RAID bus controller: Compaq Computer Corporation Smart Array 64xx (rev $
08:04.0 RAID bus controller: Compaq Computer Corporation Smart Array 64xx (rev $
== END lspci ==


== BEGIN lspci -n ==
00:00.0 0600: 8086:3590 (rev 0c)
00:02.0 0604: 8086:3595 (rev 0c)
00:06.0 0604: 8086:3599 (rev 0c)
00:1d.0 0c03: 8086:24d2 (rev 02)
00:1d.1 0c03: 8086:24d4 (rev 02)
00:1d.2 0c03: 8086:24d7 (rev 02)
00:1d.3 0c03: 8086:24de (rev 02)
00:1d.7 0c03: 8086:24dd (rev 02)
00:1e.0 0604: 8086:244e (rev c2)
00:1f.0 0601: 8086:24d0 (rev 02)
00:1f.1 0101: 8086:24db (rev 02)
01:03.0 0300: 1002:4752 (rev 27)
01:04.0 0880: 0e11:b203 (rev 01)
01:04.2 0880: 0e11:b204 (rev 01)
02:00.0 0604: 8086:0329 (rev 09)
02:00.2 0604: 8086:032a (rev 09)
03:01.0 0200: 14e4:1648 (rev 10)
03:01.1 0200: 14e4:1648 (rev 10)
04:03.0 0104: 0e11:0046 (rev 01)
05:00.0 0604: 8086:0329 (rev 09)
05:00.2 0604: 8086:032a (rev 09)
06:01.0 0604: 1014:01a7 (rev 03)
06:02.0 0604: 1014:01a7 (rev 03)
07:04.0 0104: 0e11:0046 (rev 01)
08:04.0 0104: 0e11:0046 (rev 01)
== END lspci -n ==

== BEGIN lsusb ==
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
== END lsusb ==

[/code]



For short, its a DL380G4 with a SmartArray controller where reside my Storage disks to use as ISCSI, and an 72Gb disk as System Disk.

bellow is a fdisk -l output:

[code]
Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 32 sectors/track, 17433 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d1eac

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 126 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/cciss/c0d0p2 126 17433 70612992 8e Linux LVM
Partition 2 does not end on cylinder boundary.

Disk /dev/cciss/c0d1: 734.1 GB, 734054440960 bytes
255 heads, 63 sectors/track, 89243 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf80f0dee

Device Boot Start End Blocks Id System
/dev/cciss/c0d1p1 1 89243 716844366 7 HPFS/NTFS

Disk /dev/dm-0: 34.5 GB, 34472984576 bytes
255 heads, 63 sectors/track, 4191 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 16.7 GB, 16726884352 bytes
255 heads, 63 sectors/track, 2033 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table

Disk /dev/dm-2: 21.1 GB, 21105737728 bytes
255 heads, 63 sectors/track, 2565 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/dm-2 doesn't contain a valid partition table
[/code]

My goal is mount this Storage: /dev/cciss/c0d1p1 or /dev/cciss/c0d1 (734Gb) on Centos.
They are five 146Gb U320 10k disks fitted on DL380 G4 with SmartArray controller.


Thank you very much for your support Phil

Kind regards

Antonio

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: ISCSI target configuration

Post by pschaff » 2011/08/17 14:11:37

You do not have a driver problem, which is why I asked for output from "./getinfo.sh" (no parameters) run as root; however the inclusion of fdisk output does somewhat mitigate that deficiency. As the screen output from the script suggests, you can use http://pastebin.centos.org if you feel the output is too long to paste in-line, but it is generally best to put it right here unless it is [b]really[/b] long.

So you are really talking about local storage on the CentOS server that you want to share with Windows. I don't know enough about iSCSI to comment on how appropriate or inappropriate that may be for this situation, nor on performance tradeoffs; however the conventional solution would be to simply mount the storage locally on the CentOS server and to use Samba to make it available to Windows systems. Unless you have good reason to do otherwise, use the default ext4 filesystem.

cvisual
Posts: 13
Joined: 2011/08/02 15:01:47

Re: ISCSI target configuration

Post by cvisual » 2011/08/17 16:48:21

Hi Phil

A new problem/clue...
I make the complete output, but I don't know how get it off from Centos... A big newbie mistake...
Before, I used nano to select/copy and paste to Win Machine (using ssh client on win PC). This work in screen by screen grab mode...

So, I plug a USB Pen Drive but I cant mount that - the same problem, now with:


Disk /dev/sda: 1992 MB, 1992294400 bytes
16 heads, 32 sectors/track, 7600 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x351718a8

Device Boot Start End Blocks Id System
/dev/sda1 16 7600 1941568 e W95 FAT16 (LBA)


# mount.ntfs-3g /dev/sda1 /mnt/PEN
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

(PS: I already try with sda only...)

So, after some google search I found this command can mount it:


mount -o umask=002 /dev/sda1 /mnt/PEN

so, maybe a start point to figure whats happening with my Raid/Storage...

Anyway, this is my complete output from getinfo.sh:

Information for general problems.
[code]
== BEGIN uname -rmi ==
2.6.32-71.29.1.el6.x86_64 x86_64 x86_64
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-6-0.el6.centos.5.x86_64
epel-release-6-5.noarch
rpmforge-release-0.5.2-2.el6.rf.x86_64
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS Linux release 6.0 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Enforcing
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 3767 272 3495 0 4 90
-/+ buffers/cache: 177 3589
Swap: 15951 0 15951
== END free -m ==

== BEGIN rpm -q yum rpm python ==
yum-3.2.27-14.el6.centos.noarch
rpm-4.8.0-12.el6.x86_64
python-2.6.5-3.el6_0.2.x86_64
== END rpm -q yum rpm python ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
epel.repo
epel-testing.repo
mirrors-rpmforge
mirrors-rpmforge-extras
mirrors-rpmforge-testing
rpmforge.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.in2p3.fr
* epel: mirror.switch.ch
* extras: ftp.hosteurope.de
* rpmforge: ftp-stud.fht-esslingen.de
* updates: mirror.netcologne.de
repo id repo name status
base CentOS-6 - Base enabled: 6,019
c6-media CentOS-6 - Media disabled
centosplus CentOS-6 - Plus disabled
contrib CentOS-6 - Contrib disabled
debug CentOS-6 - Debuginfo disabled
epel Extra Packages for Enterprise Linux 6 - x8 enabled: 6,268
epel-debuginfo Extra Packages for Enterprise Linux 6 - x8 disabled
epel-source Extra Packages for Enterprise Linux 6 - x8 disabled
epel-testing Extra Packages for Enterprise Linux 6 - Te disabled
epel-testing-debuginfo Extra Packages for Enterprise Linux 6 - Te disabled
epel-testing-source Extra Packages for Enterprise Linux 6 - Te disabled
extras CentOS-6 - Extras enabled: 0
rpmforge RHEL 6 - RPMforge.net - dag enabled: 3,953
rpmforge-extras RHEL 6 - RPMforge.net - extras disabled
rpmforge-testing RHEL 6 - RPMforge.net - testing disabled
updates CentOS-6 - Updates enabled: 1,042
repolist: 17,282
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==

#
# /etc/fstab
# Created by anaconda on Wed Aug 10 18:28:43 2011
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/vg_dl380g4-lv_root / ext4 defaults 1 1
UUID=dda647fb-184f-4343-97d3-f97bd66a56ff /boot ext4 defaults 1 2
/dev/mapper/vg_dl380g4-lv_home /home ext4 defaults 1 2
/dev/mapper/vg_dl380g4-lv_swap swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0



/dev/cciss/c0d1 /mnt/PROJECTS ntfs-3g rw,umask=0000,defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_dl380g4-lv_root
32G 1.5G 29G 5% /
tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/cciss/c0d0p1 485M 58M 402M 13% /boot
/dev/mapper/vg_dl380g4-lv_home
20G 172M 19G 1% /home
== END df -h ==

== BEGIN fdisk -l ==
Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1 doesn't contain a valid partition table
Disk /dev/dm-2 doesn't contain a valid partition table

Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 32 sectors/track, 17433 cylinders
Units = cylinders of 8160 * 512 = 4177920 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d1eac

Device Boot Start End Blocks Id System
/dev/cciss/c0d0p1 * 1 126 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/cciss/c0d0p2 126 17433 70612992 8e Linux LVM
Partition 2 does not end on cylinder boundary.

Disk /dev/cciss/c0d1: 734.1 GB, 734054440960 bytes
255 heads, 63 sectors/track, 89243 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf80f0dee

Device Boot Start End Blocks Id System
/dev/cciss/c0d1p1 1 89243 716844366 7 HPFS/NTFS

Disk /dev/dm-0: 34.5 GB, 34472984576 bytes
255 heads, 63 sectors/track, 4191 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/dm-1: 16.7 GB, 16726884352 bytes
255 heads, 63 sectors/track, 2033 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000


Disk /dev/dm-2: 21.1 GB, 21105737728 bytes
255 heads, 63 sectors/track, 2565 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

== END fdisk -l ==

== BEGIN blkid ==
/dev/cciss/c0d0p1: UUID="dda647fb-184f-4343-97d3-f97bd66a56ff" TYPE="ext4"
/dev/cciss/c0d0p2: UUID="3dIReh-d7RM-nAWW-VS63-HC4u-nChP-E31KGq" TYPE="LVM2_member"
/dev/mapper/vg_dl380g4-lv_root: UUID="927c9958-ec0c-4245-b340-877e9623713d" TYPE="ext4"
/dev/mapper/vg_dl380g4-lv_swap: UUID="d1eb5f86-6d52-4ffe-bd33-6458d025360e" TYPE="swap"
/dev/mapper/vg_dl380g4-lv_home: UUID="d4673b8d-4f0c-4fac-b6f3-f7446d4f34d5" TYPE="ext4"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
PV VG Fmt Attr PSize PFree
/dev/cciss/c0d0p2 vg_dl380g4 lvm2 a- 67.34g 0
== END pvs ==

== BEGIN vgs ==
VG #PV #LV #SN Attr VSize VFree
vg_dl380g4 1 3 0 wz--n- 67.34g 0
== END vgs ==

== BEGIN lvs ==
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
lv_home vg_dl380g4 -wi-ao 19.66g
lv_root vg_dl380g4 -wi-ao 32.11g
lv_swap vg_dl380g4 -wi-ao 15.58g
== END lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.32-71.29.1.el6.x86_64
kernel-2.6.32-71.el6.x86_64
kernel-devel-2.6.32-71.29.1.el6.x86_64
kernel-firmware-2.6.32-71.29.1.el6.noarch
kernel-headers-2.6.32-71.29.1.el6.x86_64
== END rpm -qa kernel\* | sort ==

== BEGIN lspci ==
00:00.0 Host bridge: Intel Corporation E7520 Memory Controller Hub (rev 0c)
00:02.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express Port A (rev 0c)
00:06.0 PCI bridge: Intel Corporation E7520 PCI Express Port C (rev 0c)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
01:03.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
01:04.0 System peripheral: Compaq Computer Corporation Integrated Lights Out Controller (rev 01)
01:04.2 System peripheral: Compaq Computer Corporation Integrated Lights Out Processor (rev 01)
02:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09)
02:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09)
03:01.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10)
03:01.1 Ethernet controller: Broadcom Corporation NetXtreme BCM5704 Gigabit Ethernet (rev 10)
04:03.0 RAID bus controller: Compaq Computer Corporation Smart Array 64xx (rev 01)
05:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge A (rev 09)
05:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge B (rev 09)
06:01.0 PCI bridge: IBM PCI-X to PCI-X Bridge (rev 03)
06:02.0 PCI bridge: IBM PCI-X to PCI-X Bridge (rev 03)
07:04.0 RAID bus controller: Compaq Computer Corporation Smart Array 64xx (rev 01)
08:04.0 RAID bus controller: Compaq Computer Corporation Smart Array 64xx (rev 01)
== END lspci ==

== BEGIN lspci -n ==
00:00.0 0600: 8086:3590 (rev 0c)
00:02.0 0604: 8086:3595 (rev 0c)
00:06.0 0604: 8086:3599 (rev 0c)
00:1d.0 0c03: 8086:24d2 (rev 02)
00:1d.1 0c03: 8086:24d4 (rev 02)
00:1d.2 0c03: 8086:24d7 (rev 02)
00:1d.3 0c03: 8086:24de (rev 02)
00:1d.7 0c03: 8086:24dd (rev 02)
00:1e.0 0604: 8086:244e (rev c2)
00:1f.0 0601: 8086:24d0 (rev 02)
00:1f.1 0101: 8086:24db (rev 02)
01:03.0 0300: 1002:4752 (rev 27)
01:04.0 0880: 0e11:b203 (rev 01)
01:04.2 0880: 0e11:b204 (rev 01)
02:00.0 0604: 8086:0329 (rev 09)
02:00.2 0604: 8086:032a (rev 09)
03:01.0 0200: 14e4:1648 (rev 10)
03:01.1 0200: 14e4:1648 (rev 10)
04:03.0 0104: 0e11:0046 (rev 01)
05:00.0 0604: 8086:0329 (rev 09)
05:00.2 0604: 8086:032a (rev 09)
06:01.0 0604: 1014:01a7 (rev 03)
06:02.0 0604: 1014:01a7 (rev 03)
07:04.0 0104: 0e11:0046 (rev 01)
08:04.0 0104: 0e11:0046 (rev 01)
== END lspci -n ==

== BEGIN lsusb ==
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
== END lsusb ==

== BEGIN ifconfig -a ==
eth0 Link encap:Ethernet HWaddr 00:13:21:0E:53:01
inet addr:192.168.1.150 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:21ff:fe0e:5301/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1444 errors:0 dropped:0 overruns:0 frame:0
TX packets:703 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:195474 (190.8 KiB) TX bytes:92951 (90.7 KiB)
Interrupt:25

eth1 Link encap:Ethernet HWaddr 00:13:21:0E:53:00
inet addr:192.168.1.151 Bcast:192.168.1.151 Mask:255.255.255.255
inet6 addr: fe80::213:21ff:fe0e:5300/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:609 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:113951 (111.2 KiB) TX bytes:734 (734.0 b)
Interrupt:26

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

== END ifconfig -a ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
xxx.xxx.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
xxx.xxx.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
== END route -n ==

== BEGIN cat /etc/resolv.conf ==
; generated by /sbin/dhclient-script
search home
nameserver 192.168.1.1
== END cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

[/code]


Thanks a lot

Antonio

cvisual
Posts: 13
Joined: 2011/08/02 15:01:47

Re: ISCSI target configuration

Post by cvisual » 2011/08/17 17:52:36

A new report:

Just to check, I plug a 2Tb USB external Disk to my server (DL380G4)
(before I unmont and unplug the USB pen drive)

I mount it with:

ntfs-3g /dev/sda1 /mnt/ExtDISK2Tb

and this works fine... can read and write files in Centos...

Going crazy - maybe a raid0 conflict with ntfs-3g?


still trying...

regards

Antonio

cvisual
Posts: 13
Joined: 2011/08/02 15:01:47

Re: ISCSI target configuration

Post by cvisual » 2011/08/18 10:26:42

Hi Guys

To avoid any mess up in this thread, and as the iSCSI issue was solved, I start a new topic about my NTFS mount issue on Centos6-General Support topics:

https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32818&forum=55

Thanks for all and kind regards

Antonio

Post Reply