Syntax:
# vxassist -g
# vxassist -g datadg relayout vol01 layout=raid# vxtask -l list
Task: 391 RUNNING
Type: RDWRBACK ß notice this value
Operation: VOLSTART Vol vol01-T01
Started: Wed Oct 29 14:50:09 2003
Throttle: 0
Progress: 21.31% 21824 of 102400 Blocks
Work time: 2 seconds (0:07 remaining)# vxrelayout status vol01
STRIPED, columns=2, stwidth=128 --> RAID5, columns=2, stwidth=32 ß Notice here: Striped à RAID5
Relayout stopped, 0.00% completed. ß and the relayout hasn't yet started
# vxtask -l list
Task: 393 RUNNING
Type: RELAYOUT ß now the relayout is in progress
Operation: RELAYOUT Vol vol01
Started: Wed Oct 29 14:50:18 2003
Throttle: 0
Progress: 2.77% 56792 of 2048000 Blocks
Work time: 11 seconds (06:25 remaining)
# vxrelayout status vol01
STRIPED, columns=2, stwidth=128 --> RAID5, columns=2, stwidth=32
Relayout running, 0.00% completed. ß and here, relayout shows it's now running
To reverse the relayout
# vxtask abort taskidExample:
# vxtask abort 393
# vxvm:vxrelayout: INFO: Aborting readloop (task 393)
vxvm:vxrelayout: INFO: Attempting to cleanup ...
vxvm:vxassist: ERROR: Cannot complete relayout operation
[1]+ Exit 7 vxassist -g datadg relayout vol01 layout=raid
# vxtask -l list
#
# vxrelayout status vol01
STRIPED, columns=2, stwidth=128 --> RAID5, columns=2, stwidth=32
Relayout stopped, 30.00% completed. ß relayout has stopped# vxrelayout reverse vol01&
[1] 5632
# vxtask -l list
Task: 401 RUNNING
Type: RELAYOUT
Operation: RELAYOUT Vol vol01
Started: Wed Oct 29 15:03:49 2003
Throttle: 0
Progress: 14.84% 106368 of 716800 Blocks
Work time: 5 seconds (0:28 remaining)# vxrelayout status vol01
RAID5, columns=2, stwidth=32 --> STRIPED, columns=2, stwidth=128 ß Notice this line
Relayout running, 70.00% completed. It shows relayout reversal: RAID5 à STRIPED