Disk | Size (MB) | Description | Device model | Virtual device | Pool | Dataset | Path | SMB Share |
da0 | 1907730 | Seagate Barracuda Green (AF) | ST2000DL003-9VT166 | tank_mirror_0 | tank | alex | /mnt/tank/alex/ | alex |
da1 | 1907730 | Seagate Barracuda Green (AF) | ST2000DL003-9VT166 | music | /mnt/tank/music/ | music | ||
da2 | 2861589 | Seagate Barracuda 7200.14 (AF) | ST3000DM001-1E6166 | vault_mirror_1 | vault | alex | ||
da3 | 2861589 | Seagate Barracuda 7200.14 (AF) | ST3000DM001-1E6166 | movies | /mnt/vault/movies | movies |
I plan to purchase two 4TB drives to upgrade mirror vault. Then after 30 or so days I will use these hard drives to upgrade mirror tank.
I did this successfully in the past. This time I will document the procedure and will try to stay away from command line.
I powered down the system, installed new hard drive - there are plenty of empty positions available in the drive cages, powered the system up.
New drive da4 immediately appeared in Diagnostics\Information\Disks.
I go to Disk\Management,
da4 is not there.
I click Rescan Disks.
da4 appears. I edit it to: set APM to 127, activate SMART.
Apply changes.
I click Disk\Format, select da4 and specify ZFS.
Diagnostics\Information\Disks for da4 looks like this:
Device | Device model | Description | Size | Serial number | Rotation rate | Transfer rate | S.M.A.R.T. | Controller | Controller model | Temperature | Status |
da4 | ST4000VN000-1H4168 | n/a | 3815448MB | Z30150F6 | 5900 rpm | 6.0 Gb/s | Available , Enabled | mps0 | LSI SAS2008 | 35 °C | ONLINE |
Time to add da4 to mirror vault.
This post outlines the steps involved in maintaining the mirror. In a nutshell it recommends to take one disk offline and to add another thus replacing the first one. I am a proponent of a different approach. You add a 3rd disk to a mirror. You leave it there for a while. In the meantime not only old files are copied to the new disk. Also all I/O operations are duplicated to 3rd disk and early failure might be detected. If disk still works after 30 days, you can remove one of the older disks. Add anew larger capacity disk. Repeat.
The above approach relies on command
zpool add <existing pool> <device>
Unfortunately I found no way to issue it through GUI, thus the need to use command line:
Edit: nest post will be about a proper way to upgrade the mirror.
No comments:
Post a Comment