- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- informix/sap r3 deleting a chunk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 03:44 AM
тАО06-19-2004 03:44 AM
informix/sap r3 deleting a chunk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 05:21 AM
тАО06-19-2004 05:21 AM
Re: informix/sap r3 deleting a chunk
Try to use this command with -f:
onspaces -d spacename [-p pathname -o offset] [-f] [-y]. If the command doesn't work because of the chunk absense, create an empty file with the chunk name and try to drop it.If this doesn't work, I hope, you can use the following trick:
Create a new chunk, link it the deleted one, backup the new chunk by dd, drop the old chunk, restore the new one and drop it.
All these things ( except link ) you can do via onmonitor.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 05:39 AM
тАО06-19-2004 05:39 AM
Re: informix/sap r3 deleting a chunk
chunkname: data50
old/deleted path: /dev/data01/rvoldata50
thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 08:25 AM
тАО06-19-2004 08:25 AM
Re: informix/sap r3 deleting a chunk
I suppose the follwing:
touch /tmp/chunk; chmod 664 /tmp/chunk; chown informix:informix /tmp/chunk
Replace spacename with the real spacename name. The command below creates chunk 20 MB
onspaces -a spacename -p /tmp/chunk -o 0 -s 10000
dd if=/tmp/chunk of=/tmp/bckp
ln -s /tmp/chunk name_of_deleted_chunk
onspace -d spacename -p name_of_deleted_chunk -o 0 -f -y
dd if=/tmp/bck of=/tmp/chunk
onspace -d spacename -p /tmp/chunk -o 0 -f -y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 02:11 PM
тАО06-19-2004 02:11 PM
Re: informix/sap r3 deleting a chunk
should i stop the database before adding the chunk? or should this online..what we're doing is startsap/stopsap to start the db..by the ways its on top of ux11.00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 02:24 PM
тАО06-19-2004 02:24 PM
Re: informix/sap r3 deleting a chunk
onstat -d
ce052b18 223 3 8 1023991 1023988 PD- /informix/PRD/sapdata/physdev5/data54
does D here means its deactivated?
isapprd:informix 25> onspaces -d psapstab -p /informix/PRD/sapdata/physdev5/data54 -o 0
WARNING: Dropping a chunk.
Do you really want to continue? (y/n)y
Chunk not dropped.
ISAM error: No such chunk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2004 09:21 PM
тАО06-19-2004 09:21 PM
Re: informix/sap r3 deleting a chunk
All these actions should be done when the DB is up&running.
The flags: P means Primary, D means Down
I'm not sure that you have to stop/start the DB, because I'm afraid that DB will not start up without one of its chunks
HTH