Created
November 16, 2017 21:53
-
-
Save trisk/da6da8520f1b5138407683ecbd3a82cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@SoftNAS:/usr/src/btier-magic1# btier_setup -f /dev/zvol/tank/zvol1:/dev/zvol/tank/zvol2 | |
Device size (raw) : 0xc0000000 (3221225472) | |
Device size (rnd) : 0xc0000000 (3221225472) | |
Device size (raw) : 0x400000000 (17179869184) | |
Device size (rnd) : 0x400000000 (17179869184) | |
Total device size : 0x4bf800000 (20392706048) | |
root@SoftNAS:/usr/src/btier-magic1# btier_setup -d /dev/sdtiera | |
root@SoftNAS:/usr/src/btier-magic1# btier_setup -f /dev/zvol/tank/zvol1:/dev/zvol/tank/zvol2 | |
Device size (raw) : 0xc0000000 (3221225472) | |
Device size (rnd) : 0xc0000000 (3221225472) | |
Device size (raw) : 0x400000000 (17179869184) | |
Device size (rnd) : 0x400000000 (17179869184) | |
Total device size : 0x4bf800000 (20392706048) | |
root@SoftNAS:/usr/src/btier-magic1# dd if=/dev/zero bs=8k count=1024 of=/dev/sdtiera | |
1024+0 records in | |
1024+0 records out | |
8388608 bytes (8.4 MB) copied, 0.0180843 s, 464 MB/s | |
root@SoftNAS:/usr/src/btier-magic1# dd if=/dev/urandom bs=8k count=1024 of=/dev/sdtiera | |
1024+0 records in | |
1024+0 records out | |
8388608 bytes (8.4 MB) copied, 0.407195 s, 20.6 MB/s | |
root@SoftNAS:/usr/src/btier-magic1# dd if=/dev/zero bs=8k count=1024 of=/dev/sdtiera^C | |
root@SoftNAS:/usr/src/btier-magic1# btier_setup -d /dev/zvol/tank/zvol1:/dev/zvol/tank/zvol2 | |
No such device : /dev/zvol/tank/zvol1:/dev/zvol/tank/zvol2 | |
root@SoftNAS:/usr/src/btier-magic1# btier_setup -d /dev/sdtiera | |
root@SoftNAS:/usr/src/btier-magic1# zfs set volsize=512M tank/zvol1 | |
root@SoftNAS:/usr/src/btier-magic1# zfs set volsize=512M tank/zvol2 | |
root@SoftNAS:/usr/src/btier-magic1# btier_setup -f /dev/zvol/tank/zvol1:/dev/zvol/tank/zvol2 -c | |
Device size (raw) : 0x20000000 (536870912) | |
Device size (rnd) : 0x20000000 (536870912) | |
Clearing bitlist of device : /dev/zvol/tank/zvol1 | |
offset : 0x1ff00000 (535822336) | |
device size : 0x20000000 (536870912) | |
bitlist size : 0x100000 (1048576) | |
Device size (raw) : 0x20000000 (536870912) | |
Device size (rnd) : 0x20000000 (536870912) | |
Clearing bitlist of device : /dev/zvol/tank/zvol2 | |
offset : 0x1ff00000 (535822336) | |
device size : 0x20000000 (536870912) | |
bitlist size : 0x100000 (1048576) | |
Total device size : 0x3f800000 (1065353216) | |
Clearing blocklist of device : /dev/zvol/tank/zvol1 | |
list size : 0x100000 (1048576) | |
starting from offset : 0x1fe00000 (534773760) | |
write_device_magic device : 0 | |
size : 0x3f800000 (1065353216) | |
write_device_magic device : 1 | |
size : 0x3f800000 (1065353216) | |
root@SoftNAS:/usr/src/btier-magic1# dd if=/dev/zero bs=8k count=1024 of=/dev/sdtiera | |
^C |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment