I think I have a syntax error in my command I just can't see it.
I can't see where I went wrong. I don't understand why
Thanks for any help.
Code:
anders@aasennas:/dev % zpool list -v fastzfs
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
fastzfs 19.8T 17.0T 2.79T 3.65T 30% 85% 1.21x ONLINE -
mirror 3.59T 3.08T 531G 3.65T 28% 85%
gpt/nyzfsdisk1 - - - - - -
gpt/nyzfsdisk2 - - - - - -
mirror 3.59T 3.06T 550G - 29% 85%
gpt/zfsdisk8 - - - - - -
gpt/zfsdisk9 - - - - - -
mirror 3.59T 3.06T 551G - 29% 85%
gpt/zfsdisk10 - - - - - -
gpt/zfsdisk11 - - - - - -
mirror 3.59T 3.00T 605G - 28% 83%
gpt/zfsdisk12 - - - - - -
gpt/zfsdisk13 - - - - - -
mirror 1.80T 1.60T 205G - 34% 88%
gpt/zfsdisk14 - - - - - -
gpt/zfsdisk15 - - - - - -
mirror 1.80T 1.59T 210G - 35% 88%
gpt/zfsdisk16 - - - - - -
gpt/zfsdisk17 - - - - - -
mirror 1.80T 1.60T 206G - 33% 88%
gpt/zfsdisk18 - - - - - -
gpt/zfsdisk6 - - - - - -
anders@aasennas:/dev % sudo zpool attach fastzfs gpt/nyzfsdisk1 zvol/bigyoda/iscsi/nyzfsdisk1copy
cannot attach zvol/bigyoda/iscsi/nyzfsdisk1copy to gpt/nyzfsdisk1: no such pool or dataset
anders@aasennas:/dev % ls gpt/nyzfsdisk1 && ls zvol/bigyoda/iscsi/nyzfsdisk1copy
gpt/nyzfsdisk1
zvol/bigyoda/iscsi/nyzfsdisk1copy
anders@aasennas:/dev %
I can't see where I went wrong. I don't understand why
zpool
think gpt/nyzfsdisk1 is the pool name.Thanks for any help.