esxi vm ÆÄƼ¼Ç µµ¿ÍÁÖ¼¼¿ä.¤Ð

   Á¶È¸ 272   Ãßõ 0    


선0176;님들1032; 도움1012; Ǻ19;고1088; 1060;/111;,172; 글 남겨 봅니다.ㅠㅠ


exsi7.0 u3에 vm centos6.10 서버를 올/140;서 운영계 1089;업1473;에 1080;었습니다.

putty/196; 원ᅄ1; 1217;속Ȣ16;여 테스트를 Ȣ16;lj16;데 용량1060; ǥ12;1313;Ȣ16;다고 Ȣ16;여 1613;설Ȣ16;/140;lj16; 1473;에 파티션1060; 깨1652;,148;1648; DŽ16;라간,148;1648; 모르,192;습니다.

기1316;에 vm 용량1060; 20기가 였고, 아래 명/16112;들1012; 1060;용해서 40기가/196; 1613;설Ȣ16;/140;고 했습니다.

용량 1613;설Ȣ16;/140;고 할ǐ12; 스냅샷1060; 1080;1004;면 안.108;다고 해서 모.160; 삭1228;를 했lj16;데 문1228;가 0156;생해서 1060;1204;1004;/196; 복구가 안.104;lj16; 상태1077;니다.ㅠㅠㅠ

스냅샷, 복구파1068;1060; 모.160; 없Ǻ12;요.ㅠㅠ


[root@localhost dist_selfdiag]# df -h

Filesystem      Size  Used Avail Use% Mounted on

/dev/sda3        16G   14G  1.6G  90% /

tmpfs           2.0G   72K  2.0G   1% /dev/shm

/dev/sda1       283M   59M  209M  22% /boot

[root@localhost dist_selfdiag]# lsblk

NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT

sr0     11:0    1 1024M  0 rom

sda      8:0    0   20G  0 disk

├─sda1   8:1    0  300M  0 part /boot

├─sda2   8:2    0    4G  0 part [SWAP]

└─sda3   8:3    0 15.8G  0 part /

[root@localhost dist_selfdiag]# resize2fs /dev/sda3

resize2fs 1.41.12 (17-May-2010)

The filesystem is already 4125440 blocks long.  Nothing to do!


[root@localhost dist_selfdiag]# du -sh /* | sort -h

du: cannot access `/proc/19217/task/19217/fd/4': No such file or directory

du: cannot access `/proc/19217/task/19217/fdinfo/4': No such file or directory

du: cannot access `/proc/19217/fd/4': No such file or directory

du: cannot access `/proc/19217/fdinfo/4': No such file or directory

0       /proc

0       /sys

4.0K    /media

4.0K    /selinux

4.0K    /srv

8.0K    /mnt

12K     /opt

16K     /lost+found

256K    /dev

7.2M    /bin

16M     /sbin

46M     /etc

57M     /boot

62M     /home

275M    /lib

2.4G    /usr

3.0G    /tmp

3.6G    /root

3.7G    /var

[root@localhost dist_selfdiag]# fdisk /dev/sda


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

         switch off the mode (command 'c') and change display units to

         sectors (command 'u').


Command (m for help): ^C

[root@localhost dist_selfdiag]# fdisk /dev/sda


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

         switch off the mode (command 'c') and change display units to

         sectors (command 'u').


Command (m for help): d

Partition number (1-4): n

Partition number (1-4): w

Partition number (1-4): 3


Command (m for help): w

The partition table has been altered!


Calling ioctl() to re-read partition table.


WARNING: Re-reading the partition table failed with error 16: Device or resource busy.

The kernel still uses the old table. The new table will be used at

the next reboot or after you run partprobe(8) or kpartx(8)

Syncing disks.

[root@localhost dist_selfdiag]# cated. It's strongly recommended to

