vxmake subdisk error

Creating a subdisk manually, but it is thorwing error eventhough I put the correct offset.

 

bash-3.2# vxprint  -htg  appdg   |  grep   -i  appdisk4
dm appdisk4     disk_4       auto     65536    2031232  -
sd appdisk4-02  -            appdisk4 204800   409600   -         disk_4   ENA
sd appdisk4-03  -            appdisk4 614400   819200   -         disk_4   ENA
sd appdisk4-01  vol1-01      appdisk4 0        204800   0         disk_4   ENA
bash-3.2# vxmake -g appdg sd appdisk4-04 appdisk4,819200,1024000
VxVM vxmake ERROR V-5-1-10127 creating subdisk appdisk4-04:
        Subdisk appdisk4-04 would overlap subdisk appdisk4-03

 

2 Replies

Re: vxmake subdisk error

any specific reason you are trying to create this manually ? whether previous 3 subdisks were created manually using vxmake as well ?

Is this solaris or linux machine ? can you paste the vtoc output.

Can you try giving offet as 819201 ?

Error is straight forward suggesting that its disks are overlapping with each other.

 

G

 

 

Highlighted

Re: vxmake subdisk error

Hi,

 

  according error:

 Subdisk appdisk4-04 would overlap subdisk appdisk4-03

 

..

SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE

sd appdisk4-02  -            appdisk4 204800   409600   -         disk_4   ENA
sd appdisk4-03  -            appdisk4 614400   819200   -         disk_4   ENA
sd appdisk4-01  vol1-01      appdisk4 0        204800   0         disk_4   ENA

==============

 

sd appdisk4-01  offset 0,  length  204800

   appdisk4-02  offset 204800  length 409600

   appdisk4-03  offset 614400   length  819200

 

so appdisk4-04  offset should 614400++819200=143300   or later.