Join IIUG
 for   
 

Informix News
18 Nov 13 - ZDNet - Top 20 mobile skills in demand... Read
09 Sep 13 - telecompaper - Shaspa and Tatung have shown a new smart home platform at Ifa in Berlin. Powered by the IBM Informix software... Read
06 Sep 13 - IBM data magazine - Mission Accomplished - Miami, Florida will be the backdrop for the 2014 IIUG Informix Conference... Read
01 Feb 13 - IBM Data Magazine - Are your database backups safe? Lester Knutsen (IBM Champion) writes about database back up safety using "archecker"... Read
14 Nov 12 - IBM - IBM's Big Data For Smart Grid Goes Live In Texas... Read
3 Oct 12 - The Financial - IBM and TransWorks Collaborate to Help Louisiana-Pacific Corporation Achieve Supply Chain Efficiency... Read
28 Aug 12 - techCLOUD9 - Splunk kicks up a SaaS Storm... Read
10 Aug 12 - businessCLOUD9 - Is this the other half of Cloud monitoring?... Read
3 Aug 12 - IBM data management - Supercharging the data warehouse while keeping costs down IBM Informix Warehouse Accelerator (IWA) delivers superior performance for in-memory analytics processing... Read
2 Aug 12 - channelbiz - Oninit Group launches Pay Per Pulse cloud-based service... Read
28 May 12 - Bloor - David Norfolk on the recent Informix benchmark "pretty impressive results"... Read
23 May 12 - DBTA - Informix Genero: A Way to Modernize Informix 4GL Applications... Read
9 Apr 12 - Mastering Data Management - Upping the Informix Ante: Advanced Data Tools... Read
22 Mar 12 - developerWorks - Optimizing Informix database access... Read
14 Mar 12 - BernieSpang.com - International Informix User Group set to meet in San Diego... Read
1 Mar 12 - IBM Data Management - IIUG Heads West for 2012 - Get ready for sun and sand in San Diego... Read
1 Mar 12 - IBM Data Management - Running Informix on Solid-State Drives.Speed Up Database Access... Read
26 Feb 12 - BernieSpan.com - Better results, lower cost for a broad set of new IBM clients and partners... Read
24 Feb 12 - developerWorks - Informix Warehouse Accelerator: Continuous Acceleration during Data Refresh... Read
6 Feb 12 - PRLOG - Informix port delivers unlimited database scalability for popular SaaS application ... Read
2 Feb 12 - developerWorks - Loading data with the IBM Informix TimeSeries Plug-in for Data Studio... Read
1 Feb 12 - developerWorks - 100 Tech Tips, #47: Log-in to Fix Central... Read
13 Jan 12 - MC Press online - Informix Dynamic Server Entices New Users with Free Production Edition ... Read
11 Jan 12 - Computerworld - Ecologic Analytics and Landis+Gyr -- Suitors Decide to Tie the Knot... Read
9 Jan 12 - planetIDS.com - DNS impact on Informix / Impacto do DNS no Informix... Read
8 Sep 11 - TMCnet.com - IBM Offers Database Solution to Enable Smart Meter Data Capture... Read
1 Aug 11 - IBM Data Management Magazine - IIUG user view: Happy 10th anniversary to IBM and Informix... Read
8 Jul 11 - Database Trends and Applications - Managing Time Series Data with Informix... Read
31 May 11 - Smart Grid - The meter data management pitfall utilities are overlooking... Read
27 May 11 - IBM Data Management Magazine - IIUG user view: Big data, big time ( Series data, warehouse acceleration, and 4GLs )... Read
16 May 11 - Business Wire - HiT Software Announces DBMoto for Enterprise Integration, Adds Informix. Log-based Change Data Capture... Read
21 Mar 11 - Yahoo! Finance - IBM and Cable&Wireless Worldwide Announce UK Smart Energy Cloud... Read
14 Mar 11 - MarketWatch - Fuzzy Logix and IBM Unveil In-Database Analytics for IBM Informix... Read
11 Mar 11 - InvestorPlace - It's Time to Give IBM Props: How many tech stocks are up 53% since the dot-com boom?... Read
9 Mar 11 - DBTA - Database Administration and the Goal of Diminishing Downtime... Read
2 Feb 11 - DBTAs - Informix 11.7 Flexible Grid Provides a Different Way of Looking at Database Servers... Read
27 Jan 11 - exactsolutions - Exact to Add Informix Support to Database Replay, SQL Monitoring Solutions... Read
25 Jan 11 - PR Newswire - Bank of China in the UK Works With IBM to Become a Smarter, Greener Bank... Read
12 Oct 10 - Database Trends and Applications - Informix 11.7: The Beginning of the Next Decade of IBM Informix... Read
20 Sep 10 - planetIDS.com - ITG analyst paper: Cost/Benefit case for IBM Informix as compared to Microsoft SQL Server... Read
20 Jul 10 - IBM Announcements - IBM Informix Choice Edition V11.50 helps deploy low-cost scalable and reliable solutions for Apple Macintosh and Microsoft Windows... Read
20 Jul 10 - IBM Announcements - Software withdrawal: Elite Support for Informix Ultimate-C Edition... Read
24 May 10 - eWeek Europe - IBM Supplies Database Tech For EU Smart Grid... Read
23 May 10 - SiliconIndia - IBM's smart metering system allows wise use of energy... Read
21 May 10 - CNET - IBM to help people monitor energy use... Read
20 May 10 - ebiz - IBM Teams With Hildebrand To Bring Smart Metering To Homes Across Britain... Read
19 May 10 - The New Blog Times - Misurare il consumo energetico: DEHEMS è pronto... Read
19 May 10 - ZDNet - IBM software in your home? Pact enables five-city smart meter pilot in Europe... Read
17 March 10 - ZDNet (blog) David Morgenstern - TCO: New research finds Macs in the enterprise easier, cheaper to manage than... Read
17 March 2010 - Virtualization Review - ...key components of Big Blue's platform to the commercial cloud such as its WebSphere suite of application ser vers and its DB2 and Informix databases... Read
10 February 2010 - The Wall Street Journal - International Business Machines is expanding an initiative to win over students and professors on its products. How do they lure the college crowd?... Read


