Hi Guys,
i have try to create a pool on cli because i want to follow this thread:
Migration path from 1 drive to 3 drives in Raidz1 (using only 2 new drives to the existing 1)
I’m not allowed to post the Link, sorry.
I can’t post the link, sorry.
For test, I try it with only one disk, because this is my test drive with no data.
My problem is, the system say the mountpoint is read-only and i don’t know what i make wrong.
Can anyone help me?
What i have do:
1. lsblk -o NAME,SIZE,MODEL
2. sudo parted /dev/sda mklabel gpt
3. sudo parted /dev/sda mkpart primary 1MiB 100%
4. lsblk -bo NAME,MODEL,ROTA,PTTYPE,TYPE,START,SIZE,PARTTYPENAME,PARTUUID
5. sudo sudo zpool create mypool /dev/disk/by-partuuid/639b9cb0-219a-4b20-90f8-4c7be83e3507
That is the error:
truenas_admin@nas[~]$ lsblk -bo NAME,MODEL,ROTA,PTTYPE,TYPE,START,SIZE,PARTTYPENAME,PARTUUID
NAME MODEL ROTA PTTYPE TYPE START SIZE PARTTYPENAME PARTUUID
loop1 0 loop 419213312
sda ST16000NM001G-2KK103 1 gpt disk 16000900661248
└─sda1 1 gpt part 2048 16000898564096 Linux filesystem 639b9cb0-219a-4b20-90f8-4c7be83e3507
…
nvme0n1 GIGABYTE GP-GSM2NE3256GNTD 0 gpt disk 256060514304
├─nvme0n1p1 0 gpt part 4096 1048576 BIOS boot 5df2c6e8-617e-49f2-819c-730357e0c3cd
├─nvme0n1p2 0 gpt part 6144 536870912 EFI System aea33050-9882-484a-9f6d-31baa201fcbe
└─nvme0n1p3 0 gpt part 1054720 255520480768 Solaris /usr & Apple ZFS 28b87c09-ab65-4501-958d-0ec6b88a3375
truenas_admin@nas[~]$ sudo zpool create mypool /dev/disk/by-partuuid/639b9cb0-219a-4b20-90f8-4c7be83e3507cannot mount ‘/mypool’: failed to create mountpoint: Read-only file system