
rcdrbd status
Before proceeding, wait until the block devices on both nodes are fully synchro-
nized. Repeat the
rcdrbd status
command to follow the synchronization
progress.
9
After the block devices on both nodes are fully synchronized, format the DRBD
device on the primary with a file system such as reiserfs. Any Linux file system
can be used. For example, enter
mkfs.reiserfs -f /dev/drbd0
IMPORTANT
Always use the
/dev/drbd<n>
name in the command, not the actual
/dev/disk
device name.
14.3 Testing the DRBD Service
If the install and configuration procedures worked as expected, you are ready to run a
basic test of the DRBD functionality. This test also helps with understanding how the
software works.
1
Test the DRBD service on node 1.
1a
Open a terminal console, then log in as
root
.
1b
Create a mount point on node 1, such as
/srv/r0mount
.
mkdir -p /srv/r0mount
1c
Mount the
drbd
device.
mount -o rw /dev/drbd0 /srv/r0mount
1d
Create a file from the primary node.
124
High Availability Guide
Summary of Contents for LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Page 10: ......
Page 11: ...Part I Installation and Setup...
Page 12: ......
Page 28: ......
Page 38: ......
Page 39: ...Part II Configuration and Administration...
Page 40: ......
Page 68: ......
Page 108: ......
Page 114: ......
Page 115: ...Part III Storage and Data Replication...
Page 116: ......
Page 126: ......
Page 140: ......
Page 141: ...Part IV Troubleshooting and Reference...
Page 142: ......
Page 148: ......
Page 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Page 202: ......
Page 210: ......
Page 285: ...Part V Appendix...
Page 286: ......