anchor.diff:  ----
   ====
   
  +[[using-ceph-rbd-creating-the-persistent-volume]]
   == Creating the Persistent Volume
  -The persistent volume (PV) file is defined next before creating the PV object in
  -OpenShift:
  +
  +Next, before creating the PV object in {product-title}, define the persistent
  +volume file:
   
   .Persistent Volume Object Definition Using Ceph RBD
   ====
  
positive.code:     pool: rbd
      image: ceph-image
      user: admin
      secretRef: 
        name: ceph-secret <6>
      fsType: ext4        <7>
      readOnly: false
    persistentVolumeReclaimPolicy: Recycle
  ----
  <1> The name of the PV which is referenced in pod definitions or displayed in
  various `oc` volume commands.
  <2> The amount of storage allocated to this volume.
  <3> `accessModes` are used as labels to match a PV and a PVC. They currently
  do not define any form of access control. All block storage is defined to be
  single user (non-shared storage).
  <4> This defines the volume type being used, in this case the *rbd* plug-in.
  <5> This is an array of Ceph monitor ip addresses and ports.
  <6> This is the Ceph secret, define above, used to create a secure connection
  from OpenShift to the Ceph server.
  <7> This is the file system type mounted on the Ceph RBD block device.
  ====
  
  
negative.code: ceph-pod1   1/1       Running   0          2m
                        <1>
  ----
  <1> After a minute or so, the pod will be in the *Running* state.
  ====
  
  [[using-ceph-rbd-defining-group-and-owner-ids-optional]]
  == Defining Group and Owner IDs (Optional)
  When using block storage, such as Ceph RBD, the physical block storage is
  *managed* by the pod. The group ID defined in the pod becomes the group ID of
  *both* the Ceph RBD mount inside the container, and the group ID of the actual
  storage itself. Thus, it is usually unnecessary to define a group ID in the pod
  specifiation. However, if a group ID is desired, it can be defined using
  `*fsGroup*`, as shown in the following pod definition fragment:
  
  .Group ID Pod Definition
  ====
  