echo 1 >> /sys/module/zfs/parameters/zfs_max_missing_tvds says premission error, unable to reapair lost zfs pool data
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zfs-linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
root@jonipekka-
-bash: /sys/module/
root@jonipekka-
https:/
Import with missing top level vdevs
The changes to the pool configuration logic have enabled another great improvement: the ability to import a pool with missing or faulted top-level vdevs. Since some data will almost certainly be missing, a pool with missing top-level vdevs can only be imported read-only, and the failmode is set to “continue” (failmode=continue means that when encountering errors the pool will continue running, as opposed to being suspended or panicking).
To enable this feature, we’ve added a new global variable: zfs_max_
Here as an example we create a pool with two vdevs and write some data to a first dataset; we then add a third vdev and write some data to a second dataset. Finally we physically remove the new vdev (simulating, for instance, a device failure) and try to import the pool using the new feature.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: zfsutils-linux 0.7.5-1ubuntu16.10
ProcVersionSign
Uname: Linux 4.15.0-126-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7.20
Architecture: amd64
Date: Wed Dec 2 18:39:58 2020
InstallationDate: Installed on 2020-12-02 (0 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
SourcePackage: zfs-linux
UpgradeStatus: No upgrade log present (probably fresh install)
Is there anyone who could help me over go this bug so I can rescue my ZFS pool data,
pool will be lost as I understand. I accidentaly added disk to pool and not as mirror
what was intention,... and it can nor be removed even there is no data!