선0176;님들1032; 도움1012; Ǻ19;고1088; 1060;/111;,172; 글 남겨 봅니다.12640;12640;
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기가 였고, 아래 명/161;Ǻ12;들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;니다.12640;12640;12640;
스냅샷, 복구파1068;1060; 모.160; 없Ǻ12;요.12640;12640;
[root@localhost dist_selfdiag]# df -h Filesystem 160; 160; 160;Size 160;Used Avail Use% Mounted on /dev/sda3 160; 160; 160; 160;16G 160; 14G 160;1.6G 160;90% / tmpfs 160; 160; 160; 160; 160; 2.0G 160; 72K 160;2.0G 160; 1% /dev/shm /dev/sda1 160; 160; 160; 283M 160; 59M 160;209M 160;22% /boot [root@localhost dist_selfdiag]# lsblk NAME 160; MAJ:MIN RM 160;SIZE RO TYPE MOUNTPOINT sr0 160; 160; 11:0 160; 160;1 1024M 160;0 rom sda 160; 160; 160;8:0 160; 160;0 160; 20G 160;0 disk ├─sda1 160; 8:1 160; 160;0 160;300M 160;0 part /boot ├─sda2 160; 8:2 160; 160;0 160; 160;4G 160;0 part [SWAP] └─sda3 160; 8:3 160; 160;0 15.8G 160;0 part / [root@localhost dist_selfdiag]# resize2fs /dev/sda3 resize2fs 1.41.12 (17-May-2010) The filesystem is already 4125440 blocks long. 160;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 160; 160; 160; /proc 0 160; 160; 160; /sys 4.0K 160; 160;/media 4.0K 160; 160;/selinux 4.0K 160; 160;/srv 8.0K 160; 160;/mnt 12K 160; 160; /opt 16K 160; 160; /lost+found 256K 160; 160;/dev 7.2M 160; 160;/bin 16M 160; 160; /sbin 46M 160; 160; /etc 57M 160; 160; /boot 62M 160; 160; /home 275M 160; 160;/lib 2.4G 160; 160;/usr 3.0G 160; 160;/tmp 3.6G 160; 160;/root 3.7G 160; 160;/var [root@localhost dist_selfdiag]# fdisk /dev/sda WARNING: DOS-compatible mode is deprecated. It's strongly recommended to 160; 160; 160; 160; 160;switch off the mode (command 'c') and change display units to 160; 160; 160; 160; 160;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 160; 160; 160; 160; 160;switch off the mode (command 'c') and change display units to 160; 160; 160; 160; 160;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 > 160; 160; 160; 160; 160;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. 160;Nothing to do! [root@localhost dist_selfdiag]# [root@localhost dist_selfdiag]# df -h Filesystem 160; 160; 160;Size 160;Used Avail Use% Mounted on /dev/sda3 160; 160; 160; 160;16G 160; 14G 160;1.6G 160;90% / tmpfs 160; 160; 160; 160; 160; 2.0G 160; 72K 160;2.0G 160; 1% /dev/shm /dev/sda1 160; 160; 160; 283M 160; 59M 160;209M 160;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. 160;Nothing to do! [root@localhost dist_selfdiag]# df -h Filesystem 160; 160; 160;Size 160;Used Avail Use% Mounted on /dev/sda3 160; 160; 160; 160;16G 160; 14G 160;1.6G 160;90% / tmpfs 160; 160; 160; 160; 160; 2.0G 160; 72K 160;2.0G 160; 1% /dev/shm /dev/sda1 160; 160; 160; 283M 160; 59M 160;209M 160;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 160; 160;Device Boot 160; 160; 160;Start 160; 160; 160; 160; End 160; 160; 160;Blocks 160; Id 160;System /dev/sda1 160; * 160; 160; 160; 160; 160; 1 160; 160; 160; 160; 160;39 160; 160; 160;307200 160; 83 160;Linux Partition 1 does not end on cylinder boundary. /dev/sda2 160; 160; 160; 160; 160; 160; 160;39 160; 160; 160; 160; 557 160; 160; 4161536 160; 82 160;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 160; 160; 160; 160; 160;switch off the mode (command 'c') and change display units to 160; 160; 160; 160; 160;sectors (command 'u'). Command (m for help): n Command action 160; 160;e 160; extended 160; 160;p 160; 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. 160;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. 160;Nothing to do! [root@localhost dist_selfdiag]# [root@localhost dist_selfdiag]# mount /dev/sda3 /mnt [root@localhost dist_selfdiag]# df -h Filesystem 160; 160; 160;Size 160;Used Avail Use% Mounted on /dev/sda3 160; 160; 160; 160;16G 160; 14G 160;1.6G 160;90% / tmpfs 160; 160; 160; 160; 160; 2.0G 160; 72K 160;2.0G 160; 1% /dev/shm /dev/sda1 160; 160; 160; 283M 160; 59M 160;209M 160;22% /boot /dev/sda3 160; 160; 160; 160;16G 160; 14G 160;1.6G 160;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). 160;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. 160;Nothing to do! [root@localhost dist_selfdiag]# reboot [root@localhost dist_selfdiag]# Broadcast message from ****@*********.localdomain 160; 160; 160; 160; (/dev/pts/0) at 11:58 ... The system is going down for reboot NOW! |
위 명/161;Ǻ12;를 실행Ȣ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;니다.12640;
선0176;님!!
도와1452;세요.12640;12640;
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 °°Àº º¹±¸ ÇÁ·Î±×·¥À» Çѹø µ¹·Áº¸½Ã±â ¹Ù¶ø´Ï´Ù.
´Ü¼øÈ÷ ÆÄƼ¼Ç¸¸ ³¯¾Æ°£ °Å¶ó¸é º¹±¸µÉ È®·üÀÌ ³ôÀ» °Í °°½À´Ï´Ù.
±×¸®°í ÀÌ·± ÀÛ¾÷À» ÇÏ½Ç ¶§¿¡´Â À߸øµÆÀ» ¶§¸¦ ´ëºñÇØ¼
Ç×»ó ¹é¾÷ÀÌ Çʼö ÀÔ´Ï´Ù. ƯÈ÷³ª Áß¿äÇÑ µ¥ÀÌÅͰ¡ ÀÖ´Ù¸é¿ä..
ºÎÆ®¿ë ISOÀÖ´Ù¸é °Å±â GUIÅø ÀÖÀ¸´Ï±î¿ä
º¹±¸ ¼ÒÇÁÆ®°¡ Æ÷ÇÔµÈ PE ISO Àü¼ÛÈÄ ±×°É·Î ºÎÆ®ÇØ¼ µ¹¸®¼¼¿ä
¸ÕÀú VMÁ¾·áÈÄ ESXi°ü¸® ÆäÀÌÁö °¡¼ µð½ºÅ© Å©±â Á¶ÀýÈÄ ºÎÆ® ISO¸¶¿îÆ®ÈÄ ±×°É·Î ºÎÆ®ÇÕ´Ï´Ù
°Å±â¼ µð½ºÅ© À¯Æ¿°è¿ ¿¾îº¸¸é µð½ºÅ© µÚÂÊ¿¡ ºó°ø°£ÀÌ »ý°åÀ»Å×´Ï ±×¸¸Å È®ÀåÇÏ¸é ‰´´Ï´Ù
½Ã°£ÀÌ ¸¹ÀÌ °É¸®´Ï ...