Showing posts with label longer. Show all posts
Showing posts with label longer. Show all posts

Wednesday, 11 February 2015

Ubuntu 14.04.1 LTS - after upgrade from 12.04 iSCSI no longer fully functional topic






I have an Ubuntu 14.04.1 LTS server that I did a "do-release-upgrade" on from 12->13->Ubuntu 14.04.1 LTS

Since that upgrade I can no longer map iSCSI volumes to local SCSI devices. iSCSI appears to be working properly. The iSCSI target is a Buffalo TeraStation that worked fine in 12.04 / 12.10. There are no ACLs or any security on the volume I am trying to map / mount to my Ubuntu server. I have removed and --reinstall install open-iscsi, then removed it and compiled it from scratch, same results.

Everything looks ok but I cannot mount / vgscan / access the volume whatsoever.

If anyone has any suggestions, I'd appreciate it! I'll keep digging and post any progress here. I think it might be a kernel / kernel module issue somewhere with iscsi.

Here is the output of various commands that hopefully illustrate the problem:


Code:


root@blackhole:~# cat /etc/issue
Ubuntu 14.04.1 LTS \n \l


root@blackhole:~# uname -a
Linux blackhole 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

root@blackhole:~# iscsiadm -m discovery -t st -p 192.168.10.20
192.168.10.20:3260,1 iqn.2004-08.jp.buffalo:Proxbackups-B0C74509088C:ProxBackups1
169.254.245.160:3260,1 iqn.2004-08.jp.buffalo:Proxbackups-B0C74509088C:ProxBackups1

root@blackhole:~# iscsiadm -m node --targetname iqn.2004-08.jp.buffalo:Proxbackups-B0C74509088C:ProxBackups1 --portal 192.168.10.20:3260 --login

root@blackhole:~#  iscsiadm -m session
tcp: [1] 192.168.10.20:3260,1 iqn.2004-08.jp.buffalo:Proxbackups-B0C74509088C:ProxBackups1

root@blackhole:~# dmesg | grep -i scsi
[    0.324896] SCSI subsystem initialized
[    0.726205] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    6.322377] scsi0 : Fusion MPT SAS Host
[    6.998441] scsi1 : ahci
[    6.998530] scsi2 : ahci
[    6.998610] scsi3 : ahci
[    6.998691] scsi4 : ahci
[    6.998773] scsi5 : ahci
[    6.998852] scsi6 : ahci
[  14.793829] scsi 0:0:0:0: Sequential-Access IBM      ULTRIUM-HH6      D8E5 PQ: 0 ANSI: 6
[  14.886056] scsi 0:0:0:0: SSP: handle(0x0009), sas_addr(0x500e09e0106dca10), phy(3), device_name(0x630705504b0a1012)
[  14.984024] scsi 0:0:0:0: SSP: enclosure_logical_id(0x5b083fe0c9fff700), slot(4)
[  15.083711] scsi 0:0:0:0: qdepth(254), tagged(1), simple(0), ordered(0), scsi_level(7), cmd_que(1)
[  15.190085] scsi 0:0:0:0: TLR Enabled
[  15.243187] scsi 0:0:0:0: Attached scsi generic sg0 type 1
[  15.294938] scsi 1:0:0:0: Direct-Access    ATA      ST9500620NS      n/a  PQ: 0 ANSI: 5
[  15.394648] sd 1:0:0:0: Attached scsi generic sg1 type 0
[  15.548645] sd 1:0:0:0: [sda] Attached SCSI disk
[  15.815397] st 0:0:0:0: Attached scsi tape st0
[  27.087800] Loading iSCSI transport class v2.0-870.
[  27.170579] iscsi: registered transport (tcp)
[  27.346450] iscsi: registered transport (iser)
[  67.607950] scsi7 : iSCSI Initiator over TCP/IP

root@blackhole:~# lsscsi
[0:0:0:0]    tape    IBM      ULTRIUM-HH6      D8E5  /dev/st0
[1:0:0:0]    disk    ATA      ST9500620NS      n/a  /dev/sda

