Solaris

Add Disk di Volume Manager

Melihat daftar DEVICE yang ada di seluruh DiskGroup
fabric_2 belum di-assign ke DG manapun

root@hnawri # vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
HDS99600_0 sliced bkup09 backupdg online
HDS99600_1 sliced archdg08 archdg online
HDS99600_2 sliced vardg07 vardg online
HDS99600_3 sliced bindg06 bindg online
HDS99600_4 sliced bindg05 bindg online
HDS99600_5 sliced datadg04 datadg online
HDS99600_6 sliced datadg03 datadg online
HDS99600_7 sliced datadg02 datadg online
HDS99600_8 sliced datadg01 datadg online
c1t0d0s2 sliced – (rootdg) online
c1t1d0s2 sliced rootdisk rootdg online
c1t2d0s2 sliced – (bondg) online
c1t3d0s2 sliced – (bondg) online
c1t4d0s2 sliced mirrdisk rootdg online
c1t5d0s2 sliced – (backupdg) online
fabric_0 sliced bindg01 bindg online
fabric_1 sliced datadg09 datadg online
fabric_2 sliced – – online
fabric_3 sliced datadg08 datadg online
fabric_4 sliced datadg07 datadg online
fabric_5 sliced datadg06 datadg online
fabric_6 sliced datadg05 datadg online
fabric_7 sliced – – error
fabric_7 sliced vardg01 vardg error
fabric_8 sliced – – error
fabric_9 sliced – – error
fabric_10 sliced – – error

Cek apakah fabric_2 sudah di-isi atau belum

root@hnawri # vxdisk list fabric_2
Device: fabric_2
devicetag: fabric_2
type: sliced
hostid:
disk: name= id=1174723562.1452.hnawri
group: name= id=
info: privoffset=1
flags: online ready private autoconfig autoimport
pubpaths: block=/dev/vx/dmp/fabric_2s4 char=/dev/vx/rdmp/fabric_2s4
privpaths: block=/dev/vx/dmp/fabric_2s3 char=/dev/vx/rdmp/fabric_2s3
version: 2.2
iosize: min=512 (bytes) max=2048 (blocks)
public: slice=4 offset=0 len=104837120
private: slice=3 offset=1 len=7935
update: time=1174728325 seqno=0.9
headers: 0 248
configs: count=1 len=5831
logs: count=1 len=883
Defined regions:
config priv 000017-000247[000231]: copy=01 offset=000000 enabled
config priv 000249-005848[005600]: copy=01 offset=000231 enabled
log priv 005849-006731[000883]: copy=01 offset=000000 enabled
Multipathing information:
numpaths: 1
c6t600A0B80002650C200004B2D4582160Cd0s2 state=enabled

Cek di format

Specify disk (enter its number)[7]:
selecting c6t600A0B80002650C200004B2D4582160Cd0: xldp5a-5
[disk formatted]

Ternyata disk c6t600A0B80002650C200004B2D4582160Cd0 baru di-format, belum di mount

Sekarang, assign disk ke DG datadg

root@hnawri # vxdg -g datadg adddisk datadg10=fabric_2

Kalau di cek, disk sudah di-assing ke DG datadg

root@hnawri # vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
HDS99600_0 sliced bkup09 backupdg online
HDS99600_1 sliced archdg08 archdg online
HDS99600_2 sliced vardg07 vardg online
HDS99600_3 sliced bindg06 bindg online
HDS99600_4 sliced bindg05 bindg online
HDS99600_5 sliced datadg04 datadg online
HDS99600_6 sliced datadg03 datadg online
HDS99600_7 sliced datadg02 datadg online
HDS99600_8 sliced datadg01 datadg online
c1t0d0s2 sliced – (rootdg) online
c1t1d0s2 sliced rootdisk rootdg online
c1t2d0s2 sliced – (bondg) online
c1t3d0s2 sliced – (bondg) online
c1t4d0s2 sliced mirrdisk rootdg online
c1t5d0s2 sliced – (backupdg) online
fabric_0 sliced bindg01 bindg online
fabric_1 sliced datadg09 datadg online
fabric_2 sliced datadg10 datadg online
fabric_3 sliced datadg08 datadg online
fabric_4 sliced datadg07 datadg online
fabric_5 sliced datadg06 datadg online
fabric_6 sliced datadg05 datadg online
fabric_7 sliced – – error
fabric_7 sliced vardg01 vardg error
fabric_8 sliced – – error
fabric_9 sliced – – error
fabric_10 sliced – – error

Disk digunakan untuk nambah space di Volumen mntvol8, maka
root@hnawri # vxresize -g datadg mntvol8 +40g

Advertisements

Discussion

No comments yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Archives

Twitter Updates

Error: Please make sure the Twitter account is public.

%d bloggers like this: