|
SRDB ID: 20106
°³¿ä: Sun Enterprise Volume Manager(SEVM)¿¡¼ »õ("rdsk") º¼·ý Á¦°Å
(SEVM) ¼ÒÇÁÆ®¿þ¾î°¡ "vxvm:vxvol: ERROR: Volume {volume_name} is currently open or mounted" ¶Ç´Â "vxvm:vxedit: ERROR: Volume {volume_name} is opened, cannot remove" ¿À·ù¸¦ ÀÏÀ¸Åµ´Ï´Ù.
¼¼ºÎ ¼³¸í:
Enterprise Volume Manager(SEVM)¿¡¼ GUI(±×·¡ÇÈ »ç¿ëÀÚ ÀÎÅÍÆäÀ̽º) ¶Ç´Â CLI(¸í·ÉÇà ÀÎÅÍÆäÀ̽º)¸¦ ÅëÇØ »õ("rdsk") º¼·ý¿¡ ´ëÇÑ ¹Ýº¹ Á¦°Å¸¦ ¼öÇàÇÒ ¶§ ¾Æ·¡¿Í °°Àº ¿À·ù°¡ ¹ß»ýÇÒ ¼ö ÀÖ½À´Ï´Ù.
¿¹¸¦ µé¾î, OracleÀÇ »õ º¼·ýÀ¸·Î test_vol(/dev/vx/rdsk/rootdg/test_vol)À̶ó´Â º¼·ýÀ» »ç¿ëÇÕ´Ï´Ù.
----
GUI:
----
º¼·ýÀÌ ÀÖ´Â µð½ºÅ© ±×·ìÀ¸·Î À̵¿Çؼ(¿©±â¼´Â rootdg ¾Æ·¡) "rootdg" ¾ÆÀÌÄÜÀ» ´©¸£½Ê½Ã¿À.
A.] ¸¶¿ì½º ¿ÞÂÊ ´ÜÃß·Î "V" Ç¥½ÃµÈ ½Ç¸°´õ¸¦ ´·¯ test_volÀ̶ó´Â º¼·ýÀ» ¼±ÅÃÇϽʽÿÀ.
Advanced_Ops -> Volume -> Stop Volumes -> Stop
B.] ¸¶¿ì½º ¿ÞÂÊ ´ÜÃß·Î "V" Ç¥½ÃµÈ ½Ç¸°´õ¸¦ ´·¯ test_volÀ̶ó´Â º¼·ýÀ» ¼±ÅÃÇϽʽÿÀ.
Basic_Ops -> Volume Operations -> Remove Volumes Recursively
¶Ç´Â ¸í·ÉÇà¿¡¼ ´ÙÀ½ ¸í·ÉÀ» ½ÇÇàÇϽʽÿÀ.
----
CLI:
----
A.] vxvol stop {volume_name}
where {volume_name} = test_vol
B.] vxedit -fr rm {volume_name}
where {volume_name} = test_vol
-------
¿À·ù:
-------
vxvm:vxvol: ERROR: Volume volume_name is currently open or mounted
¶Ç´Â
vxvm:vxedit: ERROR: Volume volume_name is opened, cannot remove
Âü°í: {volume_name} = test_vol
ÇØ°á ¹æ¹ý ¿ä¾à:
ƯÁ¤ ÇÁ·Î¼¼½º°¡ º¼·ý°ú °ü·ÃÀÌ ÀÖ´ÂÁö È®ÀÎÇØ¾ß ÇÕ´Ï´Ù. º¼·ýÀÌ "vxfs" ¶Ç´Â "ufs"·Î »ç¿ëµÇ°í ƯÁ¤ ¸¶¿îÆ® Æ÷ÀÎÆ®¿¡ ¸¶¿îÆ®µÇ¾î ÀÖÀ¸¸é ¸¶¿îÆ® Æ÷ÀÎÆ®¸¦ ÅëÇØ ½±°Ô ÇÁ·Î¼¼½º¸¦ ÃßÀûÇϰųª ¸¶¿îÆ®¸¦ ¿ÏÀüÈ÷ ÇØÁ¦ÇÒ ¼ö ÀÖ½À´Ï´Ù. »õ "rdsk" º¼·ýÀÇ °æ¿ì´Â ¾î¶»°Ô Çմϱî? ¸¶¿îÆ® Æ÷ÀÎÆ®°¡ ¾øÀ¸¸é ÇÁ·Î¼¼½º°¡ ƯÁ¤ º¼·ý°ú °ü·ÃÀÌ ÀÖ´ÂÁö ¾î¶»°Ô ÆÇ´ÜÇմϱî?
ÀÌ °æ¿ì¿¡´Â "fuser" ¸í·ÉÀ» ½ÇÇàÇÏ´Â °ÍÀÌ ÁÁ½À´Ï´Ù.
# cd /dev/vx/rdsk/rootdg
# ls
look for the volume_name in our example
it's test_vol
# fuser {volume_name}
where {volume_name} = test_vol
Output:
test_vol: 9537c
# kill -9 9537
Âü°í: º¼·ýÀÌ ¸¶¿îÆ®µÇ¾î "ufs" ¶Ç´Â "vxfs"·Î »ç¿ëµÇ°í ÀÖÀ¸¸é º¼·ý À̸§ ´ë½Å ¸¶¿îÆ® Æ÷ÀÎÆ®¿¡ ´ëÇØ "fuser"¸¦ ½ÇÇàÇϽʽÿÀ. "-c" ¶Ç´Â "-u" Ç÷¡±×¸¦ »ç¿ëÇؼ fuser¸¦ ½ÇÇàÇÒ ¼öµµ ÀÖ½À´Ï´Ù.
-c ÆÄÀÏ ½Ã½ºÅÛ¿¡ ´ëÇÑ ¸¶¿îÆ® Æ÷ÀÎÆ®·Î »ç¿ëµÇ´Â ÆÄÀÏ ¹× ¸¶¿îÆ®µÈ ÆÄÀÏ ½Ã½ºÅÛ ³»ÀÇ ¸ðµç ÆÄÀÏ¿¡ ´ëÇØ º¸°íÇÕ´Ï´Ù.
-u ÇÁ·Î¼¼½º ID µÚÀÇ °ýÈ£¿¡ »ç¿ëÀÚÀÇ ·Î±×ÀÎ À̸§À» Ç¥½ÃÇÕ´Ï´Ù.
Fuser¿¡ ´ëÇÑ ¸Å´º¾ó ÆäÀÌÁö¸¦ ÂüÁ¶ÇϽʽÿÀ.
±×·± ´ÙÀ½ GUI ¶Ç´Â CLI º¼·ý Á¦°Å ÀýÂ÷¸¦ µû¸£½Ê½Ã¿À.
----
GUI:
----
º¼·ýÀÌ ÀÖ´Â µð½ºÅ© ±×·ìÀ¸·Î À̵¿Çؼ(¿©±â¼´Â rootdg ¾Æ·¡) "rootdg" ¾ÆÀÌÄÜÀ» ´©¸£½Ê½Ã¿À.
A.] ¸¶¿ì½º ¿ÞÂÊ ´ÜÃß·Î "V" Ç¥½ÃµÈ ½Ç¸°´õ¸¦ ´·¯ test_volÀ̶ó´Â º¼·ýÀ» ¼±ÅÃÇϽʽÿÀ.
Advanced_Ops -> Volume -> Stop Volumes -> Stop
B.] ¸¶¿ì½º ¿ÞÂÊ ´ÜÃß·Î "V" Ç¥½ÃµÈ ½Ç¸°´õ¸¦ ´·¯ test_volÀ̶ó´Â º¼·ýÀ» ¼±ÅÃÇϽʽÿÀ.
Basic_Ops -> Volume Operations -> Remove Volumes Recursively
¶Ç´Â ¸í·ÉÇà¿¡¼ ´ÙÀ½ ¸í·ÉÀ» ½ÇÇàÇϽʽÿÀ.
----
CLI:
----
A.] vxvol stop {volume_name}
where {volume_name} = test_vol
B.] vxedit -fr rm {volume_name}
where {volume_name} = test_vol
Àû¿ë ´ë»ó: Çϵå¿þ¾î, ¿î¿µ üÁ¦/Solaris/Solaris 2.x
|