root@blackhole:~# iscsiadm -m session -P3
iSCSI Transport Class version 2.0-870
version 2.0-873
Target: iqn.2004-08.jp.buffalo:Proxbackups-B0C74509088C:ProxBackups1
    Current Portal: 192.168.10.20:3260,1
    Persistent Portal: 192.168.10.20:3260,1
        **********
        Interface:
        **********
        Iface Name: default
        Iface Transport: tcp
        Iface Initiatorname: iqn.2005-03.org.open-iscsi:4b1ce28aaf5
        Iface IPaddress: 192.168.10.15
        Iface HWaddress: <empty>
        Iface Netdev: <empty>
        SID: 1
        iSCSI Connection State: LOGGED IN
        iSCSI Session State: LOGGED_IN
        Internal iscsid Session State: NO CHANGE
        *********
        Timeouts:
        *********
        Recovery Timeout: 120
        Target Reset Timeout: 30
        LUN Reset Timeout: 30
        Abort Timeout: 15
        *****
        CHAP:
        *****
        username: <empty>
        password: ********
        username_in: <empty>
        password_in: ********
        ************************
        Negotiated iSCSI params:
        ************************
        HeaderDigest: None
        DataDigest: None
        MaxRecvDataSegmentLength: 262144
        MaxXmitDataSegmentLength: 8192
        FirstBurstLength: 65536
        MaxBurstLength: 262144
        ImmediateData: Yes
        InitialR2T: Yes
        MaxOutstandingR2T: 1
        ************************
        Attached SCSI devices:
        ************************
        Host Number: 7    State: running








Sunday, 8 February 2015

[xubuntu] Xubuntu splash cryptsetup message is no longer displayed at boot time topic






Question about Xubuntu and cryptsetup I noticed the other day that the usual boot up Xubuntu splash cryptsetup message is no longer displayed. Is there a problem? how can I test to verify that the encryption process is active and working ?






CDRW DVD no longer recognised in devices. topic






Please help me.

My DVD CDRW was working in unbuntu.
But I was having problems ripping cd's.
I have installed rhtyhmbox and Asunder, but could not get either or them to rip cd's.

earlier today I have found this information:

================================================== ===========
damien@damien-OptiPlex-GX620:~$ wodim –devices
wodim: No write mode specified.
wodim: Assuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
Device was not specified. Trying to find an appropriate drive...
Detected CD-R drive: /dev/sr0
Using /dev/cdrom of unknown capabilities
Device type : Removable CD-ROM
Version : 5
Response Format: 2
Capabilities :
Vendor_info : 'PHILIPS '
Identification : 'CDRW/DVD SCB5265'
Revision : 'TD17'
Device seems to be: Generic mmc2 DVD-ROM.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
wodim: No such file or directory. Cannot open '–devices'.
damien@damien-OptiPlex-GX620:~$ cat /proc/sys/dev/cdrom/info
CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name: sr0
drive speed: 24
drive # of slots: 1
Can close tray: 1
Can open tray: 1
Can lock tray: 1
Can change speed: 1
Can select disk: 0
Can read multisession: 1
Can read MCN: 1
Reports media changed: 1
Can play audio: 1
Can write CD-R: 1
Can write CD-RW: 1
Can read DVD: 1
Can write DVD-R: 0
Can write DVD-RAM: 0
Can read MRW: 1
Can write MRW: 1
Can write RAM: 1


damien@damien-OptiPlex-GX620:~$ eject device-name
eject: unable to find or open device for: `device-name'
damien@damien-OptiPlex-GX620:~$ eject /dev/sr0
eject: unable to eject, last error: Inappropriate ioctl for device
damien@damien-OptiPlex-GX620:~$ eject /dev/sr0
eject: unable to eject, last error: Inappropriate ioctl for device
damien@damien-OptiPlex-GX620:~$

==================================================

the drive had stop being recognised as I typed in random suggestions from the internet :

such as :
My DVD-ROM is not showing up in /media or in mount for Ubuntu 10.10 - Super User

Asunder CD Ripper — Ubuntu Apps Directory

Authenticate to http://ubuntuforums.org

Audio CD not appearing in Rhythmbox / Multimedia and Games / Arch Linux Forums

drivers - Cannot view, use, or open CDs or DVDs in Ubuntu 12.04 - Ask Ubuntu

drivers - Ubuntu won't recognize DVD drive - Ask Ubuntu

Hardware

Hardware - Post New Thread

How to re-install dvd-driver in ubuntu - Ask Ubuntu

installing cdrw drive in ubuntu - Google Search

installing cdrw in ubuntu - Google Search

Installing Your ATAPI CDRW Drive in Linux

mount - CD/DVD drive not mounted when inserted with Disc of any kind - Ask Ubuntu

Mount/USB - Community Help Wiki

[SOLVED] CDROM / DVD Drive not detected or useable

[ubuntu] How do I fix: Unable to mount Blank CD-R Disc Location is already mounted"?




Thank you for any help.

my email if needed is damienredmondguitar@gmail.com