DB 이관을 하는데 스토리지 이슈가 하도 많아서 고생을 했다.
VERITAS 장비인데 관련 명령어를 남기려고 한다.
1. 디스크 그룹 정보 보기
DEVICE TYPE DISK GROUP STATUS
fas32200_4 auto:cdsdisk oradata01 oradata online thinrclm
fas32200_5 auto:cdsdisk orasys01 oracle online thinrclm
fas32200_7 auto:cdsdisk orasys01 orasys online thinrclm
fas32200_8 auto:cdsdisk oratemp01 oratemp online thinrclm
sda auto:none - - online invalid
- - fuckveritas oradata removed was:fas32200_6
2. 특정디스크 그룹의 정보보기
Group: oradata
dgid: 1375321897.11.hostname.com
import-id: 1024.94
flags: cds
version: 180
alignment: 8192 (bytes)
ssb: on
autotagging: on
detach-policy: global
dg-fail-policy: obsolete
ioship: off
copies: nconfig=default nlog=default
config: seqno=0.1788 permlen=51360 free=51354 templen=4 loglen=4096
config disk fas32200_4 copy 1 len=51360 state=clean online
log disk fas32200_4 copy 1 len=4096
3. 특정 디스크 그룹의 남은 용량
DISK DEVICE TAG OFFSET LENGTH FLAGS
oradata01 fas32200_4 fas32200_4 10737350656 1744 -
4. 디스크 상세 정보 볼때
Group: oradata
info: dgid=1375321897.11.hostname.com noautoimport
version: 180
alignment: 8192 (bytes)
detach-policy: global
dg-fail-policy: dgdisable
ioship: off
copies: nconfig=default nlog=default
devices: max=32767 cur=1
minors: >= 25000
cds=on
Disk: fuckveritas
assoc: removed (most recent device: fas32200_6)
mediatype: unknown
Disk: oradata01
info: diskid=1375321897.9.hostname.com
assoc: device=fas32200_4 type=auto
flags: autoconfig
device: path=/dev/vx/dmp/fas32200_4s3
devinfo: publen=10737352400 privlen=65536
mediatype: hdd
Subdisk: oradata01-01
info: disk=oradata01 offset=0 len=10737350656
assoc: vol=vol1 plex=vol1-01 (offset=0)
flags: enabled busy
device: device=fas32200_4 path=/dev/vx/dmp/fas32200_4s3 diskdev=201/67
mediatype: hdd
Plex: vol1-01
info: len=10737350656
type: layout=CONCAT
state: state=ACTIVE kernel=ENABLED io=read-write
assoc: vol=vol1 sd=oradata01-01
flags: busy complete
mediatype: hdd
Volume: vol1
info: len=10737350656
type: usetype=fsgen
state: state=ACTIVE kernel=ENABLED cdsrecovery=0/0 (clean)
assoc: plexes=vol1-01
exports=(none)
policies: read=SELECT (round-robin) exceptions=GEN_DET_SPARSE
flags: open writeback thinreclaim
logging: type=REGION loglen=0 serial=0/0 mapalign=0 maplen=0 nummaps=64 (disabled)
apprecov: seqno=0/0
recovery: mode=default
recov_id=0
device: minor=25000 bdev=199/25000 cdev=199/25000 path=/dev/vx/dsk/oradata/vol1
perms: user=root group=root mode=0600
guid: {8094a294-fa61-11e2-b14f-2bad5275fc54}
tp_alloc_size: 4096
mediatype: hdd
# vxprint -g oradata -vt
V NAME RVG/VSET/CO KSTATE STATE LENGTH READPOL PREFPLEX UTYPE
v vol1 - ENABLED ACTIVE 10737350656 SELECT - fsgen
'Server System > 서버관련' 카테고리의 다른 글
Veritas 스토리지 iostat정보 (0) | 2013.10.11 |
---|---|
[tomcat] get으로 넘어오는 값 한글 깨짐 현상. (0) | 2013.03.22 |