본문 바로가기

Storage/Dell Product

Dell Technology Symmetrix Command - Assign/Deassign Volmue(Disk)

1. Create TDEV

1) Preview

 - symconfigure -sid XXXX -file sample_create.txt -v preview 

 - symconfigure -sid XXXX -cmd "create dev count=1 size= 1000cyl (MB/GB), emulation=fba, config=tdev;" preview

 

2) Create

 - symconfigure -sid XXXX -file sample_create.txt -v commit(Text file)

 - symconfigure -sid XXXX -cmd "create dev count=1 size= 1000cyl, emulation=fba, config=tdev;" commit (SymmID)

 

3) Check Assigned Tdev.

 - symdev -sid XXXX list -devs XXXX:XXXX

 

2. Create Masking view, Storage, port, initiator group 

1) Storage device group

- symaccess -sid XXXX create -name <server_name> -type storage

- symaccess -sid XXXX create add -name <server_name> -type storage devs XXXX:XXXX

 

2) Port group

- symaccess -sid XXXX create -name <server_name> -type port

- symaccess -sid XXXX create add -name <server_name> -type port -dirport 1d:1

- symaccess -sid XXXX create add -name <server_name> -type port -dirport 2d:1 ...

 

3) initiator group

- symaccess -sid XXXX create -name <server_name> -type init

- symaccess -sid XXXX create -name <server_name> -type WWN XXXXXXXXXXXXXX

 

4) Masking view(모든 그룹이름을 bebe)

- symaccess -sid XXXX create view -name bebe -sg bebe -pg bebe -ig bebe -lun 001

 

 

3. Modify Tdev

 - symdev -sid XXXX modify XXXX -tdev -cap 18414 -captype cyl (33.72GB=18414cyl)
 - symdev -sid XXXX modify XXXX -tdev -cap 1024 -captype (MB/GB) 

 - symdev -sid XXXX list -devs XXXX:XXXX -cyl > 할당된 용량 체크

 

4. Delete Tdev

- symdev -sid XXXX not_ready -devs <symid> : 해당 symid 할당 안되도록 하는것.

- symdev -sid XXXX list -devs <symid> : 확인

- symdev -sid XXXX free -all <symid> : 해당 symid 모든데이타 삭제 (not_ready상태여야함)

- symcfg -sid XXXX list -tdev -devs <symid> -detail : 확인

- symconfigure -sid XXXX -cmd "delete dev <symid>;" preview : delete dev하기전 미리보기

- symconfigure -sid XXXX -cmd "delete dev <symid>'" commit : delete dev commit