How to create pvid on the hdisk6?
unix4you# chdev –l hdisk6 –a pv=yes
2. How to clear pvid on the hdisk6?
unix4you# chdev –l hdisk6 –a pv=clear
3. How to see summary of the hdisk2 as well as the pvid?
unix4you# lspv hdisk2
4. How to see Pp distribution on the hdisk2?
unix4you# lspv –p hdisk2
5. How to create Vg ?
unix4you# mkvg –y datavg –s 64 hdisk2 hdisk3
6. How to list logical volume in vg?
unix4you# lsvg –l rootvg
7. Detail information of datavg
unix4you# lvg datavg
8. How to list vg to know disk and distribution?
unix4you# lsvg –p datavg
9. How to extend datavg ? Or how to add disk into datavg?
unix4you# extendvg datavg hdisk2
10. How to remove disk from vg ?
unix4you# reducevg datavg hdisk2
11. How to migrate data from hdisk4 to hdisk2 and hdisk 1
unix4you# migratepv hdisk4 hdisk2 hdisk1
12. How to close volume group?
unix4you# varyoffvg datavg
13. How to open the volume group?
unix4you# varryonvg datavg
14. How to create the logical volume?
unix4you# mklv –y lv05 –c 2 datavg 20
15. How to remove logical volume ?
unix4you# rmlv lv06
16. How to extend logical volume ?
unix4you# extendlv lv06 20
17. How to create file system ?
unix4you# crfs –v jfs/jfs2 –g [vg_name –a size=] Or –d lv_name – m mount_point
unix4you# mkfs –v jfs/jfs2 /dev/vl06
18. How to change the file system size?
unix4you# chfs –a size=+64M /data
unix4you# chfs –a size=-64M /data
19. How to list all file system?
unix4you# lsfs
20. How to list all jfs file system?
unix4you# lsfs –v jfs
21. How to cop to a new LV called "NeWLogicalVolume"
unix4you# cplv -v VolumeGroup -y NewLogicalVolume SourceLogicalVolume
22. How to copy lv to existing lv ?
unix4you# cplv -e DestinationLogicalVolume SourceLogicalVolume
23. How to close the physical volume ?
unix4you# chpv –v r hdisk2
24. How to open the physical volume?
unix4you# chpv –v a hdisk2
25. How to clear boot record on the physical volume?
unix4you# chpv –c hdisk2
26. How to disable the quorum ?
unix4you# chvg –Qn datavg
27. How to enable the quorum?
unix4you# chvg –Qy datavg
unix4you# chdev –l hdisk6 –a pv=yes
2. How to clear pvid on the hdisk6?
unix4you# chdev –l hdisk6 –a pv=clear
3. How to see summary of the hdisk2 as well as the pvid?
unix4you# lspv hdisk2
4. How to see Pp distribution on the hdisk2?
unix4you# lspv –p hdisk2
5. How to create Vg ?
unix4you# mkvg –y datavg –s 64 hdisk2 hdisk3
6. How to list logical volume in vg?
unix4you# lsvg –l rootvg
7. Detail information of datavg
unix4you# lvg datavg
8. How to list vg to know disk and distribution?
unix4you# lsvg –p datavg
9. How to extend datavg ? Or how to add disk into datavg?
unix4you# extendvg datavg hdisk2
10. How to remove disk from vg ?
unix4you# reducevg datavg hdisk2
11. How to migrate data from hdisk4 to hdisk2 and hdisk 1
unix4you# migratepv hdisk4 hdisk2 hdisk1
12. How to close volume group?
unix4you# varyoffvg datavg
13. How to open the volume group?
unix4you# varryonvg datavg
14. How to create the logical volume?
unix4you# mklv –y lv05 –c 2 datavg 20
15. How to remove logical volume ?
unix4you# rmlv lv06
16. How to extend logical volume ?
unix4you# extendlv lv06 20
17. How to create file system ?
unix4you# crfs –v jfs/jfs2 –g [vg_name –a size=] Or –d lv_name – m mount_point
unix4you# mkfs –v jfs/jfs2 /dev/vl06
18. How to change the file system size?
unix4you# chfs –a size=+64M /data
unix4you# chfs –a size=-64M /data
19. How to list all file system?
unix4you# lsfs
20. How to list all jfs file system?
unix4you# lsfs –v jfs
21. How to cop to a new LV called "NeWLogicalVolume"
unix4you# cplv -v VolumeGroup -y NewLogicalVolume SourceLogicalVolume
22. How to copy lv to existing lv ?
unix4you# cplv -e DestinationLogicalVolume SourceLogicalVolume
23. How to close the physical volume ?
unix4you# chpv –v r hdisk2
24. How to open the physical volume?
unix4you# chpv –v a hdisk2
25. How to clear boot record on the physical volume?
unix4you# chpv –c hdisk2
26. How to disable the quorum ?
unix4you# chvg –Qn datavg
27. How to enable the quorum?
unix4you# chvg –Qy datavg
No comments:
Post a Comment