<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Backup Fails in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425428#M36699</link>
    <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I hav a DL 380 G4 with a DAT72 tape drive at 5300 Tape Array. The OS is RHEL-4. When I'm trying to take tar backup, I found the following erros: &lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 /]# uname -a&lt;BR /&gt;Linux gpklvs2.grameenphone.net 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 18:00:32 EDT 2006 i686 i686 i386 GNU/Linux&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 /]# dmesg | grep tape&lt;BR /&gt;Attached scsi tape st0 at scsi1, channel 0, id 5, lun 0&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 /]# cd /home&lt;BR /&gt;[root@gpklvs2 home]# ll&lt;BR /&gt;total 40&lt;BR /&gt;drwxr-xr-x  2 root root  4096 Apr  4  2007 cluster&lt;BR /&gt;drwxr-xr-x  2 root root  4096 Jul 26  2006 diwakar&lt;BR /&gt;drwxr-xr-x  3 root root  4096 Jul 24  2006 kvsms-patch&lt;BR /&gt;drwx------  2 root root 16384 Mar  9  2006 lost+found&lt;BR /&gt;drwxr-xr-x  2 root root  4096 Apr 16  2006 netbackup&lt;BR /&gt;drwxrwxrwx  4 root root  4096 Oct 20  2008 tanvir&lt;BR /&gt;drwxr-xr-x  2 root root  4096 May 20 11:36 testbackup&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 home]# tar -czf /dev/st0 /home/testbackup&lt;BR /&gt;tar: Removing leading `/' from member names&lt;BR /&gt;tar: /dev/st0: Cannot open: Input/output error&lt;BR /&gt;tar: Error is not recoverable: exiting now&lt;BR /&gt;tar: Child returned status 2&lt;BR /&gt;tar: Error exit delayed from previous errors&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 home]# tar -tzf /dev/st0&lt;BR /&gt;tar: /dev/st0: Cannot open: Input/output error&lt;BR /&gt;tar: Error is not recoverable: exiting now&lt;BR /&gt;gzip: stdin: unexpected end of file&lt;BR /&gt;tar: Child returned status 2&lt;BR /&gt;tar: Error exit delayed from previous errors&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 home]# mt -f /dev/st0 status&lt;BR /&gt;SCSI 2 tape drive:&lt;BR /&gt;File number=-1, block number=-1, partition=0.&lt;BR /&gt;Tape block size 0 bytes. Density code 0x0 (default).&lt;BR /&gt;Soft error count since last status=0&lt;BR /&gt;General status bits on (50000):&lt;BR /&gt;DR_OPEN IM_REP_EN&lt;BR /&gt;&lt;BR /&gt;Any suggestion from anyone?&lt;BR /&gt;&lt;BR /&gt;Rgds-Kranti</description>
    <pubDate>Sun, 24 May 2009 02:44:53 GMT</pubDate>
    <dc:creator>Kranti Mahmud</dc:creator>
    <dc:date>2009-05-24T02:44:53Z</dc:date>
    <item>
      <title>Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425428#M36699</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;I hav a DL 380 G4 with a DAT72 tape drive at 5300 Tape Array. The OS is RHEL-4. When I'm trying to take tar backup, I found the following erros: &lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 /]# uname -a&lt;BR /&gt;Linux gpklvs2.grameenphone.net 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 18:00:32 EDT 2006 i686 i686 i386 GNU/Linux&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 /]# dmesg | grep tape&lt;BR /&gt;Attached scsi tape st0 at scsi1, channel 0, id 5, lun 0&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 /]# cd /home&lt;BR /&gt;[root@gpklvs2 home]# ll&lt;BR /&gt;total 40&lt;BR /&gt;drwxr-xr-x  2 root root  4096 Apr  4  2007 cluster&lt;BR /&gt;drwxr-xr-x  2 root root  4096 Jul 26  2006 diwakar&lt;BR /&gt;drwxr-xr-x  3 root root  4096 Jul 24  2006 kvsms-patch&lt;BR /&gt;drwx------  2 root root 16384 Mar  9  2006 lost+found&lt;BR /&gt;drwxr-xr-x  2 root root  4096 Apr 16  2006 netbackup&lt;BR /&gt;drwxrwxrwx  4 root root  4096 Oct 20  2008 tanvir&lt;BR /&gt;drwxr-xr-x  2 root root  4096 May 20 11:36 testbackup&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 home]# tar -czf /dev/st0 /home/testbackup&lt;BR /&gt;tar: Removing leading `/' from member names&lt;BR /&gt;tar: /dev/st0: Cannot open: Input/output error&lt;BR /&gt;tar: Error is not recoverable: exiting now&lt;BR /&gt;tar: Child returned status 2&lt;BR /&gt;tar: Error exit delayed from previous errors&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 home]# tar -tzf /dev/st0&lt;BR /&gt;tar: /dev/st0: Cannot open: Input/output error&lt;BR /&gt;tar: Error is not recoverable: exiting now&lt;BR /&gt;gzip: stdin: unexpected end of file&lt;BR /&gt;tar: Child returned status 2&lt;BR /&gt;tar: Error exit delayed from previous errors&lt;BR /&gt;&lt;BR /&gt;[root@gpklvs2 home]# mt -f /dev/st0 status&lt;BR /&gt;SCSI 2 tape drive:&lt;BR /&gt;File number=-1, block number=-1, partition=0.&lt;BR /&gt;Tape block size 0 bytes. Density code 0x0 (default).&lt;BR /&gt;Soft error count since last status=0&lt;BR /&gt;General status bits on (50000):&lt;BR /&gt;DR_OPEN IM_REP_EN&lt;BR /&gt;&lt;BR /&gt;Any suggestion from anyone?&lt;BR /&gt;&lt;BR /&gt;Rgds-Kranti</description>
      <pubDate>Sun, 24 May 2009 02:44:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425428#M36699</guid>
      <dc:creator>Kranti Mahmud</dc:creator>
      <dc:date>2009-05-24T02:44:53Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425429#M36700</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Open the hardware browser and see if the tape drive is detected.&lt;BR /&gt;&lt;BR /&gt;Do a test read from a tape, you know has a valid archive on it.&lt;BR /&gt;&lt;BR /&gt;Probably the tape drive is not detected or configured properly.&lt;BR /&gt;&lt;BR /&gt;You may need drivers, but based on what I see the drive is much older than the OS. It could be a conflicting SCSI configuration or connecting the drive to a SCSI card that does not support the tape drive.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 24 May 2009 05:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425429#M36700</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-05-24T05:32:02Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425430#M36701</link>
      <description>Hi SEP,&lt;BR /&gt;&lt;BR /&gt;Great to got a repsonse from a BOSS like U.&lt;BR /&gt;&lt;BR /&gt;BTW,&lt;BR /&gt;&lt;BR /&gt;Open the hardware browser and see if the tape drive is detected.&lt;BR /&gt;=&amp;gt; The tape is detected perfectly from the OS.&lt;BR /&gt;&lt;BR /&gt;Do a test read from a tape, you know has a valid archive on it.&lt;BR /&gt;=&amp;gt; Please clarify this point.&lt;BR /&gt;&lt;BR /&gt;Probably the tape drive is not detected or configured properly.&lt;BR /&gt;=&amp;gt; The tape drive is configured @ 2007, and the customers taking backup perfectly. &lt;BR /&gt;This problem occurs abt 2 weeks ago.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is it a HW issue or Driver issue?&lt;BR /&gt;Is there any other way to check the root cause of the backup failure?&lt;BR /&gt;&lt;BR /&gt;Rgds-Kranti</description>
      <pubDate>Sun, 24 May 2009 05:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425430#M36701</guid>
      <dc:creator>Kranti Mahmud</dc:creator>
      <dc:date>2009-05-24T05:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425431#M36702</link>
      <description>Hi Kranti,&lt;BR /&gt;&lt;BR /&gt;If you look at the error while listing the tape acrhive it says "gzip: stdin: unexpected end of file" which means something was written on the tape.&lt;BR /&gt;&lt;BR /&gt;Quick way to check the tape read/write capability is to use another tape.&lt;BR /&gt;&lt;BR /&gt;If you still get the errors, I would have question:&lt;BR /&gt;Is my tape drive require some kinda cleaning :-) ?? or need to place a Hardware call.&lt;BR /&gt;&lt;BR /&gt;Its been while I've used tar and mt commands, please check the options for mt man page like: going to the end of tape data...&lt;BR /&gt;&lt;BR /&gt;Let me know your findings.&lt;BR /&gt;&lt;BR /&gt;Good Luck!!</description>
      <pubDate>Sun, 24 May 2009 09:11:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425431#M36702</guid>
      <dc:creator>Nido</dc:creator>
      <dc:date>2009-05-24T09:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425432#M36703</link>
      <description>Hi Nido,&lt;BR /&gt;&lt;BR /&gt;Quick way to check the tape read/write capability is to use another tape.&lt;BR /&gt;=&amp;gt; I do check by using a fresh tape, but the error remains same.&lt;BR /&gt;&lt;BR /&gt;If you still get the errors, I would have question:&lt;BR /&gt;Is my tape drive require some kinda cleaning :-) ?? or need to place a Hardware call.&lt;BR /&gt;==&amp;gt; I do clean the tape drive by a fresh cleaning cartridge, but nothing to be happy.&lt;BR /&gt;&lt;BR /&gt;Its been while I've used tar and mt commands,&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;# mt -f /dev/st0 status&lt;BR /&gt;SCSI 2 tape drive:&lt;BR /&gt;File number=-1, block number=-1, partition=0.&lt;BR /&gt;Tape block size 0 bytes. Density code 0x0 (default).&lt;BR /&gt;Soft error count since last status=0&lt;BR /&gt;General status bits on (50000):&lt;BR /&gt; DR_OPEN IM_REP_EN&lt;BR /&gt;&lt;BR /&gt;# tar -tzf /dev/st0&lt;BR /&gt;tar: /dev/st0: Cannot open: Input/output error&lt;BR /&gt;tar: Error is not recoverable: exiting now&lt;BR /&gt;&lt;BR /&gt;gzip: stdin: unexpected end of file&lt;BR /&gt;tar: Child returned status 2&lt;BR /&gt;tar: Error exit delayed from previous errors&lt;BR /&gt;&lt;BR /&gt;Rgds-Kranti</description>
      <pubDate>Sun, 24 May 2009 09:25:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425432#M36703</guid>
      <dc:creator>Kranti Mahmud</dc:creator>
      <dc:date>2009-05-24T09:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425433#M36704</link>
      <description>Hello Kranti,&lt;BR /&gt;&lt;BR /&gt;Is your tape drive writing at all?&lt;BR /&gt;Please use the following command on couple of smaller size files ( enable verbose mode):&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;tar -cvf /dev/st0 &lt;SOURCE files=""&gt;&lt;BR /&gt;&lt;BR /&gt;Good Luck!!!&lt;/SOURCE&gt;</description>
      <pubDate>Sun, 24 May 2009 10:07:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425433#M36704</guid>
      <dc:creator>Nido</dc:creator>
      <dc:date>2009-05-24T10:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425434#M36705</link>
      <description>Hi Nido,&lt;BR /&gt;&lt;BR /&gt;# cd /home/testbackup/&lt;BR /&gt;[root@gpklvs2 testbackup]# ll&lt;BR /&gt;total 8&lt;BR /&gt;-rw-r--r--  1 root root 1307 Apr 27  2006 hosts&lt;BR /&gt;-rw-r--r--  1 root root   19 May 20 11:36 test&lt;BR /&gt;[root@gpklvs2 testbackup]# more test&lt;BR /&gt;test of tape drive&lt;BR /&gt;&lt;BR /&gt;# tar -cvf /dev/st0 /home/testbackup/&lt;BR /&gt;tar: Removing leading `/' from member names&lt;BR /&gt;tar: /dev/st0: Cannot open: Input/output error&lt;BR /&gt;tar: Error is not recoverable: exiting now&lt;BR /&gt;tar: Child returned status 2&lt;BR /&gt;tar: Error exit delayed from previous errors&lt;BR /&gt;&lt;BR /&gt;Rgds-Kranti</description>
      <pubDate>Sun, 24 May 2009 10:16:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425434#M36705</guid>
      <dc:creator>Kranti Mahmud</dc:creator>
      <dc:date>2009-05-24T10:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425435#M36706</link>
      <description>Hi Kranti,&lt;BR /&gt;You can use dd to verify if this is a problem with your tape drive.&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/st0 erase&lt;BR /&gt;mt -f /dev/st0 rewind&lt;BR /&gt;dd if=/dev/st0 of=/dev/null bs=1024k&lt;BR /&gt;&lt;BR /&gt;if this also does not works. It might be a problem with your tape drive.&lt;BR /&gt;&lt;BR /&gt;Good Luck...!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 25 May 2009 02:24:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425435#M36706</guid>
      <dc:creator>Nuwan Alwis</dc:creator>
      <dc:date>2009-05-25T02:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425436#M36707</link>
      <description>Have you tried using a cleaning tape? Changing scsi cables does it solved? did you check the character device of tape drive's device permissions?&lt;BR /&gt;&lt;BR /&gt;If nothin goes fine with you, then certainly its a tape drive or the scsi controller issue.</description>
      <pubDate>Mon, 25 May 2009 14:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425436#M36707</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2009-05-25T14:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425437#M36708</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Going back to your original post, you say that the tape drive is connected to a 5300 Tape Array.  I assume you mean a SmartArray controller of some form.&lt;BR /&gt;&lt;BR /&gt;Whilst this can work, it is not recommended to connect a tape drive to a SmartArray controller.  A standard SCSI controller would be much better.&lt;BR /&gt;&lt;BR /&gt;That said, you may get some hints as to what is wrong from the output of "file /dev/st0".&lt;BR /&gt;&lt;BR /&gt;And I know you've said that you've tried "fresh" cleaning tapes and data tapes, but did you take them out of the packaging yourself ?   In my experience, cleaning tapes are rarely marked when they've been used, and they do have a limited life (20 cycles if memory serves...)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Mon, 25 May 2009 15:30:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425437#M36708</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2009-05-25T15:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425438#M36709</link>
      <description>Hi Awis,&lt;BR /&gt;&lt;BR /&gt;I do check the&lt;BR /&gt;&lt;BR /&gt;mt -f /dev/st0 erase&lt;BR /&gt;mt -f /dev/st0 rewind&lt;BR /&gt;&lt;BR /&gt;but the executin of these commands was unsucessful.&lt;BR /&gt;&lt;BR /&gt;Hi Ahsan Bhai,&lt;BR /&gt;&lt;BR /&gt;Have you tried using a cleaning tape? &lt;BR /&gt;-&amp;gt;Yes &lt;BR /&gt;Changing scsi cables does it solved?&lt;BR /&gt;-&amp;gt; SCSI cable is not available at customer premisis.  &lt;BR /&gt;Did you check the character device of tape drive's device permissions?-Yes&lt;BR /&gt;&lt;BR /&gt;But, all these RND is fruitless.&lt;BR /&gt;&lt;BR /&gt;Hi Rob,&lt;BR /&gt;&lt;BR /&gt;Cleaning artridge was fresh, as I unpacked it by myself.&lt;BR /&gt;&lt;BR /&gt;So, finally I can conclude that the Tape drive is faulty, ryt?&lt;BR /&gt;&lt;BR /&gt;One more question, as per my observation, there is a juncton between two SCSI cable as the outgoing SCSI cable color (White) of the server and the incoming SCSI cable color (Black) of the Tape drive is different. Does it a issue?&lt;BR /&gt;&lt;BR /&gt;Rgds-Kranti&lt;BR /&gt;</description>
      <pubDate>Tue, 26 May 2009 05:32:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425438#M36709</guid>
      <dc:creator>Kranti Mahmud</dc:creator>
      <dc:date>2009-05-26T05:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425439#M36710</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How exactly is the tape drive connected to the server ?&lt;BR /&gt;&lt;BR /&gt;Internal or external ?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Tue, 26 May 2009 05:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425439#M36710</guid>
      <dc:creator>Rob Leadbeater</dc:creator>
      <dc:date>2009-05-26T05:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Backup Fails</title>
      <link>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425440#M36711</link>
      <description>Hi Rob,&lt;BR /&gt;&lt;BR /&gt;SmartArray controller has two tape drives, which is externally connected with two different servers. One is DL380 G4 in Linux (The suspected one), another is rp3440 in UNIX.&lt;BR /&gt;&lt;BR /&gt;Rgds-Kranti</description>
      <pubDate>Tue, 26 May 2009 05:55:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/backup-fails/m-p/4425440#M36711</guid>
      <dc:creator>Kranti Mahmud</dc:creator>
      <dc:date>2009-05-26T05:55:37Z</dc:date>
    </item>
  </channel>
</rss>

