On Wed, 1 Mar 2017 00:55:30 +0100
Michael Rasmussen <m...@miras.org> wrote:

> To quick. First disk can never be used since removing DVD/CD will only
> make IPXE shadow first disk and IPXE by default cannot be moved.
> 
I have digged deeper into this problem and have discovered that it is
actually a very critical problem since the low-level disk tools
recognizes the disk but the kernel has mapped the disk to another disk
so that two different /dev/dsk points to the same physical disk.

AVAILABLE DISK SELECTIONS:
       0. c2t0d0 <Virtio-Block Device-0000 cyl 4096 alt 0 hd 128 sec 32>
          /pci@0,0/pci1af4,2@a/blkdev@0,0
       1. c3t0d0 <Virtio-Block Device-0000-8.00GB>
          /pci@0,0/pci1af4,2@b/blkdev@0,0
       2. c5t0d0 <Virtio-Block Device-0000-8.00GB>
          /pci@0,0/pci1af4,2@c/blkdev@0,0

Specify disk (enter its number): 0
selecting c2t0d0
No defect list found
[disk formatted, no defect list found]
/dev/dsk/c5t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
No Solaris fdisk partition found.

 zpool status
  pool: rpool
 state: ONLINE
  scan: resilvered 2.00M in 0h0m with 0 errors on Wed Mar  1 15:49:20 2017
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            c3t0d0  ONLINE       0     0     0
            c5t0d0  ONLINE       0     0     0

zpool attach rpool c5t0d0 c2t0d0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c5t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
root@unknown:~# zpool attach rpool c3t0d0 c2t0d0
invalid vdev specification
use '-f' to override the following errors:
/dev/dsk/c5t0d0s0 is part of active ZFS pool rpool. Please see zpool(1M).

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Flying is the second greatest feeling you can have.  The greatest
feeling? Landing...  Landing is the greatest feeling you can have.

Attachment: pgpZBh93He_Cy.pgp
Description: OpenPGP digital signature

_______________________________________________
OmniOS-discuss mailing list
OmniOS-discuss@lists.omniti.com
http://lists.omniti.com/mailman/listinfo/omnios-discuss

Reply via email to