Can not add a chunck to the database
Posted in 2011
A user on IDS 7.31 (Solaris) couldn't add a chunk: Informix complained the chunk must be owned by informix:informix, even though the symlink /export/home1/informix/c0t5s3dat7 showed informix ownership. Respondents (Celso, Jack Parker, Ernie Knox, Art Kagel) pointed out that the underlying raw device, /dev/rdsk/c0t5d0s3, must also be owned informix:informix with 0660 permissions. The poster later confirmed the device entries were root:root, but reported chgrp appeared to have no effect (the /dev/rdsk entries are themselves links to the real device nodes). No resolution is recorded in the thread.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Installation, Setup & Upgrades, Storage & Space Management
A greeting colleagues.I hope someone can help me with the following problem:I'm trying to add a chunk to the database, send me the error but sigiente: The chunk '/export/home1/informix/c0t5s3dat7' must have owner-ID "informix" and group-ID informix But now review the links and meet owner-ID and Group-ID InformixAs can be seen. lrwxrwxrwx 1 informix informix 18 Aug 10 09:41 c0t5s3dat7 -> /dev/rdsk/c0t5d0s3 Informix version I am using is: Informix Dynamic Server Version 7.31.UD3 Installed in a spark Server SunOS 5.6 Generic_105181-03 servdb sun4u sparc SUNW, UltraAX- Additional Comments:The chunck is on a disk partition just recently, the discwas previously being used by another server, passed to the serverdatabase, are repartitioned look like this: Current partition table (original): Total disk cylinders available: 14087 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 10990 53.33GB (10991/0/0) 111844416 1 swap wu 10991 - 12021 5.00GB (1031/0/0) 10491456 2 backup wu 0 - 14086 68.35GB (14087/0/0) 143349312 3 unassigned wm 12022 - 12434 2.00GB (413/0/0) 4202688 4 unassigned wm 12435 - 12847 2.00GB (413/0/0) 4202688 5 unassigned wm 12848 - 13260 2.00GB (413/0/0) 4202688 6 usr wm 13261 - 13673 2.00GB (413/0/0) 4202688 7 unassigned wm 13674 - 14086 2.00GB (413/0/0) 4202688 I hope can give me your comments,Greetings and thanks again.
Jorge, How is the permission of /dev/rdsk/c0t5d0s3 file? It must be informix:informix too. Celso Cabral Coimbra Administrador de Banco de Dados ClearTech Ltda "Trust at the heart of Communications" Tel. (11) 3576-4509 -----Mensagem original----- De: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] Em nome de Jorge Alfredo Garcia Garcia Enviada em: segunda-feira, 29 de agosto de 2011 11:58 Para: ids@iiug.org Assunto: Can not add a chunck to the database [24758] A greeting colleagues.I hope someone can help me with the following problem:I'm trying to add a chunk to the database, send me the error but sigiente: The chunk '/export/home1/informix/c0t5s3dat7' must have owner-ID "informix" and group-ID informix But now review the links and meet owner-ID and Group-ID InformixAs can be seen. lrwxrwxrwx 1 informix informix 18 Aug 10 09:41 c0t5s3dat7 -> /dev/rdsk/c0t5d0s3 Informix version I am using is: Informix Dynamic Server Version 7.31.UD3 Installed in a spark Server SunOS 5.6 Generic_105181-03 servdb sun4u sparc SUNW, UltraAX- Additional Comments:The chunck is on a disk partition just recently, the discwas previously being used by another server, passed to the serverdatabase, are repartitioned look like this: Current partition table (original): Total disk cylinders available: 14087 + 2 (reserved cylinders) Part Tag Flag Cylinders Size Blocks 0 root wm 0 - 10990 53.33GB (10991/0/0) 111844416 1 swap wu 10991 - 12021 5.00GB (1031/0/0) 10491456 2 backup wu 0 - 14086 68.35GB (14087/0/0) 143349312 3 unassigned wm 12022 - 12434 2.00GB (413/0/0) 4202688 4 unassigned wm 12435 - 12847 2.00GB (413/0/0) 4202688 5 unassigned wm 12848 - 13260 2.00GB (413/0/0) 4202688 6 usr wm 13261 - 13673 2.00GB (413/0/0) 4202688 7 unassigned wm 13674 - 14086 2.00GB (413/0/0) 4202688 I hope can give me your comments,Greetings and thanks again. ******************************************************************************* Forum Note: Use "Reply" to post a response in the discussion forum.
And 660. Thanks, ******************************************************************* Ernie Knox IT Database=A0Administrator Specialist Sears Holdings - BU: I & T Group 3333 Beverly Rd. Hoffman Estates, IL. 60179 Office: (847) 286-5735 Email: Ernest.Knox@searshc.com Blackberry:=A02244650553@messaging.sprintpcs.com Informix Email: ifmxdba@searshc.com and Team: InformixDBA@searshc.com Informix Primary: INFORMIXDBAPrimaryPager@searshc.com Informix Secondary: INFORMIXDBASecondaryPager@searshc.com MySQL Email: MYSQLDBAe@searshc.com and Team: MySQLDBA2@searshc.com MySQL Primary: MYSQLDBAPrimaryPager@searshc.com MySQL Secondary: MYSQLDBASecondaryPager@searshc.com " Yes we can make a Change! " " It's always a great day to watch=A0Sports: " " Lets GO Detroit: Lions, Tigers, Pistons, and Red Wings! " " Lets GO Chicago: Bears, Cubs, White Sox, Bulls, and Black Hawks! " GSU ******************************************************************* -----Original Message----- From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of Celso= Cabral Coimbra Sent: Monday, August 29, 2011 11:04 AM To: ids@iiug.org Subject: RES: Can not add a chunck to the database [24759] Jorge,=20 How is the permission of /dev/rdsk/c0t5d0s3 file?=20 It must be informix:informix too.=20 Celso Cabral Coimbra Administrador de Banco de Dados ClearTech Ltda "Trust at the heart of Communications"=20 Tel. (11) 3576-4509=20 -----Mensagem original----- De: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] Em nome de Jorge Alf= redo Garcia Garcia Enviada em: segunda-feira, 29 de agosto de 2011 11:58 Para: ids@iiug.org Assunto: Can not add a chunck to the database [24758]=20 A greeting colleagues.I hope someone can help me with the following problem= :I'm trying to add a chunk to the database, send me the error but sigiente:=20 The chunk '/export/home1/informix/c0t5s3dat7' must have owner-ID "informix"= =20 and group-ID informix But now review the links and meet owner-ID and Group-ID InformixAs can be s= een.=20 lrwxrwxrwx 1 informix informix 18 Aug 10 09:41 c0t5s3dat7 -> /dev/rdsk/c0t5d0s3 Informix version I am using is: Informix Dynamic Server Version 7.31.UD3 In= stalled in a spark Server SunOS 5.6 Generic_105181-03 servdb sun4u sparc SU= NW, UltraAX- Additional Comments:The chunck is on a disk partition just rec= ently, the discwas previously being used by another server, passed to the s= erverdatabase, are repartitioned look like this:=20 Current partition table (original):=20 Total disk cylinders available: 14087 + 2 (reserved cylinders) Part Tag Fla= g Cylinders Size Blocks 0 root wm 0 - 10990 53.33GB (10991/0/0) 111844416 1 swap wu 10991 - 12021 5.00GB (1031/0/0) 10491456 2 backup wu 0 - 14086 68.35GB (14087/0/0) 143349312 3 unassigned wm 12022 - 12434 2.00GB (413/0/0) 4202688 4 unassigned wm 12435 - 12847 2.00GB (413/0/0) 4202688 5 unassigned wm 12848 - 13260 2.00GB (413/0/0) 4202688 6 usr wm 13261 - 13673 2.00GB (413/0/0) 4202688 7 unassigned wm 13674 - 14086 2.00GB (413/0/0) 4202688=20 I hope can give me your comments,Greetings and thanks again.=20 ***************************************************************************= **** Forum Note: Use "Reply" to post a response in the discussion forum.=20 ***************************************************************************= ****=20 Forum Note: Use "Reply" to post a response in the discussion forum.=20 This message, including any attachments, is the property of Sears Holdings = Corporation and/or one of its subsidiaries. It is confidential and may cont= ain proprietary or legally privileged information. If you are not the inten= ded recipient, please delete it without reading the contents. Thank you.
permissions need to be 660 rw-rw---- j. On Aug 29, 2011, at 10:58 AM, Jorge Alfredo Garcia Garcia wrote: > A greeting colleagues.I hope someone can help me with the following=20 > problem:I'm trying to add a chunk to the database, send me the error = but=20 > sigiente:=20 > The chunk '/export/home1/informix/c0t5s3dat7' must have owner-ID = "informix"=20 > and=20 > group-ID informix=20 > But now review the links and meet owner-ID and Group-ID InformixAs can = be=20 > seen.=20 >=20 > lrwxrwxrwx 1 informix informix 18 Aug 10 09:41 c0t5s3dat7 ->=20 > /dev/rdsk/c0t5d0s3=20 > Informix version I am using is: Informix Dynamic Server Version = 7.31.UD3=20 > Installed in a spark Server SunOS 5.6 Generic_105181-03 servdb sun4u = sparc=20 > SUNW, UltraAX- Additional Comments:The chunck is on a disk partition = just=20 > recently, the discwas previously being used by another server, passed = to the=20 > serverdatabase, are repartitioned look like this:=20 >=20 > Current partition table (original):=20 > Total disk cylinders available: 14087 + 2 (reserved cylinders)=20 > Part Tag Flag Cylinders Size Blocks=20 > 0 root wm 0 - 10990 53.33GB (10991/0/0) 111844416=20 > 1 swap wu 10991 - 12021 5.00GB (1031/0/0) 10491456=20 > 2 backup wu 0 - 14086 68.35GB (14087/0/0) 143349312=20 > 3 unassigned wm 12022 - 12434 2.00GB (413/0/0) 4202688=20 > 4 unassigned wm 12435 - 12847 2.00GB (413/0/0) 4202688=20 > 5 unassigned wm 12848 - 13260 2.00GB (413/0/0) 4202688=20 > 6 usr wm 13261 - 13673 2.00GB (413/0/0) 4202688=20 > 7 unassigned wm 13674 - 14086 2.00GB (413/0/0) 4202688=20 >=20 > I hope can give me your comments,Greetings and thanks again.=20 >=20 >=20 > = **************************************************************************= *****=20 > Forum Note: Use "Reply" to post a response in the discussion forum.=20= >=20
Permissions on the link are correct, but you also have to set the ownerships and permissions on the underlying device (/dev/rdsk/c0t5d0s3) which should be informix:informix and 0660. You did not post the current ownership and permissions on the device itself. Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) Blog: http://informix-myview.blogspot.com/ Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Mon, Aug 29, 2011 at 10:58 AM, Jorge Alfredo Garcia Garcia < jgarcia6508@live.com.mx> wrote: > A greeting colleagues.I hope someone can help me with the following > problem:I'm trying to add a chunk to the database, send me the error but > sigiente: > The chunk '/export/home1/informix/c0t5s3dat7' must have owner-ID "informix" > and > group-ID informix > But now review the links and meet owner-ID and Group-ID InformixAs can be > seen. > > lrwxrwxrwx 1 informix informix 18 Aug 10 09:41 c0t5s3dat7 -> > /dev/rdsk/c0t5d0s3 > Informix version I am using is: Informix Dynamic Server Version 7.31.UD3 > Installed in a spark Server SunOS 5.6 Generic_105181-03 servdb sun4u sparc > SUNW, UltraAX- Additional Comments:The chunck is on a disk partition just > recently, the discwas previously being used by another server, passed to > the > serverdatabase, are repartitioned look like this: > > Current partition table (original): > Total disk cylinders available: 14087 + 2 (reserved cylinders) > Part Tag Flag Cylinders Size Blocks > 0 root wm 0 - 10990 53.33GB (10991/0/0) 111844416 > 1 swap wu 10991 - 12021 5.00GB (1031/0/0) 10491456 > 2 backup wu 0 - 14086 68.35GB (14087/0/0) 143349312 > 3 unassigned wm 12022 - 12434 2.00GB (413/0/0) 4202688 > 4 unassigned wm 12435 - 12847 2.00GB (413/0/0) 4202688 > 5 unassigned wm 12848 - 13260 2.00GB (413/0/0) 4202688 > 6 usr wm 13261 - 13673 2.00GB (413/0/0) 4202688 > 7 unassigned wm 13674 - 14086 2.00GB (413/0/0) 4202688 > > I hope can give me your comments,Greetings and thanks again. > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --90e6ba6e8af4e0bf7604aba67604
De: Celso Cabral Coimbra <ccoimbra@cleartech.com.br>
Para: ids@iiug.org
Enviado: Lunes, 29 de agosto, 2011 10:04:05
Asunto: RES: Can not add a chunck to the database [24759]
Jorge,
How is the permission of /dev/rdsk/c0t5d0s3 file?
It must be informix:informix too.
Celso Cabral Coimbra
Administrador de Banco de Dados
ClearTech Ltda
"Trust at the heart of Communications"
Tel. (11) 3576-4509
-----Mensagem original-----
De: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] Em nome de Jorge
Alfredo Garcia Garcia
Enviada em: segunda-feira, 29 de agosto de 2011 11:58
Para: ids@iiug.org
Assunto: Can not add a chunck to the database [24758]
A greeting colleagues.I hope someone can help me with the following
problem:I'm trying to add a chunk to the database, send me the error but
sigiente:
The chunk '/export/home1/informix/c0t5s3dat7' must have owner-ID "informix"
and
group-ID informix
But now review the links and meet owner-ID and Group-ID InformixAs can be
seen.
lrwxrwxrwx 1 informix informix 18 Aug 10 09:41 c0t5s3dat7 ->
/dev/rdsk/c0t5d0s3
Informix version I am using is: Informix Dynamic Server Version 7.31.UD3
Installed in a spark Server SunOS 5.6 Generic_105181-03 servdb sun4u sparc
SUNW, UltraAX- Additional Comments:The chunck is on a disk partition just
recently, the discwas previously being used by another server, passed to the
serverdatabase, are repartitioned look like this:
Current partition table (original):
Total disk cylinders available: 14087 + 2 (reserved cylinders)
Part Tag Flag Cylinders Size Blocks
0 root wm 0 - 10990 53.33GB (10991/0/0) 111844416
1 swap wu 10991 - 12021 5.00GB (1031/0/0) 10491456
2 backup wu 0 - 14086 68.35GB (14087/0/0) 143349312
3 unassigned wm 12022 - 12434 2.00GB (413/0/0) 4202688
4 unassigned wm 12435 - 12847 2.00GB (413/0/0) 4202688
5 unassigned wm 12848 - 13260 2.00GB (413/0/0) 4202688
6 usr wm 13261 - 13673 2.00GB (413/0/0) 4202688
7 unassigned wm 13674 - 14086 2.00GB (413/0/0) 4202688
I hope can give me your comments,Greetings and thanks again.
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
An apology for not having answered before,
permits are as follows:
lrwxrwxrwx 1 root root / dev/rdsk/c0t5d0s3
lrwxrwxrwx 1 root root / dev/rdsk/c0t5d0s4
lrwxrwxrwx 1 root root / dev/rdsk/c0t5d0s5
but I could not change owner and group
try to do it but does not.
# chgrp informix c0t5d0s3
# ls -lalrwxrwxrwx 1 root root / dev/rdsk/c0t5d0s3