...
| Sv translation | ||||||
|---|---|---|---|---|---|---|
| ||||||
| ||||||
| Sv translation | ||||||
| ||||||
| Warning | title | |||||
| Translations Ignore | ||||||
| Code Block | title | |||||
# Check if the disk is there ls /dev/sd* # Expected output (includes /dev/sdc) /dev/sda /dev/sda1 /dev/sda2 /dev/sdb /dev/sdc # If not, rescan SCSI and repeat above echo "- - -" > /sys/class/scsi_host/host0/scan | ||||||
| Translations Ignore |
| Code Block |
|---|
# Determine which node is servicing the share pcs status # Standby the server on which the resources are NOT running pcs cluster standby acd-store2 # Run this command on the STANDBY machine drbdadm secondary jtelshared |
| Code Block |
|---|
# Create the phsyical volume - this is based on sdc assuming it is the third drive on the system lvm pvcreate /dev/sdc # Extend the volume group lvm vgextend "vg_drbd_jtelshared" /dev/sdc # Create the logical volume lvm lvresize -l +100%FREE /dev/vg_drbd_jtelshared/lv_drbd_jtelshared |
| Code Block |
|---|
# Extend the DRBD resource drbdadm -- --assume-clean resize jtelshared |
| Code Block |
|---|
# Resize File System xfs_growfs /dev/drbd/by-res/jtelshared/0 |
| Code Block |
|---|
# Back to primary drbdadm primary jtelshared # Back to unstandby pcs cluster unstandby acd-store2 |
| Code Block |
|---|
df -h |