>          switch off the mode (command 'c'

> ;

> ^C

[root@localhost dist_selfdiag]#

[root@localhost dist_selfdiag]# resize2fs /dev/sda3

resize2fs 1.41.12 (17-May-2010)

The filesystem is already 4125440 blocks long.  Nothing to do!


[root@localhost dist_selfdiag]#

[root@localhost dist_selfdiag]# df -h

Filesystem      Size  Used Avail Use% Mounted on

/dev/sda3        16G   14G  1.6G  90% /

tmpfs           2.0G   72K  2.0G   1% /dev/shm

/dev/sda1       283M   59M  209M  22% /boot

[root@localhost dist_selfdiag]#

[root@localhost dist_selfdiag]# resize2fs /dev/sda3

resize2fs 1.41.12 (17-May-2010)

The filesystem is already 4125440 blocks long.  Nothing to do!


[root@localhost dist_selfdiag]# df -h

Filesystem      Size  Used Avail Use% Mounted on

/dev/sda3        16G   14G  1.6G  90% /

tmpfs           2.0G   72K  2.0G   1% /dev/shm

/dev/sda1       283M   59M  209M  22% /boot

[root@localhost dist_selfdiag]# ^C

[root@localhost dist_selfdiag]# fdisk -l /dev/sda


Disk /dev/sda: 21.5 GB, 21474836480 bytes

255 heads, 63 sectors/track, 2610 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0x00041c8e


   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1          39      307200   83  Linux

Partition 1 does not end on cylinder boundary.

/dev/sda2              39         557     4161536   82  Linux swap / Solaris

Partition 2 does not end on cylinder boundary.

[root@localhost dist_selfdiag]# ^C

[root@localhost dist_selfdiag]# fdisk /dev/sda


WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

         switch off the mode (command 'c') and change display units to

         sectors (command 'u').


Command (m for help): n

Command action

   e   extended

   p   primary partition (1-4)

p

Partition number (1-4): 3

First cylinder (557-2610, default 557): 2610


Command (m for help): w

The partition table has been altered!


Calling ioctl() to re-read partition table.


WARNING: Re-reading the partition table failed with error 16: Device or resource busy.

The kernel still uses the old table. The new table will be used at

the next reboot or after you run partprobe(8) or kpartx(8)

Syncing disks.

[root@localhost dist_selfdiag]# resize2fs /dev/sda3

resize2fs 1.41.12 (17-May-2010)

The filesystem is already 4125440 blocks long.  Nothing to do!


[root@localhost dist_selfdiag]# mkfs.ext4 /dev/sda3

mke2fs 1.41.12 (17-May-2010)

/dev/sda3 is mounted; will not make a filesystem here!

[root@localhost dist_selfdiag]# resize2fs /dev/sda3

resize2fs 1.41.12 (17-May-2010)

The filesystem is already 4125440 blocks long.  Nothing to do!


[root@localhost dist_selfdiag]#

[root@localhost dist_selfdiag]# mount /dev/sda3 /mnt

[root@localhost dist_selfdiag]# df -h

Filesystem      Size  Used Avail Use% Mounted on

/dev/sda3        16G   14G  1.6G  90% /

tmpfs           2.0G   72K  2.0G   1% /dev/shm

/dev/sda1       283M   59M  209M  22% /boot

/dev/sda3        16G   14G  1.6G  90% /mnt

[root@localhost dist_selfdiag]# ^C

[root@localhost dist_selfdiag]# partprobe /dev/sda

Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda (Device or resource busy).  As a result, it may not reflect all of your changes until after reboot.

[root@localhost dist_selfdiag]# resize2fs /dev/sda3

resize2fs 1.41.12 (17-May-2010)

The filesystem is already 4125440 blocks long.  Nothing to do!


[root@localhost dist_selfdiag]# reboot

[root@localhost dist_selfdiag]#

Broadcast message from ****@*********.localdomain

        (/dev/pts/0) at 11:58 ...


The system is going down for reboot NOW!




위 명/16112;를 실행Ȣ16;고 rboot 했더니 ǥ12;ᔚ1;과1221;에서 centos6 /196;고 ǥ12;ᔚ1;1473;에 멈춤1060; 1080;습니다.

그래서 iso 라1060;브 버1204;1004;/196; ǥ12;ᔚ1; 해서 디스크 영역에 들Ǻ12;가서 보니까~

sda3 영역1060; 8M가 .104;Ǻ12; 1080;Ǻ12;요~


sda3에 1473;요한 파1068;들1060; 들Ǻ12;1080;lj16;데 다시 .104;살릴 0169;법1060; 없1012;까요?

구글링, 코파1068;/103; መ1; 1060;용해서 1060;,163;1200;,163; 테스트를 해봤lj16;데 마운트도 안.104;고 외ǥ12; 1064;터넷1060; 안.104;서 복구Ț12;1012; 설치가 안.121;니다.ㅠ


선0176;님!!

도와1452;세요.ㅠㅠ




Hh
ªÀº±Û Àϼö·Ï ½ÅÁßÇϰÔ.
Fentanest 04-22
[root@localhost dist_selfdiag]# fdisk /dev/sda



WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

        switch off the mode (command 'c') and change display units to

        sectors (command 'u').



Command (m for help): d

Partition number (1-4): n

Partition number (1-4): w

Partition number (1-4): 3



Command (m for help): w

The partition table has been altered!

ÀÌ¹Ì ÆÄƼ¼ÇÀ» Áö¿ì°í(d)
»õ·Î ¸¸µé°í(n)
±â·ÏÇ߳׿ä(w)

Ãß°¡ÀûÀ¸·Î ¹» ¾²½ÃÁø ¾ÊÀº°Å°°À¸´Ï±î ±×³É º¹±¸ÇÁ·Î±×·¥ µ¹¸®´Â°Ô ³´°Ú³×¿ä

Unknown 8.2MB´Â ¿Ö »ý°å´ÂÁö ¸ð¸£°Ú´Âµ¥
±âÁ¸ sda3¿µ¿ªÀº ³¯¾Æ°¡¼­ Free»óÅ·ΠÀÖ°í,
»õ·Î ´Ã¸° 20±â°¡µµ µÚÂÊ Free·Î ÀÖ´Â °Í °°³×¿ä.
     
´äº¯Áּż­ °¨»çÇÕ´Ï´Ù.
Âü°íÇÏ¿© Á¶Ä¡Çغ¸°Ú½À´Ï´Ù.
ÆÄƼ¼Ç Å×À̺íÀÇ Å©±â¸¦ º¯°æÇÏ·Á¸é,
¸ÕÀú ÆÄƼ¼Ç Å©±â¸¦ Á¶Á¤ÇÑ ÈÄ resize2fs ¸¦ ½ÇÇàÇß¾î¾ß Çϴµ¥
ÆÄƼ¼Ç Å©±â¸¦ º¯°æÇÏ´Â ÀýÂ÷¸¦ »ý·«ÇϽŠ°Í °°½À´Ï´Ù.

1) https://monkeybusiness.tistory.com/685 ("ÁÖÀÇ»çÇ×" Âü°í)
2) https://blog.servis.co.kr/index.php/2019/03/12/resize2fs/
  ("µð½ºÅ©ÀÇ ½ÃÀÛÁ¡ È®ÀÎ" ºÎÅÍ Âü°í, ƯÈ÷ ¸¶Áö¸· ºÎºÐ)

