{"id":311987,"date":"2020-10-25T15:00:11","date_gmt":"2020-10-25T15:00:11","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=311987"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=311987","title":{"rendered":"Enlarge your\u2026 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u0438\u0441\u043a in-place"},"content":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u041f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0434\u0438\u0441\u043a\u0430\u043c\u0438 \u0433\u043e\u0441\u0442\u0435\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c KVM.<br \/>\u041d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0435\u0447\u0430\u0441\u0442\u043e, \u0442\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0430\u043d\u043e\u0432\u043e RTFM&#8217;\u0438\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0442\u0430\u043a\u0443\u044e \u0432\u043e\u0442 \u0448\u043f\u043e\u0440\u0443.<\/p>\n<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u043b NTFS-\u0434\u0438\u0441\u043a \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 Windows \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0439 CentOS 7, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0438\u0436\u0435 &#8212; \u043f\u0440\u044f\u043c\u0430\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f.<br \/>\u0412\u0441\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438 &#8212; \u0431\u0435\u0437 \u043c\u044b\u0448\u043a\u0438 \u0438 \u043f\u0440\u043e\u0447\u0438\u0445 plug-n-play&#8217;\u0435\u0432.<br \/>\u0412\u0441\u0451 \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u0435\u0440\u0435\u0434 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u044d\u043a\u0430\u043f \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 (\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c; \u044f \u0432\u043e\u0442 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0441\u0434\u0435\u043b\u0430\u043b) \u0438\u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u043e\u043c\u043e\u043b\u0438\u0442\u044c\u0441\u044f (\u0435\u0441\u043b\u0438 \u043c\u0435\u0441\u0442\u0430 \u043d\u0435\u0442; \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439).<\/p>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\n<p>dd (coreutils)<\/p>\n<\/li>\n<li>\n<p>fdisk (util-linux)<\/p>\n<\/li>\n<li>\n<p>kpartx (kpartx)<\/p>\n<\/li>\n<li>\n<p>ntfsresize (ntfsprogs)<\/p>\n<\/li>\n<\/ul>\n<p>\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c &#171;\u0434\u0438\u0441\u043a&#187; ws_e.img \u0441 64 \u043a\u0413\u0411 \u043d\u0430 16 \u043a\u0413\u0411 (\u0434\u043e 80 \u043a\u0413\u0411).<br \/><em><u>Note<\/u>: 1 \u043a\u0413\u0411 (\u043a\u0430\u043a\u0431\u044b\u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442) = 1008 MB (\u043a\u0440\u0430\u0442\u043d\u043e 63 \u043f\u043e <\/em><a href=\"https:\/\/ru.wikipedia.org\/wiki\/CHS\" rel=\"noopener noreferrer nofollow\"><em>\u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c<\/em><\/a><em>), \u043d\u0443 \u0442\u0430\u043a \u0432\u043e\u0442 \u0441\u0440\u0435\u0434\u0438 \u043c\u0435\u043d\u044f \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u043f\u0440\u0438\u043d\u044f\u0442\u0438\u044e \u0432\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435).<\/em><\/p>\n<h2>1. Enlarge your disk<\/h2>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u0440\u0430\u0441\u0442\u0438\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u0438\u0441\u043a.<\/p>\n<p>\u0411\u044b\u043b\u043e:<\/p>\n<pre><code class=\"bash\">[root@ext images]# ls -l ws_e.img  -rw-r--r-- 1 root root 67645734912 \u043e\u043a\u0442 25 14:31 ws_e.img<\/code><\/pre>\n<p>\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f:<\/p>\n<pre><code class=\"bash\">[root@ext images]# dd if=\/dev\/zero of=ws_e.img bs=1008M count=16 oflag=append conv=notrunc 16+0 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043e 16+0 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e  \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e 16911433728 \u0431\u0430\u0439\u0442 (17 GB), 69,638 c, 243 MB\/c<\/code><\/pre>\n<p>\u0418\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0448\u0443\u0441\u0442\u0440\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (\u0441\u0430\u043c \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b):<\/p>\n<pre><code class=\"bash\">fallocate -i -l 16128M -o 64512M ws_e.img<\/code><\/pre>\n<p>\u0421\u0442\u0430\u043b\u043e:<\/p>\n<pre><code class=\"bash\">[root@ext images]# ls -l ws_e.img  -rw-r--r-- 1 root root 84557168640 \u043e\u043a\u0442 25 14:54 ws_e.img<\/code><\/pre>\n<p><em><u>Note<\/u>: \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0436\u0434\u0443 \u0436\u0435\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0434\u0438\u0441\u043a\u0430\u043c\u0438 \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u0432\u0440\u043e\u0434\u0435 <\/em><code>dd if=\/dev\/sdb of=\/dev\/sdc<\/code><\/p>\n<h2>2. Enlarge your partition<\/h2>\n<p>man ntfsresize:<\/p>\n<blockquote>\n<p>To  enlarge  an NTFS filesystem, first you must enlarge the size of the underlying partition. This can be done using fdisk(8) by deleting the partition and recreating it with a larger size.<\/p>\n<\/p>\n<\/blockquote>\n<details class=\"spoiler\">\n<summary>\u0422\u0430\u043a \u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043c:<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\">[root@ext images]# fdisk ws_e.img  Welcome to fdisk (util-linux 2.23.2).  Changes will remain in memory only, until you decide to write them. Be careful before using the write command.   \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): p  Disk ws_e.img: 84.6 GB, 84557168640 bytes, 165150720 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical\/physical): 512 bytes \/ 512 bytes I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes Disk label type: dos Disk identifier: 0xc617554d  \u0423\u0441\u0442\u0440-\u0432\u043e \u0417\u0430\u0433\u0440     \u041d\u0430\u0447\u0430\u043b\u043e       \u041a\u043e\u043d\u0435\u0446       \u0411\u043b\u043e\u043a\u0438   Id  \u0421\u0438\u0441\u0442\u0435\u043c\u0430 ws_e.img1            2048   132116479    66057216    7  HPFS\/NTFS\/exFAT  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): d Selected partition 1 Partition 1 is deleted  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): n Partition type:    p   primary (0 primary, 0 extended, 4 free)    e   extended Select (default p):  Using default response p \u041d\u043e\u043c\u0435\u0440 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 (1-4, default 1):  \u041f\u0435\u0440\u0432\u044b\u0439 sector (2048-165150719, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 2048):  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 2048 Last sector, +sectors or +size{K,M,G} (2048-165150719, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 165150719):  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 165150719 Partition 1 of type Linux and of size 78,8 GiB is set  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): t Selected partition 1 Hex code (type L to list all codes): 7 Changed type of partition 'Linux' to 'HPFS\/NTFS\/exFAT'  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): p  Disk ws_e.img: 84.6 GB, 84557168640 bytes, 165150720 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical\/physical): 512 bytes \/ 512 bytes I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes Disk label type: dos Disk identifier: 0xc617554d  \u0423\u0441\u0442\u0440-\u0432\u043e \u0417\u0430\u0433\u0440     \u041d\u0430\u0447\u0430\u043b\u043e       \u041a\u043e\u043d\u0435\u0446       \u0411\u043b\u043e\u043a\u0438   Id  \u0421\u0438\u0441\u0442\u0435\u043c\u0430 ws_e.img1            2048   165150719    82574336    7  HPFS\/NTFS\/exFAT  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): w \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0431\u044b\u043b\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0430!  \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0434\u0438\u0441\u043a\u0438.<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0422.\u043a. fdisk \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u0442 \u0441 <em>\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c<\/em> \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432, \u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0430.<\/p>\n<h2>3. Enlarge your FS<\/h2>\n<p>\u0424\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043d\u0435 \u0432 \u043a\u0443\u0440\u0441\u0435 \u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0435\u0451 \u0440\u0430\u0437\u0434\u0435\u043b\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0434\u0435\u0441\u044c \u0442\u043e\u0436\u0435 \u043d\u0430\u0434\u043e \u043b\u0435\u0437\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438. \u0414\u043b\u044f ext? \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 resize2fs (\u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0443 \u043d\u0430\u0434\u043e), \u0434\u043b\u044f NTFS &#8212; ntfsresize.<br \/>\u0422.\u043a. ntfsresize \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u0432 \u0444\u0430\u0439\u043b-\u043a\u0430\u043a-\u0434\u0438\u0441\u043a, \u0442\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u044d\u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 &#171;\u0434\u0438\u0441\u043a&#187;:<\/p>\n<pre><code class=\"bash\">[root@ext images]# kpartx -av ws_e.img  add map loop0p1 (253:0): 0 165148672 linear \/dev\/loop0 2048<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u0430\u043a \u043e\u043d\u043e \u0432\u043e\u043e\u0431\u0449\u0435:<\/p>\n<pre><code class=\"bash\">[root@ext images]# fdisk -l \/dev\/loop0 ... \u0423\u0441\u0442\u0440-\u0432\u043e \u0417\u0430\u0433\u0440     \u041d\u0430\u0447\u0430\u043b\u043e       \u041a\u043e\u043d\u0435\u0446       \u0411\u043b\u043e\u043a\u0438   Id  \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \/dev\/loop0p1            2048   165150719    82574336    7  HPFS\/NTFS\/exFAT [root@ext images]# ls \/dev\/mapper control  loop0p1<\/code><\/pre>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e enlarge:<\/p>\n<pre><code class=\"bash\">[root@ext images]# ntfsresize \/dev\/mapper\/loop0p1 ntfsresize v2017.3.23 (libntfs-3g) Device name        : \/dev\/mapper\/loop0p1 NTFS volume version: 3.1 Cluster size       : 4096 bytes Current volume size: 67642585600 bytes (67643 MB) Current device size: 84556120064 bytes (84557 MB) New volume size    : 84556116480 bytes (84557 MB) Checking filesystem consistency ... 100.00 percent completed Accounting clusters ... Space in use       : 64255 MB (95,0%) Collecting resizing constraints ... WARNING: Every sanity check passed and only the dangerous operations left. Make sure that important data has been backed up! Power outage or computer crash may result major data loss! Are you sure you want to proceed (y\/[n])? y Schedule chkdsk for NTFS consistency check at Windows boot time ... Resetting $LogFile ... (this might take a while) Updating $BadClust file ... Updating $Bitmap file ... Updating Boot record ... Syncing device ... Successfully resized NTFS on device '\/dev\/mapper\/loop0p1'.<\/code><\/pre>\n<p><em>(Note: \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0432\u043d\u0435\u0441\u0442\u0438 \u043a\u043e\u0434 \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440 \u043d\u043e\u0432\u044b\u0439 \u0445\u0430\u0431\u0440\u0430\u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u043d\u0430\u0433\u043b\u0443\u0445\u043e \u0432\u0435\u0448\u0430\u0435\u0442\u0441\u044f (\u0445\u043e\u0442\u044f \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0441 5-\u0433\u043e \u0440\u0430\u0437\u0430), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0430\u043a \u0432\u043e\u0442.)<\/em><\/p>\n<p>\u0438 \u0443\u0431\u0438\u0440\u0430\u0435\u043c \u0437\u0430 \u0441\u043e\u0431\u043e\u0439:<\/p>\n<pre><code class=\"bash\">[root@ext images]# kpartx -dv \/dev\/loop0 del devmap : loop0p1<\/code><\/pre>\n<p>\u043d\u0443 \u0438 \u043f\u043e\u043b\u0435\u0442\u0435\u043b\u0438:<\/p>\n<pre><code class=\"bash\">[root@ext images]# virsh start win2k8r2 \u0414\u043e\u043c\u0435\u043d win2k8r2 \u0431\u044b\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u043f\u0443\u0449\u0435\u043d<\/code><\/pre>\n<h2>PS.:<\/h2>\n<ul>\n<li>\n<p>\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044e \u21163 (\u0430 \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0436\u0435 \u0438 \u21162) \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0441\u0430\u043c\u043e\u0439 Windows (\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u0430\u043c\u0438 &#8212; \u0420\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0442\u043e\u043c), \u043d\u043e \u0430) \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u0434\u0438\u0441\u043a\u043e\u043c \u043d\u0435 \u043f\u0440\u043e\u043a\u0430\u0442\u0438\u0442 \u0438 \u0431) \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c.<\/p>\n<\/li>\n<li>\n<p><em>\u0423\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u0435<\/em> \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 (FS \u2192 partition \u2192 disk), \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0449\u0435 \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0440\u0430\u0448\u043d\u043e \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p>\u0411\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u043c\u0435\u0436\u0434\u0443 \u0436\u0435\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0434\u0438\u0441\u043a\u0430\u043c\u0438.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/524970\/\"> https:\/\/habr.com\/ru\/post\/524970\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text_v2\" id=\"post-content-body\">\n<p>\u041f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0434\u0438\u0441\u043a\u0430\u043c\u0438 \u0433\u043e\u0441\u0442\u0435\u0432\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c KVM.<br \/>\u041d\u043e \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0435\u0447\u0430\u0441\u0442\u043e, \u0442\u043e \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0437\u0430\u043d\u043e\u0432\u043e RTFM&#8217;\u0438\u0442\u044c, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0442\u0430\u043a\u0443\u044e \u0432\u043e\u0442 \u0448\u043f\u043e\u0440\u0443.<\/p>\n<p>\u0421\u0435\u0433\u043e\u0434\u043d\u044f \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u043b NTFS-\u0434\u0438\u0441\u043a \u0433\u043e\u0441\u0442\u0435\u0432\u043e\u0439 Windows \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0445\u043e\u0441\u0442\u043e\u0432\u043e\u0439 CentOS 7, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0438\u0436\u0435 &#8212; \u043f\u0440\u044f\u043c\u0430\u044f \u0442\u0440\u0430\u043d\u0441\u043b\u044f\u0446\u0438\u044f.<br \/>\u0412\u0441\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438 &#8212; \u0431\u0435\u0437 \u043c\u044b\u0448\u043a\u0438 \u0438 \u043f\u0440\u043e\u0447\u0438\u0445 plug-n-play&#8217;\u0435\u0432.<br \/>\u0412\u0441\u0451 \u043d\u0430\u0434\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u0435\u0440\u0435\u0434 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0431\u044d\u043a\u0430\u043f \u0446\u0435\u043b\u0435\u0432\u043e\u0433\u043e \u0434\u0438\u0441\u043a\u0430 (\u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c; \u044f \u0432\u043e\u0442 \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u0441\u0434\u0435\u043b\u0430\u043b) \u0438\u043b\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u043f\u043e\u043c\u043e\u043b\u0438\u0442\u044c\u0441\u044f (\u0435\u0441\u043b\u0438 \u043c\u0435\u0441\u0442\u0430 \u043d\u0435\u0442; \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437 \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a\u043e\u0439 \u0441\u043b\u0443\u0447\u0430\u0439).<\/p>\n<p>\u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u044f\u0442\u0441\u044f:<\/p>\n<ul>\n<li>\n<p>dd (coreutils)<\/p>\n<\/li>\n<li>\n<p>fdisk (util-linux)<\/p>\n<\/li>\n<li>\n<p>kpartx (kpartx)<\/p>\n<\/li>\n<li>\n<p>ntfsresize (ntfsprogs)<\/p>\n<\/li>\n<\/ul>\n<p>\u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u0431\u0443\u0434\u0435\u043c &#171;\u0434\u0438\u0441\u043a&#187; ws_e.img \u0441 64 \u043a\u0413\u0411 \u043d\u0430 16 \u043a\u0413\u0411 (\u0434\u043e 80 \u043a\u0413\u0411).<br \/><em><u>Note<\/u>: 1 \u043a\u0413\u0411 (\u043a\u0430\u043a\u0431\u044b\u0433\u0438\u0433\u0430\u0431\u0430\u0439\u0442) = 1008 MB (\u043a\u0440\u0430\u0442\u043d\u043e 63 \u043f\u043e <\/em><a href=\"https:\/\/ru.wikipedia.org\/wiki\/CHS\" rel=\"noopener noreferrer nofollow\"><em>\u0438\u0441\u0442\u043e\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u043c \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c<\/em><\/a><em>), \u043d\u0443 \u0442\u0430\u043a \u0432\u043e\u0442 \u0441\u0440\u0435\u0434\u0438 \u043c\u0435\u043d\u044f \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043a \u043f\u0440\u0438\u043d\u044f\u0442\u0438\u044e \u0432\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435).<\/em><\/p>\n<h2>1. Enlarge your disk<\/h2>\n<p>\u041f\u0440\u0435\u0436\u0434\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u0440\u0430\u0441\u0442\u0438\u043c \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u0438\u0441\u043a.<\/p>\n<p>\u0411\u044b\u043b\u043e:<\/p>\n<pre><code class=\"bash\">[root@ext images]# ls -l ws_e.img  -rw-r--r-- 1 root root 67645734912 \u043e\u043a\u0442 25 14:31 ws_e.img<\/code><\/pre>\n<p>\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f:<\/p>\n<pre><code class=\"bash\">[root@ext images]# dd if=\/dev\/zero of=ws_e.img bs=1008M count=16 oflag=append conv=notrunc 16+0 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043e 16+0 \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e  \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u043e 16911433728 \u0431\u0430\u0439\u0442 (17 GB), 69,638 c, 243 MB\/c<\/code><\/pre>\n<p>\u0418\u043b\u0438 \u0431\u043e\u043b\u0435\u0435 \u0448\u0443\u0441\u0442\u0440\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (\u0441\u0430\u043c \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b):<\/p>\n<pre><code class=\"bash\">fallocate -i -l 16128M -o 64512M ws_e.img<\/code><\/pre>\n<p>\u0421\u0442\u0430\u043b\u043e:<\/p>\n<pre><code class=\"bash\">[root@ext images]# ls -l ws_e.img  -rw-r--r-- 1 root root 84557168640 \u043e\u043a\u0442 25 14:54 ws_e.img<\/code><\/pre>\n<p><em><u>Note<\/u>: \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u0435\u0436\u0434\u0443 \u0436\u0435\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0434\u0438\u0441\u043a\u0430\u043c\u0438 \u0432 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u043d\u0435\u0447\u0442\u043e \u0432\u0440\u043e\u0434\u0435 <\/em><code>dd if=\/dev\/sdb of=\/dev\/sdc<\/code><\/p>\n<h2>2. Enlarge your partition<\/h2>\n<p>man ntfsresize:<\/p>\n<blockquote>\n<p>To  enlarge  an NTFS filesystem, first you must enlarge the size of the underlying partition. This can be done using fdisk(8) by deleting the partition and recreating it with a larger size.<\/p>\n<\/p>\n<\/blockquote>\n<details class=\"spoiler\">\n<summary>\u0422\u0430\u043a \u0438 \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043c:<\/summary>\n<div class=\"spoiler__content\">\n<pre><code class=\"bash\">[root@ext images]# fdisk ws_e.img  Welcome to fdisk (util-linux 2.23.2).  Changes will remain in memory only, until you decide to write them. Be careful before using the write command.   \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): p  Disk ws_e.img: 84.6 GB, 84557168640 bytes, 165150720 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical\/physical): 512 bytes \/ 512 bytes I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes Disk label type: dos Disk identifier: 0xc617554d  \u0423\u0441\u0442\u0440-\u0432\u043e \u0417\u0430\u0433\u0440     \u041d\u0430\u0447\u0430\u043b\u043e       \u041a\u043e\u043d\u0435\u0446       \u0411\u043b\u043e\u043a\u0438   Id  \u0421\u0438\u0441\u0442\u0435\u043c\u0430 ws_e.img1            2048   132116479    66057216    7  HPFS\/NTFS\/exFAT  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): d Selected partition 1 Partition 1 is deleted  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): n Partition type:    p   primary (0 primary, 0 extended, 4 free)    e   extended Select (default p):  Using default response p \u041d\u043e\u043c\u0435\u0440 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 (1-4, default 1):  \u041f\u0435\u0440\u0432\u044b\u0439 sector (2048-165150719, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 2048):  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 2048 Last sector, +sectors or +size{K,M,G} (2048-165150719, \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 165150719):  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e 165150719 Partition 1 of type Linux and of size 78,8 GiB is set  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): t Selected partition 1 Hex code (type L to list all codes): 7 Changed type of partition 'Linux' to 'HPFS\/NTFS\/exFAT'  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): p  Disk ws_e.img: 84.6 GB, 84557168640 bytes, 165150720 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical\/physical): 512 bytes \/ 512 bytes I\/O size (minimum\/optimal): 512 bytes \/ 512 bytes Disk label type: dos Disk identifier: 0xc617554d  \u0423\u0441\u0442\u0440-\u0432\u043e \u0417\u0430\u0433\u0440     \u041d\u0430\u0447\u0430\u043b\u043e       \u041a\u043e\u043d\u0435\u0446       \u0411\u043b\u043e\u043a\u0438   Id  \u0421\u0438\u0441\u0442\u0435\u043c\u0430 ws_e.img1            2048   165150719    82574336    7  HPFS\/NTFS\/exFAT  \u041a\u043e\u043c\u0430\u043d\u0434\u0430 (m \u0434\u043b\u044f \u0441\u043f\u0440\u0430\u0432\u043a\u0438): w \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0431\u044b\u043b\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0430!  \u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0434\u0438\u0441\u043a\u0438.<\/code><\/pre>\n<\/p>\n<\/div>\n<\/details>\n<p>\u0422.\u043a. fdisk \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u0442 \u0441 <em>\u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u044b\u043c<\/em> \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432, \u0442\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u0430.<\/p>\n<h2>3. Enlarge your FS<\/h2>\n<p>\u0424\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043d\u0435 \u0432 \u043a\u0443\u0440\u0441\u0435 \u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0435\u0451 \u0440\u0430\u0437\u0434\u0435\u043b\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0437\u0434\u0435\u0441\u044c \u0442\u043e\u0436\u0435 \u043d\u0430\u0434\u043e \u043b\u0435\u0437\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438. \u0414\u043b\u044f ext? \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 resize2fs (\u0435\u0441\u043b\u0438 \u043a\u043e\u043c\u0443 \u043d\u0430\u0434\u043e), \u0434\u043b\u044f NTFS &#8212; ntfsresize.<br \/>\u0422.\u043a. ntfsresize \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u0432 \u0444\u0430\u0439\u043b-\u043a\u0430\u043a-\u0434\u0438\u0441\u043a, \u0442\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0435\u0433\u043e \u044d\u0442\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 &#171;\u0434\u0438\u0441\u043a&#187;:<\/p>\n<pre><code class=\"bash\">[root@ext images]# kpartx -av ws_e.img  add map loop0p1 (253:0): 0 165148672 linear \/dev\/loop0 2048<\/code><\/pre>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u043a\u0430\u043a \u043e\u043d\u043e \u0432\u043e\u043e\u0431\u0449\u0435:<\/p>\n<pre><code class=\"bash\">[root@ext images]# fdisk -l \/dev\/loop0 ... \u0423\u0441\u0442\u0440-\u0432\u043e \u0417\u0430\u0433\u0440     \u041d\u0430\u0447\u0430\u043b\u043e       \u041a\u043e\u043d\u0435\u0446       \u0411\u043b\u043e\u043a\u0438   Id  \u0421\u0438\u0441\u0442\u0435\u043c\u0430 \/dev\/loop0p1            2048   165150719    82574336    7  HPFS\/NTFS\/exFAT [root@ext images]# ls \/dev\/mapper control  loop0p1<\/code><\/pre>\n<p>\u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e enlarge:<\/p>\n<pre><code class=\"bash\">[root@ext images]# ntfsresize \/dev\/mapper\/loop0p1 ntfsresize v2017.3.23 (libntfs-3g) Device name        : \/dev\/mapper\/loop0p1 NTFS volume version: 3.1 Cluster size       : 4096 bytes Current volume size: 67642585600 bytes (67643 MB) Current device size: 84556120064 bytes (84557 MB) New volume size    : 84556116480 bytes (84557 MB) Checking filesystem consistency ... 100.00 percent completed Accounting clusters ... Space in use       : 64255 MB (95,0%) Collecting resizing constraints ... WARNING: Every sanity check passed and only the dangerous operations left. Make sure that important data has been backed up! Power outage or computer crash may result major data loss! Are you sure you want to proceed (y\/[n])? y Schedule chkdsk for NTFS consistency check at Windows boot time ... Resetting $LogFile ... (this might take a while) Updating $BadClust file ... Updating $Bitmap file ... Updating Boot record ... Syncing device ... Successfully resized NTFS on device '\/dev\/mapper\/loop0p1'.<\/code><\/pre>\n<p><em>(Note: \u043f\u0440\u0438 \u043f\u043e\u043f\u044b\u0442\u043a\u0435 \u0432\u043d\u0435\u0441\u0442\u0438 \u043a\u043e\u0434 \u043f\u043e\u0434 \u0441\u043f\u043e\u0439\u043b\u0435\u0440 \u043d\u043e\u0432\u044b\u0439 \u0445\u0430\u0431\u0440\u0430\u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u043d\u0430\u0433\u043b\u0443\u0445\u043e \u0432\u0435\u0448\u0430\u0435\u0442\u0441\u044f (\u0445\u043e\u0442\u044f \u043e\u0434\u0438\u043d \u0440\u0430\u0437 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u0441 5-\u0433\u043e \u0440\u0430\u0437\u0430), \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0430\u043a \u0432\u043e\u0442.)<\/em><\/p>\n<p>\u0438 \u0443\u0431\u0438\u0440\u0430\u0435\u043c \u0437\u0430 \u0441\u043e\u0431\u043e\u0439:<\/p>\n<pre><code class=\"bash\">[root@ext images]# kpartx -dv \/dev\/loop0 del devmap : loop0p1<\/code><\/pre>\n<p>\u043d\u0443 \u0438 \u043f\u043e\u043b\u0435\u0442\u0435\u043b\u0438:<\/p>\n<pre><code class=\"bash\">[root@ext images]# virsh start win2k8r2 \u0414\u043e\u043c\u0435\u043d win2k8r2 \u0431\u044b\u043b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u043f\u0443\u0449\u0435\u043d<\/code><\/pre>\n<h2>PS.:<\/h2>\n<ul>\n<li>\n<p>\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044e \u21163 (\u0430 \u043c\u043e\u0436\u0435\u0442 \u0434\u0430\u0436\u0435 \u0438 \u21162) \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0432\u0435\u0441\u0442\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0441\u0430\u043c\u043e\u0439 Windows (\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0434\u0438\u0441\u043a\u0430\u043c\u0438 &#8212; \u0420\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0442\u043e\u043c), \u043d\u043e \u0430) \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c \u0434\u0438\u0441\u043a\u043e\u043c \u043d\u0435 \u043f\u0440\u043e\u043a\u0430\u0442\u0438\u0442 \u0438 \u0431) \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0435 \u043e\u0431 \u044d\u0442\u043e\u043c.<\/p>\n<\/li>\n<li>\n<p><em>\u0423\u043c\u0435\u043d\u044c\u0448\u0435\u043d\u0438\u0435<\/em> \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0434\u0438\u0441\u043a\u043e\u0432 \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043f\u043e\u0440\u044f\u0434\u043a\u0435 (FS \u2192 partition \u2192 disk), \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0449\u0435 \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0440\u0430\u0448\u043d\u043e \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e.<\/p>\n<\/li>\n<li>\n<p>\u0411\u043e\u043b\u044c\u0448\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043c\u0430 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u043c\u0435\u0436\u0434\u0443 \u0436\u0435\u043b\u0435\u0437\u043d\u044b\u043c\u0438 \u0434\u0438\u0441\u043a\u0430\u043c\u0438.<\/p>\n<\/li>\n<\/ul>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/524970\/\"> https:\/\/habr.com\/ru\/post\/524970\/<\/a><br \/><\/br><\/br><\/p>\n<p><\/br><\/p>\n<\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-311987","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/311987","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=311987"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/311987\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=311987"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=311987"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=311987"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}