Greetings gang,
My HDD setup:
I recently installed a Linux distro in the Raptor. After the install, much to my surprise, I noticed that Linux had written data on my first zpool drive during the install destroying the data on that device.
The HDD works fine so I just want the other two drives to rebuild the degraded drive.
I spent some time on Oracle ZFS web page manuals but none have my exact problem.
I'm thinking 'zpool replace' but not to sure if or how to implement it.
There is too much to lose and I'm scared of going solo on this one.
Years of collecting music and pron could go down the drain.
My HDD setup:
- 1x SSD (FreeBSD drive)
- 1x WD Raptor (Windows/Linux dual-boot)
- 3x 1GB drives in a zpool configuration
I recently installed a Linux distro in the Raptor. After the install, much to my surprise, I noticed that Linux had written data on my first zpool drive during the install destroying the data on that device.
The HDD works fine so I just want the other two drives to rebuild the degraded drive.
I spent some time on Oracle ZFS web page manuals but none have my exact problem.
I'm thinking 'zpool replace' but not to sure if or how to implement it.
There is too much to lose and I'm scared of going solo on this one.
Years of collecting music and pron could go down the drain.
Code:
port79@bsd# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
rex 2.72T 907G 1.83T 32% 1.00x DEGRADED -
port79@bsd# zpool status -v rex
pool: rex
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: http://www.sun.com/msg/ZFS-8000-8A
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rex DEGRADED 0 0 4
raidz1-0 DEGRADED 0 0 16
7023999755423468813 UNAVAIL 0 0 0 was /dev/ada0
ada1 ONLINE 0 0 0
ada2 ONLINE 0 0 0