Brandon High
2010-May-05 23:48 UTC
[zfs-discuss] Different devices with the same name in zpool status
I know for certain that my rpool and tank pool are not both using c6t0d0 and c6t1d0, but that''s what zpool status is showing. It appears to be an output bug, or a problem with the zpool.cache, since format shows my rpool devices at c8t0d0 and c8t1d0. What''s the right way to fix this? Do nothing? boot -r? Remove /etc/zfs/zpool.cache? Edit or remove /etc/path_to_inst and let boot-r fix it? -B bhigh at basestar:~$ zpool status pool: rpool state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c6t0d0s0 ONLINE 0 0 0 c6t1d0s0 ONLINE 0 0 0 errors: No known data errors pool: tank state: ONLINE scrub: scrub completed after 6h35m with 0 errors on Tue May 4 16:29:46 2010 config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 c6t0d0 ONLINE 0 0 0 c6t1d0 ONLINE 0 0 0 c6t2d0 ONLINE 0 0 0 c6t3d0 ONLINE 0 0 0 c6t4d0 ONLINE 0 0 0 c6t5d0 ONLINE 0 0 0 c6t6d0 ONLINE 0 0 0 c6t7d0 ONLINE 0 0 0 logs c7t0d0s0 ONLINE 0 0 0 cache c7t0d0s1 ONLINE 0 0 0 bhigh at basestar:~$ pfexec format -e < /dev/null Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c6t0d0 <ATA-WDC WD10EADS-00L-1A01-931.51GB> /pci at 0,0/pci10de,376 at a/pci8086,32c at 0/pci11ab,11ab at 4/disk at 0,0 1. c6t1d0 <ATA-WDC WD10EADS-00L-1A01-931.51GB> /pci at 0,0/pci10de,376 at a/pci8086,32c at 0/pci11ab,11ab at 4/disk at 1,0 2. c6t2d0 <ATA-WDC WD10EADS-00L-1A01-931.51GB> /pci at 0,0/pci10de,376 at a/pci8086,32c at 0/pci11ab,11ab at 4/disk at 2,0 3. c6t3d0 <ATA-WDC WD10EADS-00L-1A01-931.51GB> /pci at 0,0/pci10de,376 at a/pci8086,32c at 0/pci11ab,11ab at 4/disk at 3,0 4. c6t4d0 <ATA-WDC WD10EADS-00L-1A01-931.51GB> /pci at 0,0/pci10de,376 at a/pci8086,32c at 0/pci11ab,11ab at 4/disk at 4,0 5. c6t5d0 <ATA-WDC WD10EADS-00L-1A01-931.51GB> /pci at 0,0/pci10de,376 at a/pci8086,32c at 0/pci11ab,11ab at 4/disk at 5,0 6. c6t6d0 <ATA-WDC WD10EADS-00L-1A01-931.51GB> /pci at 0,0/pci10de,376 at a/pci8086,32c at 0/pci11ab,11ab at 4/disk at 6,0 7. c6t7d0 <ATA-WDC WD10EADS-00L-1A01-931.51GB> /pci at 0,0/pci10de,376 at a/pci8086,32c at 0/pci11ab,11ab at 4/disk at 7,0 8. c7t0d0 <DEFAULT cyl 3889 alt 2 hd 255 sec 63> /pci at 0,0/pci1043,8239 at 5,2/disk at 0,0 9. c8t0d0 <ATA-WDCWD1200BEVT-0-1A01 cyl 14590 alt 2 hd 255 sec 63> /pci at 0,0/pci1043,8239 at 5,1/disk at 0,0 10. c8t1d0 <ATA-WDCWD1200BEVT-0-1A01 cyl 14590 alt 2 hd 255 sec 63> /pci at 0,0/pci1043,8239 at 5,1/disk at 1,0 -- Brandon High : bhigh at freaks.com
Ian Collins
2010-May-06 00:00 UTC
[zfs-discuss] Different devices with the same name in zpool status
On 05/ 6/10 11:48 AM, Brandon High wrote:> I know for certain that my rpool and tank pool are not both using > c6t0d0 and c6t1d0, but that''s what zpool status is showing. > > It appears to be an output bug, or a problem with the zpool.cache, > since format shows my rpool devices at c8t0d0 and c8t1d0. > >Have you hot swapped any drives? I had a similar oddity after swapping drives and running cfgadm.> What''s the right way to fix this? Do nothing? boot -r? Remove > /etc/zfs/zpool.cache? Edit or remove /etc/path_to_inst and let boot-r > fix it? > >After the system rebooted, the drives all matched up. -- Ian.
Brandon High
2010-May-06 00:18 UTC
[zfs-discuss] Different devices with the same name in zpool status
On Wed, May 5, 2010 at 5:00 PM, Ian Collins <ian at ianshome.com> wrote:> Have you hot swapped any drives? ?I had a similar oddity after swapping > drives and running cfgadm.No hot-swapping. I''d imported & exported both pools from a LiveCD environment, but I''d also rebooted at least twice since then. -B -- Brandon High : bhigh at freaks.com