[Bug 368491] [NEW] Cannot mount partition on iSCSI LUN

alzibub alex.zeffertt at gmail.com
Tue Apr 28 10:44:17 BST 2009


Public bug reported:

Distro: Jaunty
Package: open-iscsi-2.0.870.1-0ubuntu3
Iscsi target: openfiler
Expected outcome: mount succeeds
Actual outcome: mount fails
Details:

I am able to log in to my iSCSI LUN using iscsiadm, but when I try to
mount the partition I get an error.  This used to work on Intrepid, and
the same commands currently work when run from a CentOS 5.2 or Debian
Lenny host.  The commands I am running are:

root at galois:~# iscsiadm -m node -p 10.80.224.21:3260,1 -T iqn.2006-01.com.openfiler:alexz2 -l
Logging in to [iface: default, target: iqn.2006-01.com.openfiler:alexz2, portal: 10.80.224.21,3260]
Login to [iface: default, target: iqn.2006-01.com.openfiler:alexz2, portal: 10.80.224.21,3260]: successful
root at galois:~# mount /dev/disk/by-path/ip-10.80.224.21\:3260-iscsi-iqn.2006-01.com.openfiler\:alexz2-lun-0-part1 /mnt
mount: /dev/sdg1 already mounted or /mnt busy

I think the "already mounted or /mnt busy" message is a red-herring as I
am able to mount other filesystems on /mnt with no problems.

The kernel messages all look okay:

Apr 28 10:19:40 galois kernel: [324463.676641] scsi30 : iSCSI Initiator over TCP/IP
Apr 28 10:19:40 galois kernel: [324463.929278] scsi 30:0:0:0: Direct-Access     OPNFILER VIRTUAL-DISK     0    PQ: 0 ANSI: 4
Apr 28 10:19:40 galois kernel: [324463.930571] sd 30:0:0:0: [sdg] 20971520 512-byte hardware sectors: (10.7 GB/10.0 GiB)
Apr 28 10:19:40 galois kernel: [324463.934014] sd 30:0:0:0: [sdg] Write Protect is off
Apr 28 10:19:40 galois kernel: [324463.935164] sd 30:0:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Apr 28 10:19:40 galois kernel: [324463.935842] sd 30:0:0:0: [sdg] 20971520 512-byte hardware sectors: (10.7 GB/10.0 GiB)
Apr 28 10:19:40 galois kernel: [324463.936397] sd 30:0:0:0: [sdg] Write Protect is off
Apr 28 10:19:40 galois kernel: [324463.936967] sd 30:0:0:0: [sdg] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
Apr 28 10:19:40 galois kernel: [324463.936970]  sdg: sdg1 sdg2
Apr 28 10:19:40 galois kernel: [324463.953384] sd 30:0:0:0: [sdg] Attached SCSI disk
Apr 28 10:19:40 galois kernel: [324463.953441] sd 30:0:0:0: Attached scsi generic sg2 type 0

** Affects: open-iscsi (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Cannot mount partition on iSCSI LUN
https://bugs.launchpad.net/bugs/368491
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to open-iscsi in ubuntu.



More information about the Ubuntu-server-bugs mailing list