Operating System - HP-UX
1838576 Members
4166 Online
110128 Solutions
New Discussion

Re: Can't partition disk. idisk returns error 14

 
Greg Chandler
Occasional Contributor

Can't partition disk. idisk returns error 14

bash-3.2# cat /tmp/partition
3
EFI 100MB
HPUX 48%
HPSP 48%

bash-3.2# idisk -w -f /tmp/partition /dev/rdsk/c2t1d0
idisk version: 1.31
********************** WARNING ***********************
If you continue you may destroy all data on this disk.
Do you wish to continue(yes/no)? yes

EFI Primary Header:
Signature = EFI PART
Revision = 0x10000
HeaderSize = 0x60
HeaderCRC32 = 0x68618463
MyLbaLo = 0x1
AlternateLbaLo = 0x1117732f
FirstUsableLbaLo = 0x22
LastUsableLbaLo = 0x1117730c
Disk GUID = d7c57e4a-4232-11dd-8001-d6217b60e588
PartitionEntryLbaLo = 0x2
NumberOfPartitionEntries = 0xc
SizeOfPartitionEntry = 0x80
PartitionEntryArrayCRC32 = 0xdd24cdeb

Primary Partition Table (in 512 byte blocks):
Partition 1 (EFI):
Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Unique Partition GUID = d7c58192-4232-11dd-8002-d6217b60e588
Starting Lba = 0x22
Ending Lba = 0x32021
Partition 2 (HP-UX):
Partition Type GUID = 75894c1e-3aeb-11d3-b7c1-7b03a0000000
Unique Partition GUID = d7c581ba-4232-11dd-8003-d6217b60e588
Starting Lba = 0x32022
Ending Lba = 0x835d749
Partition 3 (HPSP):
Partition Type GUID = e2a1e728-32e3-11d6-a682-7b03a0000000
Unique Partition GUID = d7c581ec-4232-11dd-8004-d6217b60e588
Starting Lba = 0x835d74a
Ending Lba = 0x10688e71
idisk: Read of requested data failed(14)
idisk: Read of Alternate EFI header failed

bash-3.2# insf -eC disk
insf: Installing special files for sdisk instance 0 address 0/0/2/0.0.0.0
insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0
insf: Installing special files for sdisk instance 2 address 0/1/1/0.1.0
insf: Installing special files for sdisk instance 3 address 0/1/1/1.2.0


bash-3.2# idisk /dev/rdsk/c2t1d0
idisk version: 1.31

EFI Primary Header:
Signature = EFI PART
Revision = 0x10000
HeaderSize = 0x60
HeaderCRC32 = 0x68618463
MyLbaLo = 0x1
AlternateLbaLo = 0x1117732f
FirstUsableLbaLo = 0x22
LastUsableLbaLo = 0x1117730c
Disk GUID = d7c57e4a-4232-11dd-8001-d6217b60e588
PartitionEntryLbaLo = 0x2
NumberOfPartitionEntries = 0xc
SizeOfPartitionEntry = 0x80
PartitionEntryArrayCRC32 = 0xdd24cdeb

Primary Partition Table (in 512 byte blocks):
Partition 1 (EFI):
Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Unique Partition GUID = d7c58192-4232-11dd-8002-d6217b60e588
Starting Lba = 0x22
Ending Lba = 0x32021
Partition 2 (HP-UX):
Partition Type GUID = 75894c1e-3aeb-11d3-b7c1-7b03a0000000
Unique Partition GUID = d7c581ba-4232-11dd-8003-d6217b60e588
Starting Lba = 0x32022
Ending Lba = 0x835d749
Partition 3 (HPSP):
Partition Type GUID = e2a1e728-32e3-11d6-a682-7b03a0000000
Unique Partition GUID = d7c581ec-4232-11dd-8004-d6217b60e588
Starting Lba = 0x835d74a
Ending Lba = 0x10688e71
idisk: Read of requested data failed(14)
idisk: Read of Alternate EFI header failed


I'm trying to get two usable partitions on the disk that I can use. It doesn't seem to be working, can anyone help?
7 REPLIES 7
Ivan Krastev
Honored Contributor

Re: Can't partition disk. idisk returns error 14

Use the following file for partitions layout:

3
EFI 100MB
HPUX 100%
HPSP 400MB


regards,
ivan
Greg Chandler
Occasional Contributor

Re: Can't partition disk. idisk returns error 14

Same thing.

bash-3.2# cat /tmp/partition
3
EFI 100MB
HPUX 100%
HPSP 400MB
bash-3.2# idisk -w -f /tmp/partition /dev/rdsk/c2t1d0
idisk version: 1.31
********************** WARNING ***********************
If you continue you may destroy all data on this disk.
Do you wish to continue(yes/no)? yes

EFI Primary Header:
Signature = EFI PART
Revision = 0x10000
HeaderSize = 0x60
HeaderCRC32 = 0x7195f3dd
MyLbaLo = 0x1
AlternateLbaLo = 0x1117732f
FirstUsableLbaLo = 0x22
LastUsableLbaLo = 0x1117730c
Disk GUID = 433dd280-4238-11dd-8001-d6217b60e588
PartitionEntryLbaLo = 0x2
NumberOfPartitionEntries = 0xc
SizeOfPartitionEntry = 0x80
PartitionEntryArrayCRC32 = 0x998e4294

Primary Partition Table (in 512 byte blocks):
Partition 1 (EFI):
Partition Type GUID = c12a7328-f81f-11d2-ba4b-00a0c93ec93b
Unique Partition GUID = 433dd56e-4238-11dd-8002-d6217b60e588
Starting Lba = 0x22
Ending Lba = 0x32021
Partition 2 (HP-UX):
Partition Type GUID = 75894c1e-3aeb-11d3-b7c1-7b03a0000000
Unique Partition GUID = 433dd5a0-4238-11dd-8003-d6217b60e588
Starting Lba = 0x32022
Ending Lba = 0x110af30b
Partition 3 (HPSP):
Partition Type GUID = e2a1e728-32e3-11d6-a682-7b03a0000000
Unique Partition GUID = 433dd5d2-4238-11dd-8004-d6217b60e588
Starting Lba = 0x110af30c
Ending Lba = 0x1117730b
idisk: Read of requested data failed(14)
idisk: Read of Alternate EFI header failed
Anka
Trusted Contributor

Re: Can't partition disk. idisk returns error 14

See the following patches depending on the OS version:

PHCO_36556 s700_800 11.23 idisk(1M) cumulative patch

PHCO_36555 11.31 idisk(1M) cumulative patch

There ae some hints in the patch documentation

It is not an exact math to your problem but you can try
Greg Chandler
Occasional Contributor

Re: Can't partition disk. idisk returns error 14

Ok, so the patch fixed the idisk problem. I still am not seeing the creation of the s* devices for the individual partitions.
"insf -eC disk" Should be all I need right?
Ivan Krastev
Honored Contributor

Re: Can't partition disk. idisk returns error 14

Yes,
Use insf -eC disk for creating device files.

regards,
ivan
Greg Chandler
Occasional Contributor

Re: Can't partition disk. idisk returns error 14


I tried this as well:

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GMAP3147NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 3 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GMAS3367NC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0


bash-3.2# insf -e -H 0/1/1/0.1.0
insf: Installing special files for sdisk instance 2 address 0/1/1/0.1.0
bash-3.2# ls -al /dev/dsk
total 16
drwxr-xr-x 2 bin bin 96 Jun 25 09:14 .
dr-xr-xr-x 12 bin bin 8192 Jun 24 15:54 ..
brw-r----- 1 bin sys 31 0x000000 Jun 18 19:09 c0t0d0
brw-r----- 1 bin sys 31 0x020000 Jun 18 19:09 c2t0d0
brw-r----- 1 bin sys 31 0x021000 Jun 18 19:09 c2t1d0
brw-r----- 1 bin sys 31 0x032000 Jun 18 19:09 c3t2d0
bash-3.2# ls -al /dev/rdsk
total 16
drwxr-xr-x 2 bin bin 96 Jun 24 15:25 .
dr-xr-xr-x 12 bin bin 8192 Jun 24 15:54 ..
crw-r----- 1 bin sys 188 0x000000 Jun 18 19:09 c0t0d0
crw-r----- 1 bin sys 188 0x020000 Jun 18 20:27 c2t0d0
crw-r----- 1 bin sys 188 0x021000 Jun 25 09:03 c2t1d0
crw-r----- 1 bin sys 188 0x032000 Jun 18 19:09 c3t2d0
Greg Chandler
Occasional Contributor

Re: Can't partition disk. idisk returns error 14

Well, maybe there is a bigger problem, I manually created the block/char devices:
mknod c2t1d0s1 b 31 0x021001
mknod c2t1d0s2 b 31 0x021002
mknod c2t1d0s3 b 31 0x021003
mknod c2t1d0s1 c 188 0x021001
mknod c2t1d0s2 c 188 0x021002
mknod c2t1d0s3 c 188 0x021003
bash-3.2# pwd
/dev
bash-3.2# ls -al *dsk*/*s*
brw-r----- 1 bin sys 31 0x021001 Jun 25 09:46 dsk/c2t1d0s1
brw-r----- 1 bin sys 31 0x021002 Jun 25 09:46 dsk/c2t1d0s2
brw-r----- 1 bin sys 31 0x021003 Jun 25 09:46 dsk/c2t1d0s3
crw-r----- 1 bin sys 188 0x021001 Jun 25 09:46 rdsk/c2t1d0s1
crw-r----- 1 bin sys 188 0x021002 Jun 25 09:46 rdsk/c2t1d0s2
crw-r----- 1 bin sys 188 0x021003 Jun 25 09:46 rdsk/c2t1d0s3



bash-3.2# newfs /dev/rdsk/c2t1d0s2
newfs: /etc/default/fs is used for determining the file system type
UX:vxfs newfs: ERROR: V-3-20113: Cannot open /dev/rdsk/c2t1d0s2: No such device or address
bash-3.2# newfs /dev/rdsk/c2t1d0s1
newfs: /etc/default/fs is used for determining the file system type
UX:vxfs newfs: ERROR: V-3-20113: Cannot open /dev/rdsk/c2t1d0s1: No such device or address