cancel
Showing results for 
Search instead for 
Did you mean: 

VxVM vxdisksetup ERROR V-5-2-2480 Disk is too small for supplied parameters

Michael_Fay
Not applicable
Running HP-UX 11.23, trying to setup san for clustering, I get this when adding the disks to vxvm:
 
# /opt/VRTS/bin/vxdisksetup -if c1t0d5
VxVM vxdisksetup ERROR V-5-2-2480 Disk is too small for supplied parameters
 
Got
  Initializing device c1t0d5.
/usr/lib/vxvm/voladm.d/bin/disk.doinit[71]: vxdisksetup: A test command parameter is not valid.
 
  Initializing device c1t0d6.
/usr/lib/vxvm/voladm.d/bin/disk.doinit[71]: vxdisksetup: A test command parameter is not valid.
 
when trying to add them through vxdiskadm.
 
Here is the disk list:
DEVICE       TYPE            DISK         GROUP        STATUS
c1t0d3       auto:LVM        -           -            LVM
c1t0d4       auto:LVM        -           -            LVM
c1t0d5       auto:none       -           -            online invalid
c1t0d6       auto:none       -           -            online invalid
c1t0d7       auto:cdsdisk    -           -            online
c1t1d0       auto:cdsdisk    -           -            online
c1t1d1       auto:LVM        -           -            LVM
c1t1d2       auto:cdsdisk    -           -            online
c1t1d3       auto:LVM        -           -            LVM
c1t1d4       auto:cdsdisk    -           -            online
c1t1d5       auto:cdsdisk    -           -            online
c1t1d6       auto:cdsdisk    -           -            online
c3t0d0s2     auto:LVM        -           -            LVM
c3t1d0       auto:none       -           -            online invalid
c6t0d0s2     auto:LVM        -           -            LVM
c6t1d0       auto:none       -           -            online invalid
 

# vxdisk list c1t0d5
Device:    c1t0d5
devicetag: c1t0d5
type:      auto
info:      format=LVM
flags:     online error private autoconfig
errno:     Disk is not useable, bad format
Multipathing information:
numpaths:   2
c1t0d5  state=enabled
c4t0d5  state=enabled
 
c1t0d5 and c1t0d6 are supposed to be 2 TB luns that I need for creating clustered file systems for oracle.
 
Any ideas?
 


Message Edited by Michael Fay on 03-19-2008 06:52 AM

Message Edited by Michael Fay on 03-19-2008 06:54 AM
2 REPLIES 2

sunshine_2
Level 4
since in vxdisk list c1t0d5 shows

flags:     online error private autoconfig
errno:     Disk is not useable, bad format

you need to reformat the disks and put a new label, only slice 2 should exist. all the other slices should be unassigned and 0.

then vxdctl enable




springer
Level 4
I agree with last post ... but also not lvm header u might have to do a dd and write over first less say 100mb of disk to blank any previous header aka lvm and then re-format via sun format and vxdctl enable