dwoodard3950
Dabbler
- Joined
- Dec 16, 2012
- Messages
- 18
I have a 4 drive system with the following zpool status;
I replaced da1 what is listed here using zpool replace and used /dev/da1 as the designation rather than gptid. I did this as I was unable to find the gptid listed in glabel status as shown below;
And
However, camcontrol shows the device is present.
Why does da1 not show up in glabel or gpart? How do I get it to restore so I can then replace this position with the gptid? I expected this drive to be formatted and partitioned properly when I inserted the drive and rebooted.
My version is Truenas
Code:
[root@modica] ~# zpool status -v pool: vol1 state: ONLINE scan: resilvered 1014G in 14h30m with 0 errors on Sun Sep 22 01:56:55 2013 config: NAME STATE READ WRITE CKSUM vol1 ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 gptid/ec903797-9eeb-11e2-ad51-0025900b7d99 ONLINE 0 0 0 da1 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 gptid/77143cf1-fbde-11e2-a2e9-0025900b7d99 ONLINE 0 0 0 gptid/faffa65c-9e55-11e2-aed3-0025900b7d99 ONLINE 0 0 0 errors: No known data errors
I replaced da1 what is listed here using zpool replace and used /dev/da1 as the designation rather than gptid. I did this as I was unable to find the gptid listed in glabel status as shown below;
Code:
[root@modica] ~# glabel status Name Status Components gptid/ec903797-9eeb-11e2-ad51-0025900b7d99 N/A da0p2 gptid/77143cf1-fbde-11e2-a2e9-0025900b7d99 N/A da2p2 gptid/faffa65c-9e55-11e2-aed3-0025900b7d99 N/A da3p2 ufs/TrueNASs3 N/A da4s3 ufs/TrueNASs4 N/A da4s4 ufsid/4e9c56ddb45aed19 N/A da4s1a ufs/TrueNASs1a N/A da4s1a ufs/TrueNASs2a N/A da4s2a
And
Code:
[root@modica] ~# gpart show => 34 4294967228 da0 GPT (2.0T) 34 94 - free - (47K) 128 4194304 1 freebsd-swap (2.0G) 4194432 4290772830 2 freebsd-zfs (2.0T) => 34 4294967228 da2 GPT (2.0T) 34 94 - free - (47K) 128 4194304 1 freebsd-swap (2.0G) 4194432 4290772830 2 freebsd-zfs (2.0T) => 34 4294967228 da3 GPT (2.0T) 34 94 - free - (47K) 128 4194304 1 freebsd-swap (2.0G) 4194432 4290772830 2 freebsd-zfs (2.0T) => 63 15564717 da4 MBR (7.4G) 63 1930257 1 freebsd (943M) 1930320 63 - free - (32K) 1930383 1930257 2 freebsd [active] (943M) 3860640 3024 3 freebsd (1.5M) 3863664 41328 4 freebsd (20M) 3904992 11659788 - free - (5.6G) => 0 1930257 da4s1 BSD (943M) 0 16 - free - (8.0K) 16 1930241 1 !0 (943M) => 0 1930257 da4s2 BSD (943M) 0 16 - free - (8.0K) 16 1930241 1 !0 (943M)
However, camcontrol shows the device is present.
Code:
[root@modica] ~# camcontrol devlist <ATA WDC WD30EFRX-68A 0A80> at scbus0 target 0 lun 0 (da0,pass0) <ATA WDC WD30EFRX-68A 0A80> at scbus0 target 1 lun 0 (da1,pass1) <ATA WDC WD30EFRX-68A 0A80> at scbus0 target 2 lun 0 (da2,pass2) <ATA WDC WD30EFRX-68A 0A80> at scbus0 target 3 lun 0 (da3,pass3) <HL-DT-ST DVDRAM GT40N 1.00> at scbus1 target 0 lun 0 (cd0,pass4) <Generic STORAGE DEVICE 9407> at scbus7 target 0 lun 0 (da4,pass5)
Why does da1 not show up in glabel or gpart? How do I get it to restore so I can then replace this position with the gptid? I expected this drive to be formatted and partitioned properly when I inserted the drive and rebooted.
My version is Truenas
Code:
[root@modica] ~# cat /etc/version.truenas TrueNAS-8.0.4-RELEASE-x64 (6198)