Show Table of Contents
A.2.3. dmsetup status 指令
dmsetup status device 這項指令提供了指定裝置中的各個目標的狀態資訊。若您不指定裝置名稱的話,輸出便會是有關於所有目前已配置的 Device Mapper 裝置的相關資訊。您只可透過 dmsetup status --target target_type 指令來將擁有至少一個指定類型的目標的裝置狀態列出。
下列範例顯示了用來列出目前已配置的映射裝置中的所有目標狀態的指令。
# dmsetup status
testgfsvg-testgfslv3: 0 312352768 linear
testgfsvg-testgfslv2: 0 312352768 linear
testgfsvg-testgfslv1: 0 312352768 linear
testgfsvg-testgfslv1: 312352768 50331648 linear
VolGroup00-LogVol01: 0 4063232 linear
VolGroup00-LogVol00: 0 151912448 linear

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.