cancel
Showing results for 
Search instead for 
Did you mean: 

Insufficient space to mirror?

Bill_Ranck
Level 4

I am in the process of moving data from old SAN storage to new SAN storage.  I have a disk group that looks like this:

Disk group: calendar01dg

TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dg calendar01dg calendar01dg -        -        -        -        -       -

dm calendar01d00 HDS9980V0_0 -        258336   -        -        -       -
dm calendar01disk1 Disk_9    -        427685632 -       -        -       -
dm calendar01d01 HDS9980V0_1 -        71186976 -        -        -       -
dm calendar01d02 HDS9980V0_2 -        71186976 -        -        -       -
dm calendar01d03 HDS9980V0_3 -        71186976 -        -        -       -
dm calendar01d04 HDS9980V0_4 -        71186976 -        -        -       -
dm calendar01d05 HDS9980V0_5 -        71186976 -        -        -       -
dm calendar01d06 HDS9980V0_6 -        71186976 -        -        -       -

v  u01          fsgen        ENABLED  427000000 -       ACTIVE   -       -
pl u01-01       u01          ENABLED  427000320 -       ACTIVE   -       -
sd calendar01d01-01 u01-01   ENABLED  71166720 0        -        -       -
sd calendar01d02-01 u01-01   ENABLED  71166720 0        -        -       -
sd calendar01d03-01 u01-01   ENABLED  71166720 0        -        -       -
sd calendar01d04-01 u01-01   ENABLED  71166720 0        -        -       -
sd calendar01d05-01 u01-01   ENABLED  71166720 0        -        -       -
sd calendar01d06-01 u01-01   ENABLED  71166720 0        -        -       -

 

I want to mirror the volume u01 onto calendar01disk1 (Disk_9).  I issued a vxassist command like this:

vxassist -g calendar01dg -b mirror u01 calendar01disk1
VxVM vxassist ERROR V-5-1-437 Cannot allocate space to mirror 427000000 block volume

And got the error as shown.  Now, calendar01disk1 would seem to have enough space for this (427685632), so what is the problem?

FYI: This is being done on a Sun Cluster on the primary node where calendar01dg is defined a device resource to the cluster, and I did sync the devices after adding the new SAN disk.

1 ACCEPTED SOLUTION

Accepted Solutions

Gaurav_S
Moderator
Moderator
   VIP    Certified

Is this volume a stripe volume ?

If it is, have a look at

 

http://www.symantec.com/business/support/index?page=content&id=TECH51836

 

Can you paste following outputs:

 

# modinfo  |grep -i vx

# vxprint -qthg calendar01dg

# cat /etc/default/vxassist

 

Gaurav

View solution in original post

5 REPLIES 5

Gaurav_S
Moderator
Moderator
   VIP    Certified

Is this volume a stripe volume ?

If it is, have a look at

 

http://www.symantec.com/business/support/index?page=content&id=TECH51836

 

Can you paste following outputs:

 

# modinfo  |grep -i vx

# vxprint -qthg calendar01dg

# cat /etc/default/vxassist

 

Gaurav

Bill_Ranck
Level 4

I think it is just concacted.  I inherited this setup, but if it was was striped I'd expect the vxprint to show it.  Here are the outputs you asked for:

#modinfo  |grep -i vx
 28  139ee90  29a00 256   1  vxdmp (VxVM 4.1_p3.1: DMP Driver)
 29 7be00000 216778 257   1  vxio (VxVM 4.1_p3.1 I/O driver)
 31  13c6428   13f8 258   1  vxspec (VxVM 4.1_p3.1 control/status dr)
197 7b7cf270    c70 259   1  vxportal (VxFS 4.1_REV-MP1f portal driver)
198 7a200000 171218  21   1  vxfs (VxFS 4.1_REV-MP1f SunOS 5.10)
253 7afdc000   a270 260   1  fdd (VxQIO 4.1_REV-MP1f Quick I/O dr)
255 7ae5a000  17e10 261   1  qlog (VxQLOG 4.1_REV-MP1f QuickLog dr)
Manu#modinfo  |grep -i vx
 28  139ee90  29a00 256   1  vxdmp (VxVM 4.1_p3.1: DMP Driver)
 29 7be00000 216778 257   1  vxio (VxVM 4.1_p3.1 I/O driver)
 31  13c6428   13f8 258   1  vxspec (VxVM 4.1_p3.1 control/status dr)
