Re: [SLE] Help with external Tape unit [SOLVED]

From: Oxiel Enrique Contreras Vargas (oxielc_at_yahoo.it)
Date: 09/30/05

  • Next message: Patrick Shanahan: "Re: [SLE] Ordering SUSE 10.0"
    To: suse-linux-e@suse.com
    Date: Fri, 30 Sep 2005 10:15:09 -0400
    
    

    Thanks Ciro and Sandy.

    The solution was to add these lines to /etc/init.d/boot.local:

    for x in /proc/driver/cciss/cciss[0-9]*
    do
      echo "engage scsi" > $x
    done

    after restarting the system detected the tape unit with these messages:

    st: Version 20040403, fixed bufsize 32768, s/g segs 256
    BIOS EDD facility v0.16 2004-Jun-25, 3 devices found
    ERROR: SCSI host `cciss' has no error handling
    ERROR: This is not a safe way to run your SCSI host
    ERROR: The error handling must be added to this driver
     [<f884f749>] scsi_host_alloc+0x2c9/0x2f0 [scsi_mod]
     [<c0162c0c>] do_truncate+0x5c/0xa0
     [<f8870c93>] cciss_scsi_detect+0x13/0x90 [cciss]
     [<f8871d3e>] cciss_engage_scsi+0x5e/0xa0 [cciss]
     [<c01f9ac4>] copy_from_user+0x34/0x70
     [<f8872195>] cciss_proc_write+0x75/0xa0 [cciss]
     [<c0156736>] vma_link+0x66/0x100
     [<c01573b6>] __do_mmap_pgoff+0x466/0x770
     [<c019861f>] proc_file_write+0x2f/0x40
     [<c0164d82>] vfs_write+0xc2/0x140
     [<c0164eb1>] sys_write+0x41/0x70
     [<c0107ffd>] sysenter_past_esp+0x52/0x71
    scsi0 : cciss
      Vendor: HP Model: Ultrium 2-SCSI Rev: F48D
      Type: Sequential-Access ANSI SCSI revision: 03
    Attached scsi tape st0 at scsi0, channel 0, id 0, lun 0
    st0: try direct i/o: yes (alignment 512 B), max page reachable by HBA
    4294967295
    Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 1

    I've some doubts about the above messages.

    Does these missing error handlings to cciss's driver will affect the backups
    i'll make?
    Is it correct to assume the tape is /dev/st0 instead of /dev/sg0 ?
    Wich is the speed of this tape unit ?
    I want to backup the all system for recovering in case of hard disk failure,
    what do you advise me, tar, dump or something else ?

    Best regards

    Oxiel

    El Mar 27 Sep 2005 00:31, Ciro Iriarte escribió:
    > 2005/9/26, Oxiel Enrique Contreras Vargas <oxielc@yahoo.it>:
    > > Hello everybody.
    > >
    > > I've installed SuSE 9.2 Pro (x86) (2.6.8-24.16-bigsmp) to an HP-Proliant
    > > DL360 with an array controller:
    > >
    > > lspci -v says:
    > >
    > > 0000:0b:04.0 RAID bus controller: Compaq Computer Corporation Smart Array
    > > 64xx (rev 01)
    > > Subsystem: Compaq Computer Corporation Smart Array 6400
    > >
    > > hwscan detects this:
    > >
    > > cB5L.gwvXxx1Amj4: (cfg=yes, avail=yes, need=no, active=unknown) storage
    > > Compaq Smart Array 6400
    > >
    > > Connected to it is an external tape unit: HP StorageWorks Ultrium 460
    > >
    > > While booting the server the card and the tape unit gets recognized:
    > >
    > > Slot 2 HP Smart Array 6400 Controller (192 MB, v2.34) 1 Logical Drives
    > > Tape or CDROM Drive(s) Detected
    > > SCSI Port 2: SCSI ID 3
    > >
    > > But when loading the kernel, there does not appear messages seeing the
    > > tape unit, the st module gets loaded but without any dependent device. If
    > > i issue:
    > >
    > > mt -f /dev/sr0 status
    > >
    > > an error occurs.
    > >
    > > What can i do? , rh7-9 detect this device witouth adding anything.
    > >
    > > Is there something i forgot to do in order to make SuSE recognize the
    > > tape?
    > >
    > > Any suggestion is wellcomed.
    > >
    > > Regards
    > >
    > > Oxiel
    >
    > That question has been asked at least twice on the list before,
    > please, search the archives before asking something.
    >
    > http://lists.suse.com/archive/suse-linux-e/2005-May/3748.html
    >
    > CI.-

            

            
                    
    ___________________________________
    Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB
    http://mail.yahoo.it

    -- 
    Check the headers for your unsubscription address
    For additional commands send e-mail to suse-linux-e-help@suse.com
    Also check the archives at http://lists.suse.com
    Please read the FAQs: suse-linux-e-faq@suse.com
    

  • Next message: Patrick Shanahan: "Re: [SLE] Ordering SUSE 10.0"