Operating System - HP-UX
1848052 Members
5679 Online
104022 Solutions
New Discussion

New large disk(1.2TB) into rx2660 shows double size.

 
GregMBC
Occasional Contributor

New large disk(1.2TB) into rx2660 shows double size.

We're throwing out an old drive array and I managed to grab some of the 1.2TB drives to use in our rx2660 running HPUX 11.31

The drive shows up ok..

---

disk 4 64000/0xfa00/0x23 esdisk CLAIMED DEVICE online HGST HCBF1200S5xeN010
0/1/1/0.0x5000cca032095da1.0x0

---

But when I ask for diskinfo..

---

diskinfo /dev/rdisk/disk4
SCSI describe of /dev/rdisk/disk4:
vendor: HGST
product id: HCBF1200S5xeN010
type: direct access
size: 2344225968 Kbytes
bytes per sector: 520

---

That comes out to 2.3TB, a bit more than the 1.2TB that's supposed to be there.

Do I need to set an option, or is 11.31 a bit confused with new-fangled drives?

Can I just use 1/2 the drive and ignore the extra?

 

4 REPLIES 4
Arnaud Delaloy
Valued Contributor

Re: New large disk(1.2TB) into rx2660 shows double size.

hello,

these disk seem to come from a Storage array, because their blocksize is 520 bytes instead of the regular 512 bytes.

and that part must confuse diskinfo, and more importantly using them as is could yield unpredictable results.

these disks can be reformatted to 512 byte sectors, on some linux boxes with sg_format, but I never tried it...

georgek_1
HPE Pro

Re: New large disk(1.2TB) into rx2660 shows double size.

Hello Arnaud,

As you mentioned correctly, bytes per sector: 520 is causing this issue .
HP-UX would work with disks with 512 bytes per sector .
Have you got these drives from an OLD VA storage, which had drives formatted with 520 bytes per sector .
You need to re-format the disk with 512 bytes per sector to use with HP-UX , and you may use the command JBODfmt which is available with software Command View (available with DS2XXX) .
The command would be JBODfmt -f </dev/dsk/cXtYdZ> 

You may refer the following post discussing about the same issue .
https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-format-hd-73-gb-to-512-bytes/td-p/4061922

Note sure about sg_format comes with Linux , which you may try and see if that helps .

I work for HPE/ I am an HPE Employee (HPE Community)



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo
GregMBC
Occasional Contributor

Re: New large disk(1.2TB) into rx2660 shows double size.

Thanks for the reply.

The article mentions installing Commandview SDM.  Do you have a link to DL Commandview SDM for 11.31?

 

georgek_1
HPE Pro

Re: New large disk(1.2TB) into rx2660 shows double size.

Hello GregMBC,

 

I couldn't find it for HP-UX , got the following link contains command view software (.pkg) for linux .

You may try reformat the disk using this software and see if that helps .

https://support.hpe.com/connect/s/softwaredetails?language=en_US&softwareId=co_135535_1

 

I work for HPE/ I am an HPE Employee (HPE Community)



I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
Accept or Kudo