Date: Thu, 6 Apr 2023 21:01:57 +0100 From: Mike Clarke <jmc-freebsd2@milibyte.co.uk> To: questions@freebsd.org Subject: Problems creating a zpool Message-ID: <7e74cac6-7724-65bb-e3ef-20b73a825a99@milibyte.co.uk>
next in thread | raw e-mail | index | archive | help
I'm trying to restore my 13.1 system from an external drive. So far I've booted into a livefs from a 13.1 bootable memory stick and am attempting to create a new zpool with the command: root@:~ # zpool create -m none -O compress=on atime=off wdssd gpt/wdsys2 but I get this error message: "cannot open 'wdssd': no such device in /dev must be a full path or shorthand device name" I've also tried /dev/gpt/wdsys2 and /dev/ada1p3 but with the same error. The device appears to have been created OK: root@:~ # gpart show -l ada1 => 40 1953525088 ada1 GPT (932G) 40 1024 1 wdboot2 (512K) 1064 3032 2 wdefi2 (1.5M) 4096 1953521032 3 wdsys2 (932G) root@:~ # gpart show ada1 => 40 1953525088 ada1 GPT (932G) 40 1024 1 freebsd-boot (512K) 1064 3032 2 efi (1.5M) 4096 1953521032 3 freebsd-zfs (932G) root@:~ # ls -l /dev/gpt/wdsys2 crw-r----- 1 root operator 0xcd Apr 6 18:37 /dev/gpt/wdsys2 root@:~ # ls -l /dev/ada1p3 crw-r----- 1 root operator 0x9d Apr 6 18:37 /dev/ada1p3 But I'm unable to use it to create a pool named wdssd, what am I missing?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7e74cac6-7724-65bb-e3ef-20b73a825a99>