End of Support Dates

IIUG on Facebook IIUG on Twitter

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum

RE: IDS 7.31/SunOS 5.7 ontape restore problem

Posted By: LARRY SORENSEN
Date: Wednesday, 6 January 2010, at 4:43 p.m.

In Response To: Re: IDS 7.31/SunOS 5.7 ontape restore problem (JACQUES RENAUT)

Let me recap to make sure I know what you are saying. It looks like your dbspace and chunks for a database were stored on a hard drive that failed, but the Informix instance was installed and configured elsewhere. If that is the case, I am not sure why you added a new dbspace to your instance before the restore. It appears that you are using "cooked" space for your database. I understand the process as follows:

Create the files to be used:

touch mytest_db1
touch mytest_db2
touch mytest_db3

chmod 660 mydb*

Create the symbolic links to the files created above. The symbolic links will look the same name as was used in the database that failed. The only difference is that they point to a different disk now.

ln -s .......

ln -s .......

ln -s .......

mt -f /dev/rmt/0cbn rewind
onmode -yuck
ontape -r

I am assuming that the links to the root dbspace and the temp dbspaces either still exist or that they are using the same space referred to above and everything is together. I am thinking that the error message you received was misleading.

Larry

> To: ids@iiug.org
> From: jrenaut@us.ibm.com
> Subject: Re: IDS 7.31/SunOS 5.7 ontape restore problem [18575]
> Date: Wed, 6 Jan 2010 15:56:35 -0500
>
> You wrote:
> Hello and Happy 2010!
>
> On Xmas eve 2009 one of the disks on a server that I admin went offline,
> taking with it an Informix database that is much missed. First I
> re-initialized the database chunks by executing the following:
>
> touch mytest_db1
> touch mytest_db2
> touch mytest_db3
> chmod 660 mydb*
> onspaces -c -d mytestdb -p /mytest_db1 -o 0 -s 2000000
> onspaces -a mytestdb -p /mytest_db2 -o 0 -s 2000000
> onspaces -a mytestdb -p /mytest_db3 -o 0 -s 2000000
>
> I made sure that the chunk size matched the chunk size of the missing
> chunks (2 GB). I've read some posts on the net that say that one need
> not create the chunks, merely touch the files and set the correct 660
> permissions. I didn't know what to believe, so I made the chunks.
>
> Then I snapped the database symlinks for my missing databases (mytestdb)
> to above newly created chunks. My understanding is that only the symlink
> paths needs to stay the same, not the target to which the links point.
>
> I then attempted cold restoring from the last known good 8mm Exabyte tape
> backup
> for our database.
>
> mt -f /dev/rmt/0cbn rewind
> onmode -yuck
> ontape -r
>
> Archive Tape Information
>
> Tape type: Archive Backup Tape
> Online version: Informix Dynamic Server Version 7.31.UC4
> Archive date: Wed Jun 27 12:31:22 2007
> User id: informix
> Terminal id: /dev/pts/4
> Archive level: 0
> Tape device: /dev/rmt/0cbn
> Tape blocksize (in k): 1024
> Tape size (in k): 138240000
> Tape number in series: 1
>
> Spaces to restore:1 [rootdbs ]
> 2 [livedb ]
> 3 [testdb ]
> 4 [traindb ]
> 5 [llogdbs ]
>
> Archive Information
>
> Informix Dynamic Server Copyright(C) 1986-1998 Informix Software, Inc.
> Initialization Time 10/25/2003 00:28:45
> System Page Size 2048
> Version 6
> Archive CheckPoint Time 06/27/2007 12:31:26
> paces
> number flags fchunk nchunks flags owner name
> 1 1 1 1 N informix rootdbs
> 2 1 2 16 N informix mydb
> 5 1 5 1 N informix llogdbs
> 6 2001 6 1 N T informix tempdb
> 7 2001 7 1 N T informix tempdb2
> 8 2001 26 1 N T informix tempdb3
>
> Chunks
> chk/dbs offset size free bpages flags pathname
> 1 1 0 400000 333479 PO- /dblnk/live/my_root
> 2 2 0 1000000 13 PO- /dblnk/live/my_db1
> 3 3 0 1000000 13 PO- /dblnk/test/mytest_db1
> 4 4 0 1000000 65217 PO- /dblnk/train/mytrain_db1
> 5 5 0 700100 47 PO- /dblnk/llog/my_llogs
> 6 6 0 500000 499497 PO- /dblnk/live/my_temp1
> 7 7 0 500000 499497 PO- /dblnk/live/my_temp2
> 8 2 0 1000000 395348 PO- /dblnk/live/my_db2
> 9 2 0 1000000 15 PO- /dblnk/live/my_db3
> 10 2 0 1000000 3 PO- /dblnk/live/my_db4
> 11 2 0 1000000 59 PO- /dblnk/live/my_db5
> 12 2 0 1000000 8 PO- /dblnk/live/my_db6
> 13 4 0 1000000 869947 PO- /dblnk/train/mytrain_db2
> 14 2 0 1000000 79371 PO- /dblnk/live/my_db7
> 15 2 0 1000000 3 PO- /dblnk/live/my_db8
> 16 2 0 1000000 6 PO- /dblnk/live/my_db9
> 17 2 0 1000000 2711 PO- /dblnk/live/my_db10
> 18 2 0 1000000 550379 PO- /dblnk/live/my_db11
> 19 2 0 1000000 24997 PO- /dblnk/live/my_db12
> 20 2 0 1000000 24997 PO- /dblnk/live/my_db13
> 21 4 0 500000 499997 PO- /dblnk/train/mytrain_db3
> 22 2 0 1000000 399997 PO- /dblnk/live/my_db14
> 23 2 0 1000000 999997 PO- /dblnk/live/my_db15
> 24 2 0 1000000 999997 PO- /dblnk/live/my_db16
> 25 3 0 1000000 11483 PO- /dblnk/test/mytest_db2
> 26 8 0 500000 499497 PO- /dblnk/live/my_temp3
> 27 3 0 1000000 834997 PO- /dblnk/test/mytest_db3
>
> Continue restore? (y/n)y
> Do you want to back up the logs? (y/n)n
> Physical restore failed - restore reserved pages failed
>
> Program over.
>
> When I Googled the above error message, the advice that I read said to
> make sure the TAPE blocksize was set correctly using either mt and/or the
> onconfig file. mt on SunOS 5.7 doesn't support setting the blocksize
> as far as I could determine from it's arcane manpage and the onconfig
> file that ontape uses has the correct blocksize (1024K) and total tape
> size (138,240,000K). Another post I read said to make sure that the
> path to the symlinks that point to the chunks had not changed name.
> I made doubly sure of this.
>
> Any further insights as to what I can do to make this `go' would be
> much appreciated.
>
> TIA,
>
> Marshall
> -----------------------------------------------------------------------------
>
> I think the problem is simply that you are using a no-rewind device. The
> ontape process opens and reads the 1st block to print out the chunks it's
> restoring etc...It then closes the device and reopens it. At that point it is
> expecting to do it's read and reread the block it used to display that
> chunk/dbspace information, and if it's can't, the restore will fail. I think
> if you just do the restore with a rewind device it should work.
>
> Jacques Renaut
> IBM Informix Advanced Support
> APD Team
>
>
> *******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>

Messages In This Thread

[ View Thread ] [ Post Response ] [ Return to Index ] [ Read Prev Msg ] [ Read Next Msg ]

IDS Forum is maintained by Administrator with WebBBS 5.12.