все, всем спасибо, решено, только вот правильно ли
Код: Выделить всё
# zpool export storage
# gpart show
------------ Фрешка
=> 63 3907029105 ada0 MBR (1.8T)
63 3907029105 - free - (1.8T)
=> 63 1953525105 ada1 MBR (931G)
63 1985 - free - (992k)
2048 716800 1 ntfs [active] (350M)
718848 1952802816 2 ntfs (931G)
1953521664 3504 - free - (1.7M)
# zpool import storage
не понятные разделы, надо бы убить их
Код: Выделить всё
# zpool offline storage ada1
# zpool status
pool: storage
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using 'zpool online' or replace the device with
'zpool replace'.
scan: resilvered 13.5K in 0h0m with 0 errors on Wed Apr 3 18:33:03 2013
config:
NAME STATE READ WRITE CKSUM
storage DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
ada0 ONLINE 0 0 0
6025137261421065385 OFFLINE 0 0 0 was /dev/ada1
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
ada4 ONLINE 0 0 0
ada5 ONLINE 0 0 0
ada6 ONLINE 0 0 0
ada7 ONLINE 0 0 0
# zpool export storage
# gpart delete -i 1 ada1
ada1s1 deleted
# gpart delete -i 2 ada1
ada1s2 deleted
# gpart show
------------ Фрешка
=> 63 1953525105 ada1 MBR (931G)
63 1953525105 - free - (931G)
=> 63 3907029105 ada0 MBR (1.8T)
63 3907029105 - free - (1.8T)
# zpool import storage
и вот тут самый облом - самое главное не забыть обратно включить ada1 )))
Код: Выделить всё
# zpool status
pool: storage
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using 'zpool online' or replace the device with
'zpool replace'.
scan: resilvered 13.5K in 0h0m with 0 errors on Wed Apr 3 18:33:03 2013
config:
NAME STATE READ WRITE CKSUM
storage DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
ada0 ONLINE 0 0 0
6025137261421065385 OFFLINE 0 0 0 was /dev/ada1
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
ada4 ONLINE 0 0 0
ada5 ONLINE 0 0 0
ada6 ONLINE 0 0 0
ada7 ONLINE 0 0 0
# zpool online storage ada1
# zpool status
pool: storage
state: ONLINE
scan: resilvered 13.5K in 0h0m with 0 errors on Wed Apr 3 18:33:03 2013
config:
NAME STATE READ WRITE CKSUM
storage ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
ada0 ONLINE 0 0 0
ada1 ONLINE 0 0 0
ada2 ONLINE 0 0 0
ada3 ONLINE 0 0 0
ada4 ONLINE 0 0 0
ada5 ONLINE 0 0 0
ada6 ONLINE 0 0 0
ada7 ONLINE 0 0 0
errors: No known data errors
# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
storage 7.25T 1.82T 5.43T 25% 1.00x ONLINE -
f_andrey, спасибо за мысль )
Mikl писал(а):т.е. ты считаешь, что он должен стать в два раза толще? типа теперь диски по террабайту? )
Ну да ты знаешь, пожирнее стал )