"zpool attach" problem
Scott Bennett
bennett at sdf.org
Fri Nov 20 06:59:41 UTC 2020
I had a pool with two two-way mirrors as the top-level vdevs. I needed
to shift some of those partitions by a short distance on the drives, so I
detached and deleted and rebuilt them one at a time until I hit a snag. Here
is the situation.
Script started on Fri Nov 20 00:40:36 2020
hellas# gpart show -l ada2 da0 da1 da2
=> 40 5860533088 ada2 GPT (2.7T)
40 4294967296 1 WD-WMC130F2V1RN (2.0T)
4294967336 31457496 - free - (15G)
4326424832 125829120 11 zmisc mirror-0 1 (60G)
4452253952 209715200 15 bw2-0 (100G)
4661969152 1198563976 - free - (572G)
=> 34 3907029101 da0 GPT (1.8T)
34 14 - free - (7.0K)
48 3749709824 1 WD WCC4MH1P7LYS (1.7T)
3749709872 73400320 5 bw1-0 (35G)
3823110192 2000 - free - (1.0M)
3823112192 83886080 8 zmisc mirror-1 1 (40G)
3906998272 30863 - free - (15M)
=> 34 3907029100 da1 GPT (1.8T)
34 14 - free - (7.0K)
48 3749709824 1 Seagate NA5KYLVM (1.7T)
3749709872 16 - free - (8.0K)
3749709888 73400320 5 bw1-1 (35G)
3823110208 1984 - free - (992K)
3823112192 83886080 8 zmisc mirror-1 0 (40G)
3906998272 30862 - free - (15M)
=> 40 3907029088 da2 GPT (1.8T)
40 8 - free - (4.0K)
48 3749709824 1 WD-WCC6N7KD2YAK (1.7T)
3749709872 16 - free - (8.0K)
3749709888 31457280 5 bw0-0 (15G)
3781167168 1984 - free - (992K)
3781169152 125829120 8 zmisc mirror-0 0 (60G)
3906998272 30856 - free - (15M)
hellas# zpool status zmisc
pool: zmisc
state: ONLINE
scan: resilvered 25.8G in 0 days 00:16:07 with 0 errors on Fri Nov 20 00:10:19 2020
config:
NAME STATE READ WRITE CKSUM
zmisc ONLINE 0 0 0
ada2p11 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
da0p8 ONLINE 0 0 0
da1p8 ONLINE 0 0 0
errors: No known data errors
hellas# zpool attach zmisc ada2p11 da2p8
cannot attach da2p8 to ada2p11: no such pool or dataset
hellas# exit
exit
Script done on Fri Nov 20 00:42:33 2020
Would somebody please tell me what I am doing wrong here? Many thanks in
advance to whoever can help.
Scott Bennett, Comm. ASMELG, CFIAG
**********************************************************************
* Internet: bennett at sdf.org *xor* bennett at freeshell.org *
*--------------------------------------------------------------------*
* "A well regulated and disciplined militia, is at all times a good *
* objection to the introduction of that bane of all free governments *
* -- a standing army." *
* -- Gov. John Hancock, New York Journal, 28 January 1790 *
**********************************************************************
More information about the freebsd-questions
mailing list