It is on the same SSD as the log device. If I re-create the pool it works fine but after a reboot, the cache does not want to be imported.
I imported using -d /var/run/disks/by-id and the cache still shows up as disk3s2.
Why is everything found when I do "zpool import" but then not found when I do "zpool import temp" ??
How can I remove the cache if the device cannot be found? The actual device disk3s2 exists but is used by another pool. The device with log and cache for temp is disk5
My other pools works fine, incl their logs and caches
- Code: Select all
[ihecc:~] root# zpool import
pool: temp
id: 15099724342881457631
state: ONLINE
status: One or more devices contains corrupted data.
action: The pool can be imported using its name or numeric identifier.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
config:
temp ONLINE
media-8F323135-8C45-ED44-AB55-2FCC37B8CDC0 ONLINE
media-BF1F9951-D59C-AE43-9705-133ED231D331 ONLINE
cache
media-9F1B1BAE-A4ED-4680-8ABD-44616CCEBC98
logs
media-96E1AD47-C723-4AFE-A437-A30A49A29A79 ONLINE
[ihecc:~] root# zpool import -d /var/run/disk/by-id temp
[ihecc:~] root# zpool status temp
pool: temp
state: ONLINE
status: One or more devices could not be used because the label is missing or
invalid. Sufficient replicas exist for the pool to continue
functioning in a degraded state.
action: Replace the device using 'zpool replace'.
see: http://zfsonlinux.org/msg/ZFS-8000-4J
scan: none requested
config:
NAME STATE READ WRITE CKSUM
temp ONLINE 0 0 0
media-8F323135-8C45-ED44-AB55-2FCC37B8CDC0 ONLINE 0 0 0
media-BF1F9951-D59C-AE43-9705-133ED231D331 ONLINE 0 0 0
logs
media-96E1AD47-C723-4AFE-A437-A30A49A29A79 ONLINE 0 0 0
cache
disk3s2 FAULTED 0 0 0 corrupted data
errors: No known data errors
[ihecc:~] root# zpool remove temp disk3s2
cannot remove disk3s2: no such device in pool
[ihecc:~] root# zpool replace -f disk3s2 disk5s2
cannot open 'disk3s2': no such pool