aux wipefs_a "$DEV1"
mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device"
xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF
- 431 302e 4154 4120 2020 2020 5642 4f58
- 048 4152 4444 4953 4b20 2020 2020 2020
- 020 2020 2020 2020 2020 2020 2020 2020
- 020 2020 5642 3963 3130 6433 3138 2d31
- 838 6439 6562 6320 0a
+ 7431 302e 4154 4120 2020 2020 5642 4f58
+ 2048 4152 4444 4953 4b20 2020 2020 2020
+ 2020 2020 2020 2020 2020 2020 2020 2020
+ 2020 2020 5642 3963 3130 6433 3138 2d31
+ 3838 6439 6562 6320 0a
EOF
cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid"
lvmdevices --adddev "$DEV1"
aux wipefs_a "$DEV1"
mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device"
xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF
- 431 302e 4154 4120 2020 2020 5642 4f58
- 048 4152 4444 4953 4b20 2020 2020 2020
- 020 2020 2020 2020 2020 2020 2020 2020
- 020 2020 5642 3963 3130 6433 3138 2d31
- 838 6439 6562 6320 0a
+ 7431 302e 4154 4120 2020 2020 5642 4f58
+ 2048 4152 4444 4953 4b20 2020 2020 2020
+ 2020 2020 2020 2020 2020 2020 2020 2020
+ 2020 2020 5642 3963 3130 6433 3138 2d31
+ 3838 6439 6562 6320 0a
EOF
cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid"
lvmdevices --adddev "$DEV1"
aux wipefs_a "$DEV1"
mkdir -p "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device"
xxd -r -p > "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid" <<- EOF
- 431 302e 4154 4120 2020 2020 5642 4f58
- 048 4152 4444 4953 4b20 2020 2020 2020
- 020 2020 2020 2020 2020 2020 2020 2020
- 020 2020 5642 3963 3130 6433 3138 2d31
- 838 6439 6562 5f20 0a
+ 7431 302e 4154 4120 2020 2020 5642 4f58
+ 2048 4152 4444 4953 4b20 2020 2020 2020
+ 2020 2020 2020 2020 2020 2020 2020 2020
+ 2020 2020 5642 3963 3130 6433 3138 2d31
+ 3838 6439 6562 5f20 0a
EOF
cat "$SYS_DIR/dev/block/$MAJOR1:$MINOR1/device/wwid"
# The wwid has an actual underscore char (5f) followed by a space char (20)