Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

224
Views
¿Cómo reemplazo un dispositivo en un grupo zfs que está conectado y desconectado simultáneamente?

Tengo un grupo zfs reflejado que tiene un dispositivo que necesita ser reemplazado. He desconectado el dispositivo anterior:

 $ sudo zpool status pool: tank 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: scrub repaired 0 in 7h20m with 0 errors on Mon Feb 15 23:41:23 2016 config: NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 mirror-0 DEGRADED 0 0 0 16381379971886761370 OFFLINE 0 0 0 was /dev/disk/by-id/scsi-35000cca250cedea5 ST4000DM000-1F2168_Z303WH86-part1 ONLINE 0 0 0

Intento reemplazar el dispositivo sin conexión:

 $ sudo zpool replace tank 16381379971886761370 /dev/mapper/HGST_HDN724040ALE640_PK1334PEH1R1JS invalid vdev specification use '-f' to override the following errors: /dev/mapper/HGST_HDN724040ALE640_PK1334PEH1R1JS is part of active pool 'tank'

Lo que sugiere que ya es parte de un grupo, pero cuando trato de separarlo del grupo:

 $ sudo zpool detach tank /dev/mapper/HGST_HDN724040ALE640_PK1334PEH1R1JS cannot detach /dev/mapper/HGST_HDN724040ALE640_PK1334PEH1R1JS: no such device in pool

Parece que en realidad no es parte de la piscina. Parece que el dispositivo es parte del grupo y/no/parte del grupo al mismo tiempo. ¿Alguna idea de cómo podría agregar el dispositivo al grupo de 'tanques'?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!