格式化分區,報/dev/sdb1 is apparently in use by the system; will not make a filesystem here!


[root@RAC2 ~]# mke2fs /dev/sdb1
mke2fs 1.39 (29-May-2006)
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
[root@RAC2 ~]#
[root@RAC2 ~]# dmsetup status
vbirdvg-vbirdlv2: 0 204800 linear
vbirdvg-vbirdlv1: 0 204800 linear
vbirdvg-vbirdlv1: 204800 2097152 linear
剛測試的有一個vg,將該vg刪除。
[root@RAC2 ~]# vgremove vbirdvg
或者
[root@localhost ~]# dmsetup remove_all
[root@localhost ~]# dmsetup status
No devices found

dmsetup,這個命令幫助我們“組裝”、“解散”、“監視”我們自己的虛擬存儲結構。
SYNOPSIS
dmsetup help [-c|-C|--columns]
dmsetup create device_name [-u uuid] [--notable | --table <table> | table_file]
dmsetup remove [-f|--force] device_name
dmsetup remove_all [-f|--force]
dmsetup suspend [--nolockfs] [--noflush] device_name
dmsetup resume device_name
dmsetup load device_name [--table <table> | table_file]
dmsetup clear device_name
dmsetup reload device_name [--table <table> | table_file]
dmsetup rename device_name new_name
dmsetup message device_name sector message
dmsetup ls [--target target_type] [--exec command] [--tree [-o options]]
dmsetup info [device_name]
dmsetup info -c|-C|--columns [--noheadings] [--separator separator] [-o fields] [-O|--sort sort_fields] [device_name]
dmsetup deps [device_name]
dmsetup status [--target target_type] [device_name]
dmsetup table [--target target_type] [device_name]
dmsetup wait device_name [event_nr]
dmsetup mknodes [device_name]
dmsetup udevflags cookie
dmsetup udevcomplete cookie
dmsetup udevcomplete_all
dmsetup udevcookies
dmsetup targets
dmsetup version
dmsetup setgeometry device_name cyl head sect start
dmsetup splitname device_name [subsystem]
       devmap_name major minor
devmap_name major:minor
 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM