Sun Microsystems 3.2 manual Using the dsstat Command Incorrectly, # dsstat -msndr, # sndradm -p

Models: 3.2

1 52
Download 52 pages 35.43 Kb
Page 25
Image 25
#sndradm -un calamari:/dev/vx/rdsk/rootdg/tony1

For example, this command updates the volume on the secondary host calamari from the primary host volume:

#sndradm -un calamari:/dev/vx/rdsk/rootdg/tony1

To correctly display the volume set name, use the sndradm -pcommand on the primary host. See “To Find the Volume Set Name” on page 16.

Using the dsstat Command Incorrectly

An administrator might use the dsstat(1M) command instead of sndradm -pto find the volume set name. The output of both commands only appears to be similar

# dsstat -m sndr

 

 

 

 

 

 

 

Name

t

s

pct

role

kps

tps

svt

sk/rootdg/tony1

P

L

0.00

net

0

0

0

sk/rootdg/bmap1

 

 

 

bmp

0

0

0

 

 

 

 

 

 

 

 

Issuing the sndradm -pCommand on the Secondary Host Incorrectly

An administrator might use the sndradm -pcommand to find the volume set name correctly but issue the command from the secondary host incorrectly. Depending on which host you issue the command from, the output differs. For example, when issued from the primary host, the command shows the correct volume set name of calamari:/dev/vx/rdsk/rootdg/tony1:

# sndradm -p

 

/dev/vx/rdsk/rootdg/tony1

-> calamari:/dev/vx/rdsk/rootdg/tony1

When issued from the secondary host, the command shows the incorrect volume set name. The name ariell:/dev/vx/rdsk/rootdg/tony0 is the name of the primary host and its volume set.

#sndradm -p

/dev/vx/rdsk/rootdg/tony0 <- ariell:/dev/vx/rdsk/rootdg/tony0

Chapter 2 Remote Mirror Software Troubleshooting Tips 15

Page 25
Image 25
Sun Microsystems 3.2 Using the dsstat Command Incorrectly, #sndradm -uncalamari:/dev/vx/rdsk/rootdg/tony1, # dsstat -msndr