Fentanest ´Ô Àǰßó·³ ¾ÆÁ÷ ÆÄƼ¼Ç¿¡ Ãß°¡ÀûÀÎ ¾²±â ÀÛ¾÷Àº ¾ø¾ú´ø °Í °°À¸´Ï
R-Studio °°Àº º¹±¸ ÇÁ·Î±×·¥À» Çѹø µ¹·Áº¸½Ã±â ¹Ù¶ø´Ï´Ù.
´Ü¼øÈ÷ ÆÄƼ¼Ç¸¸ ³¯¾Æ°£ °Å¶ó¸é º¹±¸µÉ È®·üÀÌ ³ôÀ» °Í °°½À´Ï´Ù.

±×¸®°í ÀÌ·± ÀÛ¾÷À» ÇÏ½Ç ¶§¿¡´Â À߸øµÆÀ» ¶§¸¦ ´ëºñÇØ¼­
Ç×»ó ¹é¾÷ÀÌ Çʼö ÀÔ´Ï´Ù. ƯÈ÷³ª Áß¿äÇÑ µ¥ÀÌÅͰ¡ ÀÖ´Ù¸é¿ä..
     
¾Ë·ÁÁֽг»¿ë Âü°íÇÏ¿© ÆÄƼ¼Ç ÀÛ¾÷ÇØº¸°Ú½À´Ï´Ù. °¨»çÇÕ´Ï´Ù.
dateno1 04-22
Àß ´Ù·êÁÙ ¸ð¸£½Ã¸é CUI·Î ÀÛ¾÷ÇÏÁö¸¶¼¼¿ä

