cancel
Showing results for 
Search instead for 
Did you mean: 

vxvm import

vucni11
Level 4

hi,

i have 2 nodes vcs test6 and test88.

test6:~/Desktop # vxdisk list
DEVICE TYPE DISK GROUP STATUS
sda auto:sliced rootdisk rootdg online
sdb auto:cdsdisk - (test99) online
sdc auto:cdsdisk - (test99) online
sdd auto:cdsdisk - (test99) online
sde auto:none - - online invalid
sdf auto:none - - online invalid
sdg auto:cdsdisk - (test88) online
sdh auto:none - - online invalid
sdi auto:cdsdisk - - online
sdj auto:cdsdisk - - online
sdk auto:cdsdisk - - online
sdl auto:cdsdisk - (v) online
sdm auto:cdsdisk - (vv) online    

disk sdm connected to test6 and not connected to test88.test88:~/Desktop # vxdisk list
DEVICE TYPE DISK GROUP STATUS
sda auto:sliced rootdisk rootdg online
sdb auto:sliced rootmir rootdg online
sdc auto:cdsdisk - - online
sdd auto:cdsdisk - (test99) online remote
sdg auto:cdsdisk - (test88) online remote
sdl auto:cdsdisk - (v) online remote
sdr auto:cdsdisk - (test88) online remote

on test6:
test6:~/Desktop # vxdg init vv sdm
test6:~/Desktop # vxassist -g vv make v 100m
test6:~/Desktop # vxdg deport vv
on test88:

 

 

 

test88:~/Desktop # vxdg import vv

test88:~/Desktop # vxdisk list
DEVICE          TYPE            DISK         GROUP        STATUS
sda          auto:sliced     rootdisk     rootdg       online
sdb          auto:sliced     rootmir      rootdg       online
sdc          auto:cdsdisk    -            -            online
sdd          auto:cdsdisk    -            (test99)     online remote
sdg          auto:cdsdisk    -            (test88)     online remote
sdl          auto:cdsdisk    -            (v)          online remote
sdm          auto:cdsdisk    sdm          vv           online remote
sdr          auto:cdsdisk    -            (test88)     online remote

test88:~/Desktop # vxprint

Disk group: vv

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

dm sdm sdm - 20904976 - REMOTE - -

v v fsgen ENABLED 204800 - ACTIVE - -
pl v-01 v ENABLED 204800 - ACTIVE - -
sd sdm-01 v-01 ENABLED 204800 0 - - -

test88:~/Desktop # mkfs.vxfs /dev/vx/dsk/vv/v
version 12 layout
204800 sectors, 102400 blocks of size 1024, log size 1024 blocks
rcq size 1024 blocks
largefiles supported
maxlink supported

 

I can see that by importing vv on test88 i can format the volume that belong to group vv.How is this possible if disk sdm in not direct attached to test88?Is vxconfigd from test6 and test88 talking to each other and thus this format is possible?

why i can import group vv on test88 if disk sdm is not direct attached to test88?

tnx

 

 

 

 

 

 

 

 

1 REPLY 1

vucni11
Level 4

hi,

in addition

test88:~/Desktop # vxdg -g vv adddisk sdc ;where sdc is locally to test88

test88:~/Desktop # vxassist -g vv mirror v sdc

dg vv           vv           -        -        -        -        -       -

dm sdc          sdc          -        39778480 -        -        -       -
dm sdm          sdm          -        20904976 -        REMOTE   -       -

v  v            fsgen        ENABLED  204800   -        ACTIVE   -       -
pl v-01         v            ENABLED  204800   -        ACTIVE   -       -
sd sdm-01       v-01         ENABLED  204800   0        -        -       -
pl v-02         v            ENABLED  204800   -        ACTIVE   -       -
sd sdc-01       v-02         ENABLED  204800   0        -        -       -

so i can create a mirrored volume v with a disk locally connected to test6 and a disk locally test88.

it is true that in the past i  test6:~/Desktop # vxdisk export -o local successfuly but test6:~/Desktop # vxdisk export sdm

VxVM vxdisk ERROR V-5-1-531 Device sdj: export failed:
    Disk not supported for FSS operations
test6:~/Desktop # /opt/VRTS/bin/vxddladm checkfss sdj  -or any other disk
VxVM vxddladm INFO V-5-1-18714 sdj is not a valid disk for FSS.

tnx