LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-08-2010, 01:10 AM   #1
simransab
LQ Newbie
 
Registered: Sep 2009
Posts: 23

Rep: Reputation: 15
Restore from Tape: /bin/tar: /dev/rmt/0bn: Cannot read: Cannot allocate memory


Hi All,

i'm having a problem here, where i cannot restore certain file from tape. This is the first time i'm using tape backup in linux.

Successful file restore with tar command:
--------------------
emlxmba[mb]% /bin/mt -f /dev/rmt/0bn rewind
emlxmba[mb]% /bin/mt -f /dev/rmt/0bn asf 2
emlxmba[mb]% /bin/tar xvf /dev/rmt/0bn
raw_flex_ft_db1327.1

Failed fail restoration with tar command:
-----------------------------------------
emlxmba[mb]% /bin/mt -f /dev/rmt/0bn rewind
emlxmba[mb]% /bin/mt -f /dev/rmt/0bn asf 1
emlxmba[mb]% /bin/tar xvf /dev/rmt/0bn
/bin/tar: /dev/rmt/0bn: Cannot read: Cannot allocate memory
/bin/tar: At beginning of tape, quitting now
/bin/tar: Error is not recoverable: exiting now

Certain file id (2,4,6,7,8,9..) able to restore successfully.
Certain file is (1,3,5,10..) not able to restore with above error.

I try search in the net, it says may due to block size different.
I dont understand the concept and tried the command to determine/fix block size but failed.

Anyone can help here?

Thanks,
Sabrina
 
Old 01-09-2010, 06:03 PM   #2
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
What does "mt -f /dev/rmt/0bn status" show?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/bin/tar: Cannot utime: Read-only file system fukawi2 Linux - Software 10 01-16-2009 04:18 PM
cifs mount - cp read Cannot allocate memory ccraddock Linux - Desktop 0 06-24-2008 04:23 PM
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
OpenAL nForce3 driver issues, cannot allocate memory on /dev/dsp The_Nerd Linux - Software 0 02-16-2006 11:22 PM
Equiv of /dev/rmt/0cbn in RedHat 8? discostu Red Hat 0 06-24-2003 05:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration