HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Disk2 with 0 MB (HP-UX 11.11)

 
Akif_1
Super Advisor

Disk2 with 0 MB (HP-UX 11.11)

Hi All,

My HP-UX 11.11 has TWO disk in which one is configured as VG00.

But second disk c3t6d0 although available with ioscan command , But its size is 0MB check enclosed .bmp file.

I just selected it as USED one from UNUSED. But unable to get 73GB space in second disk.


below ioscan output:
=====================
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 10/0/14/0.0.0 sdisk CLAIMED DEVICE HL-DT-STDVD-ROM GDR8161B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 10/0/15/1.5.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c3t5d0 /dev/rdsk/c3t5d0
disk 2 10/0/15/1.6.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
T(ogether) E(very one) A(chive) M(ore)
16 REPLIES

Re: Disk2 with 0 MB (HP-UX 11.11)

looks like someone has marked the disk as used (who knows what for?) If you are *sure* its not being used, just highlight the disk in SAM and then go to Actions->Unmount - that should clear the "xyz" status in the "Use" column.

But I would be completely sure its not in use before doing this...

HTH

Duncan

HTH

Duncan
Akif_1
Super Advisor

Re: Disk2 with 0 MB (HP-UX 11.11)

Hi,


Just now finished fresh HP-UX installation successfully, But his disk give me a problem with 0 MB. and there is no /unmount option in SAM-ACTIONS ...

Iam only worried about how to get full 73GB which is presently not avaialbe with DISK 2 ( present MB 0) .


Need a valuable input to clear this issue ......

Rgds,
T(ogether) E(very one) A(chive) M(ore)
SUDHAKAR_18
Trusted Contributor

Re: Disk2 with 0 MB (HP-UX 11.11)

please provide output of
#diskinfo /dev/rdsk/c3t6d0

and Also try with pvcreate -f option
Akif_1
Super Advisor

Re: Disk2 with 0 MB (HP-UX 11.11)

Hi,

# diskinfo /dev/rdsk/c3t6d0


SCSI describe of /dev/rdsk/c3t6d0:
vendor: HP 73.4G
product id: ST373453LC
type: direct access
size: 0 Kbytes
bytes per sector: 0
#
#
# pvcreate -f /dev/rdsk/c3t6d0
#

Rgd's,
T(ogether) E(very one) A(chive) M(ore)
Prashantj
Valued Contributor

Re: Disk2 with 0 MB (HP-UX 11.11)

Hi Akif,

Please try with "insf -e" and then check thru
ioscan command

Prashant
Good judgment comes from experience and experience comes from bad judgment.
Akif_1
Super Advisor

Re: Disk2 with 0 MB (HP-UX 11.11)

Hello,

Find an ioscan output after insf -e.

# ioscan
H/W Path Class Description
====================================================
bc
10 ioa System Bus Adapter (582)
10/0 ba Local PCI Bus Adapter (782)
10/0/12/0 lan HP PCI 10/100Base-TX Core
10/0/13/0 audio Built-in Audio
10/0/14/0 ext_bus IDE
10/0/14/0.0 target
10/0/14/0.0.0 disk HL-DT-STDVD-ROM GDR8161B
10/0/14/0.7 target
10/0/14/0.7.0 ctl Initiator
10/0/14/1 ba PCI Core I/O Adapter
10/0/14/1/1 tty Built-in RS-232C
10/0/14/1/2 tty Built-in RS-232C
10/0/14/1/3 ext_bus Built-in Parallel Interface
10/0/14/1/4 siopc Built-in Floppy Drive
10/0/14/1/4.1 floppy HP_PC_FDC_FLOPPY
10/0/14/2 usb Built-in USB Interface
10/0/14/2.1 usbhub USB Root Hub
10/0/14/2.1.2 usbhid USB HID Kbd(0)
10/0/14/2.1.3 usbhid USB HID Mouse(1)
10/0/15/0 ext_bus SCSI C896 Ultra Narrow Single-Ended
10/0/15/0.7 target
10/0/15/0.7.0 ctl Initiator
10/0/15/1 ext_bus SCSI C896 Ultra2 Wide LVD
10/0/15/1.5 target
10/0/15/1.5.0 disk HP 73.4GST373453LC
10/0/15/1.6 target
10/0/15/1.6.0 disk HP 73.4GST373453LC
10/0/15/1.7 target
10/0/15/1.7.0 ctl Initiator
10/1 ba Local PCI Bus Adapter (782)
10/1/5/0 lan HP A5230A/B5509BA PCI 10/100Base-TX Addon
10/4 ba Local PCI Bus Adapter (782)
10/6 ba Local PCI Bus Adapter (782)
10/6/2/0 graphics PCI Display (103c108b)
32 processor Processor
49 memory Memory
T(ogether) E(very one) A(chive) M(ore)
SUDHAKAR_18
Trusted Contributor

Re: Disk2 with 0 MB (HP-UX 11.11)

May be H/W problem with disk. May be physical damage / faulty.
Akif_1
Super Advisor

Re: Disk2 with 0 MB (HP-UX 11.11)

Hi Sudhakar,


There is no AMBER LED , It means no question of hard ware failure / fault.
T(ogether) E(very one) A(chive) M(ore)

Re: Disk2 with 0 MB (HP-UX 11.11)

I would not assume you don't have a hardware problem just beacuse there's no amber LED on the drive... First question is, can you read the drive without error?

dd if=/dev/rdsk/c3t5d0 of=/dev/null bs=1024

That will take a good while to complete...
(maybe several hours)

if that doesn't run to completion without error, you probably have a hardware problem...

HTH

Duncan

HTH

Duncan
Akif_1
Super Advisor

Re: Disk2 with 0 MB (HP-UX 11.11)

Hi Dun,

After hitting below command.

#dd if=/dev/rdsk/c3t6d0 of=/dev/null bs=1024

Output:
======
dd read error : Invalid argument
0+0 records in
0+0 records out

Rgd's

T(ogether) E(very one) A(chive) M(ore)

Re: Disk2 with 0 MB (HP-UX 11.11)

and that to me is consistent with a failed disk... at this stage I'd suggest you remove and reseat the disk and try again - if you get the same issue your disk is most likely failed...

HTH

Duncan

HTH

Duncan

Re: Disk2 with 0 MB (HP-UX 11.11)

>dd read error : Invalid argument

Hmm, I would expect some type of I/O error message?

>Duncan: That will take a good while to complete... (maybe several hours)

(Using a larger blocksize, bs=1024k, would speed it up.)

Re: Disk2 with 0 MB (HP-UX 11.11)

Dennis,

> Hmm, I would expect some type of I/O error message?


Ah yes, I'd *expect* a more menaingful error message as well - but you can get this message when you simply can't get anything out of a device (for example this is the error message you get if you attempt to use dd on a CD or DVD drive which has no CD/DVD loaded...

Presumably its the error code returned by the read system call:

[EINVAL] The starting file offset associated with fildes is
greater than the maximum supported file size.


HTH

Duncan

HTH

Duncan
Akif_1
Super Advisor

Re: Disk2 with 0 MB (HP-UX 11.11)

Hi,

So it means complete DISK 2 (c3t6d0) failure.....

T(ogether) E(very one) A(chive) M(ore)
Matti_Kurkela
Honored Contributor

Re: Disk2 with 0 MB (HP-UX 11.11)

Sometimes a disk failure will not cause an amber LED. You cannot exclude the possibility of hardware failure just because there is no LED problem indication. LED diagnostics is for severe faults: the failure of a disk that is not currently used for anything critical is not a _severe_ fault, unless it prevents something else from working.

If a disk detects a mechanical failure but the disk's internal electronics still works OK, the disk may either a) disconnect itself from the bus electrically, causing a NO_HW in the ioscan listing, or b) report zero size. Neither of these is likely to cause an amber LED, unless the failing disk is the boot disk.

If the disk's internal electronics are failing, the failing disk may interfere with other traffic on the SCSI bus, causing SCSI bus resets (lbolt errors in syslog) or even blocking the bus entirely (causing a crash and an amber LED because the system cannot boot).

What is the hardware model? The ioscan listing suggests this might be a workstation (it has built-in audio and USB, and an actual floppy drive).

I've seen some HP disks fail in exactly this way.

In all those cases, when I was opening the hardware support case with HP and told the disk model and the words "the diskinfo command shows 0 MB size" to the engineer, the response was something like: "OK, then it really is dead. When can we come to replace it?"

MK
MK
Akif_1
Super Advisor

Re: Disk2 with 0 MB (HP-UX 11.11)

I agree with all my colleagues comments that this 0MB size due to DISK failure .Thanks to all for their on time support.......
T(ogether) E(very one) A(chive) M(ore)