ok, now is status online - little googling, and fuond this. i use console with:
"zpool replace disk1 da2 /dev/da4" caused the raid to be rebuilt.
"zpool detach disk1 xyz" removed the defunct entry from the array
"zpool scrub data" validated the changes.
it works, in web gui status is online but when i open "view disk"
i can still see nonexist disk that i replaced. Now again search with google, and solution is to edit database with sqlite. But i dont know "data/freenas-v1.db" database structure(tables,... - in console sqlite3 i try .tables and .schema, but nothing show)... any help???? thx, marian
edit: i connect to freenas with putty ssh and there is view output sqlite3....strange
SQL database output
Select * From storage_disk;
Disabled|Always On|{uuid}92195f3d-a556-11e0-8c52-000c29eb36d8|1|Disabled|Auto|Member of disk1 raidz|1||1|da1
Disabled|Always On|{uuid}92ac44d7-a556-11e0-8c52-000c29eb36d8|1|Disabled|Auto|Member of disk1 raidz|1||2|da2
Disabled|Always On|{uuid}934080fd-a556-11e0-8c52-000c29eb36d8|1|Disabled|Auto|Member of disk1 raidz|1||3|da3
Disabled|Always On|{uuid}a8dd3d7c-a559-11e0-abab-000c29eb36d8|1|Disabled|Auto|Member of disk1 spare|2||4|da3
sqlite>
and zpool status here
freenas# zpool status
pool: disk1
state: ONLINE
scrub: scrub completed after 0h0m with 0 errors on Sun Jul 3 12:48:21 2011
config:
NAME STATE READ WRITE CKSUM
disk1 ONLINE 0 0 0
raidz1 ONLINE 0 0 0
da1p2 ONLINE 0 0 0
da4p2 ONLINE 0 0 0
da2p2 ONLINE 0 0 0
spares
da3p2 AVAIL
errors: No known data errors
now what nex...???? can i fixit? how? how can i view proper uuid for disks?
