New feature! Upgrade and increase expert visibility of your issues with Priority Questions.
The next step is to create a new metadevice d102, which must be the same size as the submirror d101. For T3, you need a spare disk volume. For the RAID box, you need a set of spare disks.
# metastat d100 d100: Mirror Submirror 0: d101 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 10261520 blocks d101: Submirror of d100 State: Okay Size: 10261520 blocks Stripe 0: (interlace: 32 blocks) Device Start Block Dbase State Hot Spare c1t12d0s0 0 No Okay c1t13d0s0 1520 No Okay c1t14d0s0 1520 No Okay c1t15d0s0 1520 No Okay
Then apply a set of new parameters by using the commands newfs, tunefs, and so on.
# metainit d102 1 4 c0t11d0s0 c0t12d0s0 c0t13d0s0 c0t14d0s0 d82: Concat/Stripe is setup # metastat d102 d102: Concat/Stripe Size: 10261520 blocks Stripe 0: (interlace: 32 blocks) Device Start Block Dbase c0t11d0s0 0 No c0t12d0s0 1520 No c0t13d0s0 1520 No c0t14d0s0 1520 No
When the resynchronization is complete, you have two-way mirrors. One submirror has the old parameters, and the other has the new parameters.
# metattach d100 d102 d100: submirror d102 is attached # metastat d100 d100: Mirror Submirror 0: d101 State: Okay Submirror 1: d102 State: Resyncing Resync in progress: 80 % done Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size: 10261520 blocks ......
Now you've changed the file system with a set of new parameters dynamically.
# metadetach d100 d101 # metaclear d101
|Patch for OpenJDK6 on BSD||3,631|
|How to Install FreeBSD 8||3,523|
|Java performance on Solaris - Managing CPUs||3,493|
|Compiling a custom FreeBSD kernel with Packet Filtering (PF) and Alternate Queuing (ALTQ)||1,790|