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: Move chunk from one disk to another disk

Posted By: Marcus Haarmann
Date: Friday, 11 May 2007, at 10:15 a.m.

In Response To: Move chunk from one disk to another disk (PATRICK LEY)

Hi,

This seems to be a md device setup by metatool.
You could just redefine the device by using metatool, since it is not
really a physical device.
Is it a mirror/RAID 1/5 ?
In this case, remove one device from the meta device and reattach a new
one on the destination disk.
After this is successfully mirrored (metastat), remove the other device
and attach a new one on the secondary destination disk.
If it is a stripe device, shutdown informix, copy the data with dd to
the new device and reassign the device in md.
It all depends on the meta information (which you did not supply).

Marcus

-----Original Message-----
From: PATRICK LEY [mailto:patrickley@excite.com]
Sent: Friday, May 11, 2007 3:52 PM
To: ids@iiug.org
Subject: Move chunk from one disk to another disk [9128]

Hi all,

I really hope someone can give me some pointer to proceed.

Version:

$ uname -a
SunOS xxxxxxx 5.8 Generic_117350-31 sun4u sparc SUNW,Sun-Fire-880 $
onstat -V IBM Informix Dynamic Server Version 9.30.FC6X1 Software Serial
Number xxxx

Here the story. We had a customer set up the database in following
manner.

1. 99% of the chunk setting is set using softlink to a device file. The
device files will point to the raw device that sited on the disk array.

2. There are 3 chunks created directly poiting to device file. (Off
caused it will then point to the raw device).

After a while customer decided to move all the data out to a new device,
so those chunks that using softlink were successfully moved to the new
disk without problem. But the 3 chunks that setup directly using device
file is suffuring serious problem.

What my customer did is delete the device file and point it to new raw
device.
The simple step seem to be so simple, but problem arise when reboot
happen.
The OS kernal detected that changed had happen to the device file and it
automatically 'force' the device file point to it's original location.
These caused database corruption (both index and data).

I am looking for a solution that can.
1. Alter the chunk setting at location of the fname field in
sysmaster.syschunks table so that it can point to a softlink instead.
2. Move the chunks to new location in the new disk [ This can be done
using UNIX command dd, but i need to briing down informix ]. This only
valid if i use softlink not for chunk that setup directly using device
file.

I really need HELP !!!!!!!!

Thanks, Patrick.

Sample of the setup:

$ onstat -d | pg

IBM Informix Dynamic Server Version 9.30.FC6X1 -- On-Line -- Up 3 days
00:23:42 -- 6632448 Kbytes

Dbspaces
address number flags fchunk nchunks flags owner name
2199afe58 1 0x1 1 1 N informix rootdbs
21b8ac1b0 2 0x1 2 211 N informix dbspace 21b8ac330 3 0x8001 105 5 N S
informix sbspace 21b8ac4b0 4 0x2001 106 5 N T informix tempdbspace
21b8ac630 5 0x1 117 1 N informix physdbspace 21b8ac7b0 6 0x1 118 1 N
informix logspace 21b8ac930 7 0x1 119 27 N informix dbindex 21b8acab0 8
0x1 237 1 N informix logicallogdbspace
8 active, 2047 maximum

Chunks
address chk/dbs offset size free bpages flags pathname
2199b0028 1 1 50 1047525 1044334 PO- /apps/IDS/ids.93/databases/Root
21b8790c8 2 2 50 1048025 290 PO- /apps/IDS/ids.93/databases/rawspace102
21b879250 3 2 50 1048025 1 PO- /apps/IDS/ids.93/databases/rawspace103
21b8793d8 4 2 50 1048025 1 PO- /apps/IDS/ids.93/databases/rawspace104
21b879560 5 2 50 1048025 2 PO- /apps/IDS/ids.93/databases/rawspace105
21b8796e8 6 2 50 1048025 0 PO- /apps/IDS/ids.93/databases/rawspace106
21b879870 7 2 50 1048025 2 PO- /apps/IDS/ids.93/databases/rawspace107
21b8799f8 8 2 50 1048025 1 PO- /apps/IDS/ids.93/databases/rawspace108
21b8931b0 153 7 50 1048500 177850 PO- /dev/md/rdsk/d261
21b893338 154 2 50 1048500 1847 PO- /dev/md/rdsk/d262 21b8934c0 155 7 50
1048500 1048497 PO- /apps/IDS/ids.93/databases/rawspace263
21b895958 178 2 50 1048500 33313 PO-
/apps/IDS/ids.93/databases/rawspace286
21b895ae0 179 2 50 1048500 21247 PO- /dev/md/rdsk/d287
21b895c68 180 2 50 1048500 47122 PO-
/apps/IDS/ids.93/databases/rawspace289

$ pwd
/apps/IDS/ids.93/databases
$ ls -tl | head -10
total 534
lrwxrwxrwx 1 informix informix 17 Apr 26 13:53 rawspace856 ->
/dev/md/rdsk/d856
lrwxrwxrwx 1 informix informix 17 Apr 26 13:53 rawspace855 ->
/dev/md/rdsk/d855
lrwxrwxrwx 1 informix informix 17 Apr 26 13:53 rawspace854 ->
/dev/md/rdsk/d854
lrwxrwxrwx 1 informix informix 17 Apr 26 13:52 rawspace853 ->
/dev/md/rdsk/d853
lrwxrwxrwx 1 informix informix 17 Apr 26 13:52 rawspace852 ->
/dev/md/rdsk/d852
lrwxrwxrwx 1 informix informix 17 Apr 26 13:51 rawspace851 ->
/dev/md/rdsk/d851
lrwxrwxrwx 1 informix informix 17 Apr 26 13:51 rawspace850 ->
/dev/md/rdsk/d850 lrwxrwxrwx 1 informix informix 17 Apr 26 13:51
rawspace849 ->
/dev/md/rdsk/d849
lrwxrwxrwx 1 informix informix 17 Apr 26 13:51 rawspace848 ->
/dev/md/rdsk/d848

$ pwd
/dev/md/rdsk
$ ls -tl | head -10
total 2100
lrwxrwxrwx 1 root root 39 Mar 8 12:15 d1043 ->
.../../../devices/pseudo/md@0:0,1043,raw
lrwxrwxrwx 1 root root 39 Mar 8 12:15 d1044 ->
.../../../devices/pseudo/md@0:0,1044,raw
lrwxrwxrwx 1 root root 39 Mar 8 12:15 d1045 ->
.../../../devices/pseudo/md@0:0,1045,raw
lrwxrwxrwx 1 root root 39 Mar 8 12:15 d1046 ->
.../../../devices/pseudo/md@0:0,1046,raw
lrwxrwxrwx 1 root root 39 Mar 8 12:15 d1047 ->
.../../../devices/pseudo/md@0:0,1047,raw
lrwxrwxrwx 1 root root 39 Mar 8 12:15 d1048 ->
.../../../devices/pseudo/md@0:0,1048,raw
lrwxrwxrwx 1 root root 39 Mar 8 12:15 d1049 ->
.../../../devices/pseudo/md@0:0,1049,raw
lrwxrwxrwx 1 root root 39 Mar 8 12:15 d1040 ->
.../../../devices/pseudo/md@0:0,1040,raw
lrwxrwxrwx 1 root root 39 Mar 8 12:15 d1041 ->
.../../../devices/pseudo/md@0:0,1041,raw

************************************************************************
*******
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.