197 7b7cf270    c70 259   1  vxportal (VxFS 4.1_REV-MP1f portal driver)
198 7a200000 171218  21   1  vxfs (VxFS 4.1_REV-MP1f SunOS 5.10)
253 7afdc000   a270 260   1  fdd (VxQIO 4.1_REV-MP1f Quick I/O dr)
255 7ae5a000  17e10 261   1  qlog (VxQLOG 4.1_REV-MP1f QuickLog dr)

 

#vxprint -qthg calendar01dg
dg calendar01dg default      default  16000  


dm calendar01d00 HDS9980V0_0 auto     2048     258336   -
dm calendar01disk1 Disk_9    auto     2048     427685632 -
dm calendar01d01 HDS9980V0_1 auto     2048     71186976 -
dm calendar01d02 HDS9980V0_2 auto     2048     71186976 -
dm calendar01d03 HDS9980V0_3 auto     2048     71186976 -
dm calendar01d04 HDS9980V0_4 auto     2048     71186976 -
dm calendar01d05 HDS9980V0_5 auto     2048     71186976 -
dm calendar01d06 HDS9980V0_6 auto     2048     71186976 -

v  u01          -            ENABLED  ACTIVE   427000000 SELECT   u01-01   fsgen
pl u01-01       u01          ENABLED  ACTIVE   427000320 STRIPE   6/128    RW
sd calendar01d01-01 u01-01   calendar01d01 0   71166720 0/0       HDS9980V0_1 ENA
sd calendar01d02-01 u01-01   calendar01d02 0   71166720 1/0       HDS9980V0_2 ENA
sd calendar01d03-01 u01-01   calendar01d03 0   71166720 2/0       HDS9980V0_3 ENA
sd calendar01d04-01 u01-01   calendar01d04 0   71166720 3/0       HDS9980V0_4 ENA
sd calendar01d05-01 u01-01   calendar01d05 0   71166720 4/0       HDS9980V0_5 ENA
sd calendar01d06-01 u01-01   calendar01d06 0   71166720 5/0       HDS9980V0_6 ENA
 
#cat /etc/default/vxassist
cat: cannot open /etc/default/vxassist
 
As you can see there is not /etc/default/vxassist file.   I redacted the hostname on the vxprint command for security reasons.

Gaurav_S
Moderator
Moderator
   VIP    Certified

Hi Bill, that is a stripe volume & vxprint shows it

 

v  u01          -            ENABLED  ACTIVE   427000000 SELECT   u01-01   fsgen
pl u01-01       u01          ENABLED  ACTIVE   427000320 STRIPE   6/128    RW  <<<<<<<<<<<<<<<<<<<<<<<
sd calendar01d01-01 u01-01   calendar01d01 0   71166720 0/0       HDS9980V0_1 ENA
sd calendar01d02-01 u01-01   calendar01d02 0   71166720 1/0       HDS9980V0_2 ENA
sd calendar01d03-01 u01-01   calendar01d03 0   71166720 2/0       HDS9980V0_3 ENA
sd calendar01d04-01 u01-01   calendar01d04 0   71166720 3/0       HDS9980V0_4 ENA
sd calendar01d05-01 u01-01   calendar01d05 0   71166720 4/0       HDS9980V0_5 ENA
sd calendar01d06-01 u01-01   calendar01d06 0   71166720 5/0       HDS9980V0_6 ENA

 

See above, it is a 6 coulmn stripe...  so the tech note link I gave above stands valid for you... look at the link for solution...

 

Gaurav

Bill_Ranck
Level 4

Excellent!  That is, indeed, the solution.

Gaurav_S
Moderator
Moderator
   VIP    Certified

cool... please mark the post as solution...  would be good to mark solution to my very first answer since that has the solution link..

 

Thanks

 

Gaurav