can only attach to mirrors and top-level disks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello
There is something wrong somewhere.
zfs version
zfs-2.2.2-0ubuntu9
zfs-kmod-
dpkg -l | grep zfs
ii libzfs4linux zfs-zed 2.2.2-0ubuntu9 amd64 OpenZFS filesystem library for Linux - general support
ii zfs-initramfs 2.2.2-0ubuntu9 amd64 OpenZFS root filesystem capabilities for Linux - initramfs
ii 2.2.2-0ubuntu9 amd64 OpenZFS Event Daemon
ii zfsutils-linux 2.2.2-0ubuntu9 amd64 command-line tools to manage OpenZFS filesystems
zpool status MesDonneesPerso
pool: MesDonneesPerso
state: ONLINE
config:
NAME STATE READ WRITE CKSUM
MesDonneesPers
raidz1-0 ONLINE 0 0 0
sda18 ONLINE 0 0 0
sdc11 ONLINE 0 0 0
errors: No known data errors
df -htzfs | grep -E "Taille|Mes"
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
MesDonneesPerso
MesDonneesPerso
MesDonneesPerso
So it's time to add disk space It looks like my order is correct.
time sudo zpool attach -f MesDonneesPerso
cannot attach /dev/sdc12 to raidz1-0: can only attach to mirrors and top-level disks
real 0m6,073s
So palliative was
sudo zpool add -f MesDonneesPerso nnelles raidz /dev/sdc12 /dev/sdc13 nnelles nnelles
zpool status MesDonneesPerso
pool: MesDonneesPerso
state: ONLINE
config:
NAME STATE READ WRITE CKSUM onnelles ONLINE 0 0 0
MesDonneesPers
raidz1-0 ONLINE 0 0 0
sda18 ONLINE 0 0 0
sdc11 ONLINE 0 0 0
raidz1-1 ONLINE 0 0 0
sdc12 ONLINE 0 0 0
sdc13 ONLINE 0 0 0
errors: No known data errors
df -htzfs | grep -E "Taille|Mes" nnelles 79G 31G 48G 40% /media/ZFS nnelles/ sports 11G 11G 587M 95% /media/ZFS/sports nnelles/ sports/ Foot 4,6G 4,1G 587M 88% /media/ ZFS/sports/ Foot
Sys. de fichiers Taille Utilisé Dispo Uti% Monté sur
MesDonneesPerso
MesDonneesPerso
MesDonneesPerso