ºÎÆ®¿ë ISOÀÖ´Ù¸é °Å±â GUIÅø ÀÖÀ¸´Ï±î¿ä

º¹±¸ ¼ÒÇÁÆ®°¡ Æ÷ÇÔµÈ PE ISO Àü¼ÛÈÄ ±×°É·Î ºÎÆ®ÇØ¼­ µ¹¸®¼¼¿ä
     
³Ü^^; ¾Ë°Ú½À´Ï´Ù. ´ÙÀ½¿¡´Â Àß ¼÷ÁöÇØ¼­ ÀÛ¾÷ÇϰڽÀ´Ï´Ù.
          
dateno1 04-22
Âü°í·Î GUI·Î ÇÒ²¨¸é ÀÛ¾÷ ¸Å¿ì ½±½À´Ï´Ù

¸ÕÀú VMÁ¾·áÈÄ ESXi°ü¸® ÆäÀÌÁö °¡¼­ µð½ºÅ© Å©±â Á¶ÀýÈÄ ºÎÆ® ISO¸¶¿îÆ®ÈÄ ±×°É·Î ºÎÆ®ÇÕ´Ï´Ù

°Å±â¼­ µð½ºÅ© À¯Æ¿°è¿­ ¿­¾îº¸¸é µð½ºÅ© µÚÂÊ¿¡ ºó°ø°£ÀÌ »ý°åÀ»Å×´Ï ±×¸¸Å­ È®ÀåÇÏ¸é ‰´´Ï´Ù
´Ù¸¥ OS¿¡ ¿¬°áÇÏ¿©. º¹±¸ ÇÁ·Î±×·¥ µ¹¸®¼¼¿ä.
½Ã°£ÀÌ ¸¹ÀÌ °É¸®´Ï ...
     
³× ¾Ë°Ú½À´Ï´Ù~~ ÀÏ´Ü µð½ºÅ© ¹é¾÷ºÎÅÍ ÇØ¾ß°Ú³×¿ä~ ´äº¯ Áּż­ °¨»çÇÕ´Ï´Ù


QnA
Á¦¸ñPage 2/441
04-24   379   ºÒ¸êÀÇ»÷µð¡¦
04-23   373   ÀÌ¿ëÈÆ
04-23   260   dateno1
04-23   288   surren
04-23   602   Mentis
04-23   314   siper
04-23   303   ±¤ÁÖµ¿Å°È£Å×
04-23   138   ¾Ö´Ï¾Ç
04-23   196   µðºêÀÌ
04-23   287   makeyz
04-22   275   Sakura24
04-22   273   ¿ìÁÖ¼Ò³â
04-22   418   ¿ï°ú±âÆé½ÃÃæ
04-22   319   ±Ã±¸
04-21   372   ½Å¿ì¼·
04-21   347   ½ÅÀº¿Ö
04-21   284   ¹Ù·¥¾²
04-20   417   Sakura24
04-20   608   dateno1
04-19   711   ½ÅÀº¿Ö