Translated message

A translation of this page exists in English.

Red Hat Enterprise Linux でスワップパーティションを安全に削除する方法

Solution Verified - Updated -

Issue

  • アクティブなスワップディスクを停止して、負荷を他のスワップディスクに移動できるようにする方法はありますか?

  • サーバーが古い SAN アレイから新しいアレイに移行されています。セカンダリースワップは現在、古いアレイと新しいアレイでスワップディスクとして使用されています。

  • 以下のリストから、sda2 と sda3 を停止したいのですが、プライマリースワップでマルチスレッドによる負荷がかかっています。再起動するだけで、これらを停止できるのではと考えています (fstab ですでにコメントアウトされています)。

# swapon -s
Filename                                Type            Size    Used    Priority
/dev/mapper/VolGroup00-LogVol03         partition       2097144 368892  2
/dev/sda1                               partition       28846072        368520  2
/dev/sda2                               partition       28846072        368364  2
/dev/sdj1                               partition       29360120        0       -1
/dev/sdj2                               partition       29360120        0       -2

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Swap

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content