Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

unable to mirror a boot disk.

Created: 13 Mar 2014 | 4 comments

Hi everyone,

I have an issue mirroring a boot disk with an other disk :

 
  VxVM  WARNING V-5-2-1563 There is insufficient space on disk rootdg01 to mirror all the volumes on disk rootdg02
 
best regards.
 
Abdelaziz.
Operating Systems:

Comments 4 CommentsJump to latest comment

mikebounds's picture

Run:

vxdisk list rootdg01 | egrep "public:|private:"
vxdisk list rootdg02 | egrep "public:|private:"

If the source disk has no free space, then the target disk needs to have an equal or greater public len - if it is smaller, it could be because the private region is bigger on your target disk, in which case you need to reinitialise your target disk.

vxdisksetup -i disk_name privlen=size_of_private_len_on_the_disk

where diskname is the name of the disk in the 1st column of "vxdisk list", not the Volume Manager disk media record (rootdg01)

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

Bendoumah Abdelaaziz's picture

Hi,

they are the same :

root@t5k-srv1 # vxdisk list rootdg01 | egrep "public:|private:"
public:    slice=4 offset=0 len=585007200 disk_offset=71424
private:   slice=3 offset=1 len=71423 disk_offset=0
root@t5k-srv1 # vxdisk list rootdg02 | egrep "public:|private:"
public:    slice=3 offset=0 len=585007200 disk_offset=71424
private:   slice=4 offset=1 len=71423 disk_offset=0
 
best regards.
 
Abdelaziz.
mikebounds's picture

Could you provide output of "vxprint" and "vxdg free".

Also how are you mirroring - vxdiskadm or command line - please give option selected in a menu, or command line you are using.

Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

Bendoumah Abdelaaziz's picture

Hi everyone,

the problem is resolved i deleted the plexs of the rootdg01 and it's being mirrored now:

root@t5k-srv1 # vxprint -th -g rootdg
DG NAME         NCONFIG      NLOG     MINORS   GROUP-ID
ST NAME         STATE        DM_CNT   SPARE_CNT         APPVOL_CNT
DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE
RV NAME         RLINK_CNT    KSTATE   STATE    PRIMARY  DATAVOLS  SRL
RL NAME         RVG          KSTATE   STATE    REM_HOST REM_DG    REM_RLNK
CO NAME         CACHEVOL     KSTATE   STATE
VT NAME         RVG          KSTATE   STATE    NVOLUME
V  NAME         RVG/VSET/CO  KSTATE   STATE    LENGTH   READPOL   PREFPLEX UTYPE
PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODE
SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE
SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
DC NAME         PARENTVOL    LOGVOL
SP NAME         SNAPVOL      DCO
EX NAME         ASSOC        VC                       PERMS    MODE     STATE
SR NAME         KSTATE
 
dg rootdg       default      default  8000     1394541971.33.t5k-srv1
 
dm rootdg01     disk_3       auto     71423    585007200 -
dm rootdg02     disk_0       auto     71423    585007200 -
 
v  rootvol2     -            ENABLED  ACTIVE   419437440 ROUND    -        root
pl rootvol2-01  rootvol2     ENABLED  ACTIVE   419437440 CONCAT   -        RW
sd rootdg01-B0  rootvol2-01  rootdg01 584998271 1       0         disk_3   ENA
sd rootdg01-01  rootvol2-01  rootdg01 0        419437439 1        disk_3   ENA
pl rootvol2-02  rootvol2     ENABLED  ACTIVE   419437440 CONCAT   -        RW
sd rootdg02-01  rootvol2-02  rootdg02 0        419437440 0        disk_0   ENA
root@t5k-srv1 # vxplex -g rootdg -o rm dis rootvol2-01

thsnks for your help.

best regards.

Abdelaziz.