adamgoldberg
Explorer
- Joined
- Dec 12, 2015
- Messages
- 60
I was booting from a single USB drive. I bought two new identical ones to replace the single, and followed the process detailed in Sec 5 of the manual:
Pleading for help on #freenas, was told to grub-install --modules='zfs part_gpt' /dev/da2 which worked without error.
Some say this is https://bugs.freenas.org/issues/6993 but the grub-install error is different.
Am I safe?
- plugged NewUsb1 in, then system, boot, status, click on mirror, click on attach
- chose da1
- waited for the resilvering to complete, all's well. Status of the boot volume is healthy.
- plugged newusb2 in, then system, boot, status, click on da0, click on replace
- waited for the resilvering to complete
Code:
Feb 23 20:23:16 freenas notifier: /usr/local/sbin/grub-install: error: failed to get canonical path of `/dev/replacing-0'.
Pleading for help on #freenas, was told to grub-install --modules='zfs part_gpt' /dev/da2 which worked without error.
Some say this is https://bugs.freenas.org/issues/6993 but the grub-install error is different.
Am I safe?
Feb 23 20:17:23 freenas ugen1.4: <SanDisk> at usbus1
Feb 23 20:17:23 freenas umass1: <SanDisk Ultra Fit, class 0/0, rev 2.10/1.00, addr 4> on usbus1
Feb 23 20:17:23 freenas umass1: SCSI over Bulk-Only; quirks = 0xc100
Feb 23 20:17:23 freenas umass1:8:1:-1: Attached to scbus8
Feb 23 20:17:23 freenas da1 at umass-sim1 bus 1 scbus8 target 0 lun 0
Feb 23 20:17:23 freenas da1: <SanDisk Ultra Fit 1.00> Removable Direct Access SCSI-6 device
Feb 23 20:17:23 freenas da1: Serial Number 4C530146071110117453
Feb 23 20:17:23 freenas da1: 40.000MB/s transfers
Feb 23 20:17:23 freenas da1: 29327MB (60062500 512 byte sectors: 255H 63S/T 3738C)
Feb 23 20:17:23 freenas da1: quirks=0x2<NO_6_BYTE>
Feb 23 20:18:35 freenas notifier: 32+0 records in
Feb 23 20:18:35 freenas notifier: 32+0 records out
Feb 23 20:18:35 freenas notifier: 33554432 bytes transferred in 1.323759 secs (25347844 bytes/sec)
Feb 23 20:18:36 freenas notifier: dd: /dev/da1: short write on character device
Feb 23 20:18:36 freenas notifier: dd: /dev/da1: end of device
Feb 23 20:18:36 freenas notifier: 33+0 records in
Feb 23 20:18:36 freenas notifier: 32+1 records out
Feb 23 20:18:36 freenas notifier: 33966080 bytes transferred in 1.264617 secs (26858789 bytes/sec)
Feb 23 20:18:52 freenas notifier: Installing for i386-pc platform.
Feb 23 20:19:04 freenas notifier: Installation finished. No error reported.
Feb 23 20:21:56 freenas ugen1.5: <SanDisk> at usbus1
Feb 23 20:21:56 freenas umass2: <SanDisk Ultra Fit, class 0/0, rev 2.10/1.00, addr 5> on usbus1
Feb 23 20:21:56 freenas umass2: SCSI over Bulk-Only; quirks = 0xc100
Feb 23 20:21:56 freenas umass2:9:2:-1: Attached to scbus9
Feb 23 20:21:56 freenas da2 at umass-sim2 bus 2 scbus9 target 0 lun 0
Feb 23 20:21:56 freenas da2: <SanDisk Ultra Fit 1.00> Removable Direct Access SCSI-6 device
Feb 23 20:21:56 freenas da2: Serial Number 4C530001101110102494
Feb 23 20:21:56 freenas da2: 40.000MB/s transfers
Feb 23 20:21:56 freenas da2: 29327MB (60062500 512 byte sectors: 255H 63S/T 3738C)
Feb 23 20:21:56 freenas da2: quirks=0x2<NO_6_BYTE>
Feb 23 20:22:40 freenas notifier: 32+0 records in
Feb 23 20:22:40 freenas notifier: 32+0 records out
Feb 23 20:22:40 freenas notifier: 33554432 bytes transferred in 1.351005 secs (24836644 bytes/sec)
Feb 23 20:22:41 freenas notifier: dd: /dev/da2: short write on character device
Feb 23 20:22:41 freenas notifier: dd: /dev/da2: end of device
Feb 23 20:22:41 freenas notifier: 33+0 records in
Feb 23 20:22:41 freenas notifier: 32+1 records out
Feb 23 20:22:41 freenas notifier: 33966080 bytes transferred in 1.302345 secs (26080708 bytes/sec)
Feb 23 20:22:57 freenas notifier: Installing for i386-pc platform.
Feb 23 20:23:16 freenas notifier: /usr/local/sbin/grub-install: error: failed to get canonical path of `/dev/replacing-0'.
Feb 23 20:17:23 freenas umass1: <SanDisk Ultra Fit, class 0/0, rev 2.10/1.00, addr 4> on usbus1
Feb 23 20:17:23 freenas umass1: SCSI over Bulk-Only; quirks = 0xc100
Feb 23 20:17:23 freenas umass1:8:1:-1: Attached to scbus8
Feb 23 20:17:23 freenas da1 at umass-sim1 bus 1 scbus8 target 0 lun 0
Feb 23 20:17:23 freenas da1: <SanDisk Ultra Fit 1.00> Removable Direct Access SCSI-6 device
Feb 23 20:17:23 freenas da1: Serial Number 4C530146071110117453
Feb 23 20:17:23 freenas da1: 40.000MB/s transfers
Feb 23 20:17:23 freenas da1: 29327MB (60062500 512 byte sectors: 255H 63S/T 3738C)
Feb 23 20:17:23 freenas da1: quirks=0x2<NO_6_BYTE>
Feb 23 20:18:35 freenas notifier: 32+0 records in
Feb 23 20:18:35 freenas notifier: 32+0 records out
Feb 23 20:18:35 freenas notifier: 33554432 bytes transferred in 1.323759 secs (25347844 bytes/sec)
Feb 23 20:18:36 freenas notifier: dd: /dev/da1: short write on character device
Feb 23 20:18:36 freenas notifier: dd: /dev/da1: end of device
Feb 23 20:18:36 freenas notifier: 33+0 records in
Feb 23 20:18:36 freenas notifier: 32+1 records out
Feb 23 20:18:36 freenas notifier: 33966080 bytes transferred in 1.264617 secs (26858789 bytes/sec)
Feb 23 20:18:52 freenas notifier: Installing for i386-pc platform.
Feb 23 20:19:04 freenas notifier: Installation finished. No error reported.
Feb 23 20:21:56 freenas ugen1.5: <SanDisk> at usbus1
Feb 23 20:21:56 freenas umass2: <SanDisk Ultra Fit, class 0/0, rev 2.10/1.00, addr 5> on usbus1
Feb 23 20:21:56 freenas umass2: SCSI over Bulk-Only; quirks = 0xc100
Feb 23 20:21:56 freenas umass2:9:2:-1: Attached to scbus9
Feb 23 20:21:56 freenas da2 at umass-sim2 bus 2 scbus9 target 0 lun 0
Feb 23 20:21:56 freenas da2: <SanDisk Ultra Fit 1.00> Removable Direct Access SCSI-6 device
Feb 23 20:21:56 freenas da2: Serial Number 4C530001101110102494
Feb 23 20:21:56 freenas da2: 40.000MB/s transfers
Feb 23 20:21:56 freenas da2: 29327MB (60062500 512 byte sectors: 255H 63S/T 3738C)
Feb 23 20:21:56 freenas da2: quirks=0x2<NO_6_BYTE>
Feb 23 20:22:40 freenas notifier: 32+0 records in
Feb 23 20:22:40 freenas notifier: 32+0 records out
Feb 23 20:22:40 freenas notifier: 33554432 bytes transferred in 1.351005 secs (24836644 bytes/sec)
Feb 23 20:22:41 freenas notifier: dd: /dev/da2: short write on character device
Feb 23 20:22:41 freenas notifier: dd: /dev/da2: end of device
Feb 23 20:22:41 freenas notifier: 33+0 records in
Feb 23 20:22:41 freenas notifier: 32+1 records out
Feb 23 20:22:41 freenas notifier: 33966080 bytes transferred in 1.302345 secs (26080708 bytes/sec)
Feb 23 20:22:57 freenas notifier: Installing for i386-pc platform.
Feb 23 20:23:16 freenas notifier: /usr/local/sbin/grub-install: error: failed to get canonical path of `/dev/replacing-0'.
adam@freenas:~ % sudo grub-install --modules='zfs part_gpt' /dev/da2
Password:
Installing for i386-pc platform.
Installation finished. No error reported.
adam@freenas:~ %
Password:
Installing for i386-pc platform.
Installation finished. No error reported.
adam@freenas:~ %
adam@freenas:~ % zpool status
pool: freenas-boot
state: ONLINE
scan: resilvered 544M in 0h1m with 0 errors on Tue Feb 23 20:24:08 2016
config:
NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
da1p2 ONLINE 0 0 0
errors: No known data errors
pool: freenasz2
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
freenasz2 ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/1c157709-ccfb-11e5-a222-00259056ae2b ONLINE 0 0 0
gptid/1ca67e85-ccfb-11e5-a222-00259056ae2b ONLINE 0 0 0
gptid/1d68594d-ccfb-11e5-a222-00259056ae2b ONLINE 0 0 0
gptid/1e6240c9-ccfb-11e5-a222-00259056ae2b ONLINE 0 0 0
errors: No known data errors
adam@freenas:~ % zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
freenas-boot 28.6G 551M 28.1G - - 1% 1.00x ONLINE -
freenasz2 7.25T 3.29T 3.96T - 22% 45% 1.00x ONLINE /mnt
pool: freenas-boot
state: ONLINE
scan: resilvered 544M in 0h1m with 0 errors on Tue Feb 23 20:24:08 2016
config:
NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
da1p2 ONLINE 0 0 0
errors: No known data errors
pool: freenasz2
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
freenasz2 ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/1c157709-ccfb-11e5-a222-00259056ae2b ONLINE 0 0 0
gptid/1ca67e85-ccfb-11e5-a222-00259056ae2b ONLINE 0 0 0
gptid/1d68594d-ccfb-11e5-a222-00259056ae2b ONLINE 0 0 0
gptid/1e6240c9-ccfb-11e5-a222-00259056ae2b ONLINE 0 0 0
errors: No known data errors
adam@freenas:~ % zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
freenas-boot 28.6G 551M 28.1G - - 1% 1.00x ONLINE -
freenasz2 7.25T 3.29T 3.96T - 22% 45% 1.00x ONLINE /mnt