Koozali.org: home of the SME Server

Tape Restore Problem

Rick Evans

Tape Restore Problem
« on: June 24, 2002, 08:29:50 PM »
I am running SME version 5.1.2 and using a Seagate STT200000A as a slave on the secondary chanel of IDE bus. I have been doing nightly backups and everything seems seems to be OK in the backup logs, but I am having problems trying to restore a single file.

I installed the restorenow panel and am trying to get a single file from a backup but for some reason it dosen't seem to work.

The file name is "Bid Log.xls" It seems like the it tries, I can hear the tape drive wind but the file never appears. I also followed the howto on reading the contents of a tape and I can see the file on the tape. I tried to do a comand line single file extract but that didn't work beacuse of the file name (Bid Log.xls), I guess the space is messing things up. I even tried to use "*Log.xls" in the command line and the restorenow panel both with no success.

Anyone have this problem?

Thanks,
Rick Evans

Robert Boerner

Re: Tape Restore Problem
« Reply #1 on: June 25, 2002, 02:37:07 AM »
Did you try quoting the filename? I am guessing the space in the name itself is what is causing your problem. Just a guess :-)

FredS

Re: Tape Restore Problem
« Reply #2 on: June 26, 2002, 12:38:00 AM »
I have had the same problem and as Robert said put the file name in quotes

eg

'./home/e-smith/files/ibays/directory/files/big world.xls'

Rick Evans

Re: Tape Restore Problem
« Reply #3 on: June 27, 2002, 03:11:10 AM »
I think that I have a different problem.

I took a look at the messges in server-manager and I get this:

-----------------------------Start Log Information-----------------------------
Jun 26 18:04:25 wpb-fs01 e-smith[5412]: Processing event: RestoreNow
Jun 26 18:04:25 wpb-fs01 e-smith[5412]: Running event handler: /etc/e-smith/events/RestoreNow/S10RestoreNow
Jun 26 18:04:26 wpb-fs01 kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key Illegal Request
Jun 26 18:04:26 wpb-fs01 kernel: Additional sense indicates Invalid command operation code
Jun 26 18:04:26 wpb-fs01 kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key Illegal Request
Jun 26 18:04:26 wpb-fs01 kernel: Additional sense indicates Invalid command operation code
Jun 26 18:04:26 wpb-fs01 e-smith[5412]:
Jun 26 18:04:26 wpb-fs01 e-smith[5412]: flexbackup version 0.9.8
Jun 26 18:04:26 wpb-fs01 e-smith[5412]: /etc/flexbackup.conf syntax OK
Jun 26 18:04:26 wpb-fs01 e-smith[5412]:
Jun 26 18:04:26 wpb-fs01 e-smith[5412]: |------------------------------------------------
Jun 26 18:04:36 wpb-fs01 kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key Illegal Request
Jun 26 18:04:36 wpb-fs01 kernel: Additional sense indicates Invalid command operation code
Jun 26 18:04:36 wpb-fs01 kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key Illegal Request
Jun 26 18:04:36 wpb-fs01 kernel: Additional sense indicates Invalid field in parameter list
Jun 26 18:04:36 wpb-fs01 e-smith[5412]: | Trying "mt defblksize" instead of "mt setblk"
Jun 26 18:04:36 wpb-fs01 kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key Illegal Request
Jun 26 18:04:36 wpb-fs01 kernel: Additional sense indicates Invalid command operation code
Jun 26 18:04:36 wpb-fs01 kernel: st0: Default block size set to 0 bytes.
Jun 26 18:04:36 wpb-fs01 kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key Illegal Request
Jun 26 18:04:36 wpb-fs01 kernel: Additional sense indicates Invalid command operation code
Jun 26 18:04:36 wpb-fs01 kernel: st0: Default block size set to 0 bytes.
Jun 26 18:04:36 wpb-fs01 e-smith[5412]: | Reading from current tape position
Jun 26 18:04:36 wpb-fs01 e-smith[5412]: |------------------------------------------------
Jun 26 18:04:36 wpb-fs01 kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key Illegal Request
Jun 26 18:04:36 wpb-fs01 kernel: Additional sense indicates Invalid command operation code
Jun 26 18:04:36 wpb-fs01 e-smith[5412]: At block 85.
Jun 26 18:04:36 wpb-fs01 e-smith[5412]: |------------------------------------------------
Jun 26 18:04:36 wpb-fs01 e-smith[5412]: | Extracting files listed in /tmp/RestoreNow
Jun 26 18:04:36 wpb-fs01 e-smith[5412]: | buffer -m 3m -s 10k -u 100 -t -p 75 -B -i /dev/nst0 | gzip -dq | restore -x \
Jun 26 18:04:36 wpb-fs01 e-smith[5412]: |  -o -v -b 10 -f - './home/e-smith/files/ibays/est-pm/files/Bid Log.xls'
Jun 26 18:04:36 wpb-fs01 e-smith[5412]: |------------------------------------------------
Jun 26 18:04:36 wpb-fs01 kernel: st0: Error with sense data: [valid=0] Info fld=0x0, Current st09:00: sense key Illegal Request
Jun 26 18:04:36 wpb-fs01 kernel: Additional sense indicates Invalid command operation code
Jun 26 18:04:37 wpb-fs01 e-smith[5412]: restore: cannot open /dev/tty: No such device or address
-----------------------------End Log Information-----------------------------

I am really worried now, I have been backing up every night (rotating 5 tapes) thinking that I am home free in case of disaster. No I am thinking, that I have been wasting my time, worse yet, I have no valid backups. ::depressed::

Anyone have any idea what all that stuff means? Looks to me like that tape dosen't work.

Thanks,
Rick Evans