GNU/Linux >> Belajar Linux >  >> Cent OS

Cara menghapus perangkat multipath setelah membuka pemetaan LUN penyimpanan dari server

Pertanyaan :Bagaimana cara menghapus Perangkat Multipath setelah Membuka Pemetaan LUN dari Server?

Misalnya "mpath4" pada output di bawah ini tidak digunakan dan perlu dihapus.

# multipath -ll
sda: checker msg is "tur checker reports path is down"
sdd: checker msg is "tur checker reports path is down"
1_oracle_index ( Unique WWID ) dm-10 HP,MSA2012fc
[size=1.4T][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 0:0:1:13 sdc        8:32  [active][ready]
\_ 1:0:1:13 sdf        8:80  [active][ready]
1_oracle_data ( Unique WWID ) dm-9 HP,MSA2012fc
[size=1.4T][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 0:0:1:12 sdb        8:16  [active][ready]
\_ 1:0:1:12 sde        8:64  [active][ready]
mpath4 ( Unique WWID ) dm-8 HP,MSA2012fc
[size=1.0G][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=0][enabled]
\_ 0:0:1:10 sda        8:0   [failed][faulty]
\_ 1:0:1:10 sdd        8:48  [failed][faulty]

Ikuti langkah-langkah yang diuraikan di bawah ini untuk menghapus perangkat yang gagal/rusak dari multipath.

1. Siram perangkat multipath “mpath4” atau wwid jika berbeda dengan alias. dalam contoh ini alias adalah "mpath4". Gunakan “-f ” untuk menghapus peta multipath.

# multipath -f mpath4

2. Jalankan kembali perintah multipath untuk mengonfirmasi.

# multipath -ll
sda: checker msg is "tur checker reports path is down"
sdd: checker msg is "tur checker reports path is down"
1_oracle_index ( Unique WWID ) dm-10 HP,MSA2012fc
[size=1.4T][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 0:0:1:13 sdc        8:32  [active][ready]
\_ 1:0:1:13 sdf        8:80  [active][ready]
1_oracle_data ( Unique WWID ) dm-9 HP,MSA2012fc
[size=1.4T][features=1 queue_if_no_path][hwhandler=0][rw]
\_ round-robin 0 [prio=0][active]
\_ 0:0:1:12 sdb        8:16  [active][ready]
\_ 1:0:1:12 sde        8:64  [active][ready]

Seperti yang terlihat dari output di atas, perangkat multipath mpath4 sekarang dihapus dari server.


Cent OS
  1. Bagaimana Cara Menghapus Bom Dari File Utf-8?

  2. Bagaimana Cara Menghapus Entri Program Wine Dari Menu?

  3. Bagaimana Cara Menghapus Program yang Tidak Diinstal Dari Menu Dash Unity?

  1. Cara Menghapus Perangkat Mulitpath Mati tanpa Reboot di CentOS/RHEL

  2. Bagaimana cara menghapus file dari tempat sampah di Ubuntu?

  3. Bagaimana cara menghapus perangkat cache dari bcache?

  1. Bagaimana Mengunci Layar Setelah Melanjutkan Dari Hibernasi?

  2. Cara me-reboot server melalui CWP

  3. Cara Menghapus Kata Sandi Dari Kunci SSL Anda