{"id":7206,"date":"2020-05-12T16:50:31","date_gmt":"2020-05-12T14:50:31","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=7206"},"modified":"2020-05-12T16:50:31","modified_gmt":"2020-05-12T14:50:31","slug":"how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2020\/05\/12\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/","title":{"rendered":"How to Increase the size of a Linux LVM by expanding the virtual machine disk"},"content":{"rendered":"<p><em><a href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/\">How to Increase the size of a Linux LVM by expanding the virtual machine disk<\/a><\/em><\/p>\n<p><!--more--><!--nextpage--><\/p>\n<blockquote>\n<h2 class=\"title\">How to Increase the size of a Linux LVM by expanding the virtual machine disk<\/h2>\n<div class=\"post-info-top\"><span class=\"post-info-date\"> Posted by <a title=\"View all posts by Jarrod\" href=\"https:\/\/www.rootusers.com\/author\/jarrod\/\" rel=\"author\">Jarrod<\/a> on December 12, 2012 <\/span> <span class=\"addcomment\"><a title=\"Leave a comment ?\" href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/#respond\" rel=\"nofollow\">Leave a comment<\/a> (284)<\/span> <span class=\"gotocomments\"><a title=\"Go to comments ?\" href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/#comments\" rel=\"nofollow\">Go to comments<\/a><\/span><\/div>\n<div class=\"clear\"><\/div>\n<div class=\"entry\">\n<p>This post will cover how to increase the disk space for a VMware virtual machine running Linux that is using logical volume manager (LVM). Firstly we will be increasing the size of the actual disk on the VMware virtual machine, so at the hardware level \u2013 this is the VM\u2019s .vmdk file. Once this is complete we will get into the virtual machine and make the necessary changes through the operating system in order to take advantage of the additional space that has been provided by the hard drive being extended. This will involve creating a new partition with the new space, expanding the volume group and logical group, then finally resizing the file system.<span id=\"more-205\"><\/span><\/p>\n<p>As there are a number of different ways to increase disk space I have also posted some different methods here:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.rootusers.com\/use-gparted-to-increase-disk-size-of-a-linux-native-partition\/\" target=\"_blank\" rel=\"noopener noreferrer\">Use GParted to increase disk size of a Linux native partition<\/a> \u2013 In this article the virtual disk is expanded, however there is no LVM here just a Linux native partition that is expanded with the GParted live CD.<\/li>\n<li><a href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-adding-a-new-disk\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Increase the size of a Linux LVM by adding a new disk<\/a> \u2013 In this article a new virtual disk is added to the virtual machine, a new partition is created, the volume group and logical volume are both expanded and then the filesystem is resized.<\/li>\n<li><a href=\"https:\/\/www.rootusers.com\/lvm-resize-how-to-decrease-an-lvm-partition\/\" target=\"_blank\" rel=\"noopener noreferrer\">How to Decrease the size of a Linux LVM<\/a> \u2013 In this article the file system is shrunk followed by the LVM, allowing you to reclaim space in the volume group.<\/li>\n<\/ul>\n<p>Update 18\/04\/2015: I have created a video guide of this post in CentOS 7 shown below.<\/p>\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/KW1ScgdCIfs\" width=\"640\" height=\"480\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\" data-mce-fragment=\"1\"><\/iframe><\/p>\n<p><strong>Important Note:<\/strong> Be very careful when working with the commands in this article as they have the potential to cause a lot of damage to your data. If you are working with virtual machines make sure you take a snapshot of your virtual machine beforehand, or otherwise have some other form of up to date backup before proceeding. Note that a snapshot must not be taken until after the virtual disk has been increased, otherwise you will not be able to increase it. It could also be worth cloning the virtual machine first and testing out this method on the clone.<\/p>\n<p><strong>Prerequisites:<\/strong> As this method uses the additional space to create a primary partition, you must not already have 4 partitions as you will not be able to create more than 4. If you do not have space for another partition then you will need to consider a different method, there are some others in the above list.<\/p>\n<p>Throughout my examples I will be working with a VMware virtual machine running Debian 6, this was set up with a 20gb disk and we will be increasing it by 10gb for a total final size of 30gb.<\/p>\n<h2>Identifying the partition type<\/h2>\n<p>As this method focuses on working with LVM, we will first confirm that our partition type is actually Linux LVM by running the below command.<\/p>\n<pre>fdisk -l<\/pre>\n<p><a href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/05\/fdisk.png?w=910&#038;ssl=1\" alt=\"\" \/><\/a><\/p>\n<p>As you can see in the above image \/dev\/sda5 is listed as \u201cLinux LVM\u201d and it has the ID of 8e. The 8e hex code shows that it is a Linux LVM, while 83 shows a Linux native partition. Now that we have confirmed we are working with an LVM we can continue. For increasing the size of a Linux native partition (hex code 83) <a href=\"https:\/\/www.rootusers.com\/use-gparted-to-increase-disk-size-of-a-linux-native-partition\/\" target=\"_blank\" rel=\"noopener noreferrer\">see this article.<\/a><\/p>\n<p>Below is the disk information showing that our initial setup only has the one 20gb disk currently, which is under the logical volume named \/dev\/mapper\/Mega-root \u2013 this is what we will be expanding with the new disk.<br \/>\n<a href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/05\/df.png?w=910&#038;ssl=1\" alt=\"\" \/><\/a><\/p>\n<p>Note that \/dev\/mapper\/Mega-root is the volume made up from \/dev\/sda5 currently \u2013 this is what we will be expanding.<\/p>\n<h2>Increasing the virtual hard disk<\/h2>\n<p>First off we increase the allocated disk space on the virtual machine itself. This is done by right clicking the virtual machine in vSphere, selecting edit settings, and then selecting the hard disk. In the below image I have changed the previously set hard disk of 20gb to 30gb while the virtual machine is up and running. Once complete click OK, this is all that needs to be done in VMware for this process.<\/p>\n<p><a href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/05\/vm_settings.png?w=910&#038;ssl=1\" alt=\"\" \/><\/a><\/p>\n<p>If you are not able to modify the size of the disk, the provisioned size setting is greyed out. This can happen if the virtual machine has a snapshot in place, these will need to be removed prior to making the changes to the disk. Alternatively you may need to shut down the virtual machine if it does not allow you to add or increase disks on the fly, if this is the case make the change then power it back on.<\/p>\n<h2>Detect the new disk space<\/h2>\n<p>Once the physical disk has been increased at the hardware level, we need to get into the operating system and create a new partition that makes use of this space to proceed.<\/p>\n<p>Before we can do this we need to check that the new unallocated disk space is detected by the server, you can use \u201cfdisk -l\u201d to list the primary disk. You will most likely see that the disk space is still showing as the same original size, at this point you can either reboot the server and it will detect the changes on boot or you can rescan your devices to avoid rebooting by running the below command. Note you may need to change host0 depending on your setup.<\/p>\n<pre>echo \"- - -\" &gt; \/sys\/class\/scsi_host\/host0\/scan<\/pre>\n<p>Below is an image after performing this and confirming that the new space is displaying.<\/p>\n<p><a href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/05\/fdisk2.png?w=910&#038;ssl=1\" alt=\"\" \/><\/a><\/p>\n<h2>Partition the new disk space<\/h2>\n<p>As outlined in my previous images the disk in my example that I am working with is \/dev\/sda, so we use fdisk to create a new primary partition to make use of the new expanded disk space. Note that we do not have 4 primary partitions already in place, making this method possible.<\/p>\n<pre>fdisk \/dev\/sda<\/pre>\n<p>We are now using fdisk to create a new partition, the inputs I have entered in are shown below in bold. Note that you can press \u2018m\u2019 to get a full listing of the fdisk commands.<\/p>\n<p>\u2018n\u2019 was selected for adding a new partition.<\/p>\n<pre>WARNING: DOS-compatible mode is deprecated. It's strongly recommended to\n         switch off the mode (command 'c') and change display units to\n         sectors (command 'u').\n\nCommand (m for help): <strong>n<\/strong><\/pre>\n<p>\u2018p\u2019 is then selected as we are making a primary partition.<\/p>\n<pre>Command action\n   l   logical (5 or over)\n   p   primary partition (1-4)\n<strong>p<\/strong><\/pre>\n<p>As I already have \/dev\/sda1 and \/dev\/sda2 as shown in previous images, I have gone with using \u20183\u2019 for this new partition which will be created as \/dev\/sda3<\/p>\n<pre>Partition number (1-4): <strong>3<\/strong><\/pre>\n<p>We just press enter twice above as by default the first and last cylinders of the unallocated space should be correct. After this the partition is then ready.<\/p>\n<pre>First cylinder (2611-3916, default 2611): <strong>\"enter\"<\/strong>\nUsing default value 2611\nLast cylinder, +cylinders or +size{K,M,G} (2611-3916, default 3916): <strong>\"enter\"<\/strong>\nUsing default value 3916<\/pre>\n<p>\u2018t\u2019 is selected to change to a partition\u2019s system ID, in this case we change to \u20183\u2019 which is the one we just created.<\/p>\n<pre>Command (m for help): <strong>t<\/strong>\nPartition number (1-5): <strong>3<\/strong><\/pre>\n<p>The hex code \u20188e\u2019 was entered as this is the code for a Linux LVM which is what we want this partition to be, as we will be joining it with the original \/dev\/sda5 Linux LVM.<\/p>\n<pre>Hex code (type L to list codes): <strong>8e<\/strong>\nChanged system type of partition 3 to 8e (Linux LVM)<\/pre>\n<p>\u2018w\u2019 is used to write the table to disk and exit, basically all the changes that have been done will be saved and then you will be exited from fdisk.<\/p>\n<pre>Command (m for help): <strong>w<\/strong>\nThe partition table has been altered!\n\nCalling ioctl() to re-read partition table.\n\nWARNING: Re-reading the partition table failed with error 16: Device or resource busy.\nThe kernel still uses the old table. The new table will be used at\nthe next reboot or after you run partprobe(8) or kpartx(8)\nSyncing disks.<\/pre>\n<p>You will see a warning which basically means in order to use the new table with the changes a system reboot is required. If you can not see the new partition using \u201cfdisk -l\u201d you may be able to run \u201cpartprobe -s\u201d to rescan the partitions. In my test I did not require either of those things at this stage (I do a reboot later on), straight after pressing \u2018w\u2019 in fdisk I was able to see the new \/dev\/sda3 partition of my 10gb of space as displayed in the below image.<\/p>\n<p>For CentOS\/RHEL run a \u201cpartx -a \/dev\/sda3\u201d to avoid rebooting later on.<\/p>\n<p><a href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/05\/fdisk3.png?w=910&#038;ssl=1\" alt=\"\" \/><\/a><\/p>\n<p>That\u2019s all for partitioning, we now have a new partition which is making use of the previously unallocated disk space from the increase in VMware.<\/p>\n<h2>Increasing the logical volume<\/h2>\n<p>We use the pvcreate command which creates a physical volume for later use by the logical volume manager (LVM). In this case the physical volume will be our new \/dev\/sda3 partition.<\/p>\n<pre>root@Mega:~# <strong>pvcreate \/dev\/sda3<\/strong>\n  Device \/dev\/sda3 not found (or ignored by filtering).<\/pre>\n<p>In order to get around this you can either reboot, or use partprobe\/partx as previously mentioned to avoid a reboot, as in this instance the disk does not appear to be there correctly despite showing in \u201cfdisk -l\u201d. After a reboot or partprobe\/partx use the same command which will succeed.<\/p>\n<pre>root@Mega:~# <strong>pvcreate \/dev\/sda3<\/strong>\n  Physical volume \"\/dev\/sda3\" successfully created<\/pre>\n<p>Next we need to confirm the name of the current volume group using the vgdisplay command. The name will vary depending on your setup, for me it is the name of my test server. vgdisplay provides lots of information on the volume group, I have only shown the name and the current size of it for this example.<\/p>\n<pre>root@Mega:~# <strong>vgdisplay<\/strong>\n  --- Volume group ---\n  VG Name               Mega\n...\nVG Size               19.76 GiB<\/pre>\n<p>Now we extend the \u2018Mega\u2019 volume group by adding in the physical volume of \/dev\/sda3 which we created using the pvcreate command earlier.<\/p>\n<pre>root@Mega:~# <strong>vgextend Mega \/dev\/sda3<\/strong>\n  Volume group \"Mega\" successfully extended<\/pre>\n<p>Using the pvscan command we scan all disks for physical volumes, this should confirm the original \/dev\/sda5 partition and the newly created physical volume \/dev\/sda3<\/p>\n<pre>root@Mega:~# <strong>pvscan<\/strong>\n  PV \/dev\/sda5   VG Mega   lvm2 [19.76 GiB \/ 0    free]\n  PV \/dev\/sda3   VG Mega   lvm2 [10.00 GiB \/ 10.00 GiB free]\n  Total: 2 [29.75 GiB] \/ in use: 2 [29.75 GiB] \/ in no VG: 0 [0   ]<\/pre>\n<p>Next we need to increase the logical volume (rather than the physical volume) which basically means we will be taking our original logical volume and extending it over our new partition\/physical volume of \/dev\/sda3.<\/p>\n<p>Firstly confirm the path of the logical volume using lvdisplay. This path name will vary depending on your setup.<\/p>\n<pre>root@Mega:~# <strong>lvdisplay<\/strong>\n  --- Logical volume ---\n  LV Path                \/dev\/Mega\/root<\/pre>\n<p>The logical volume is then extended using the lvextend command.<\/p>\n<pre>root@Mega:~# <strong>lvextend \/dev\/Mega\/root \/dev\/sda3<\/strong>\n  Extending logical volume root to 28.90 GiB\n  Logical volume root successfully resized<\/pre>\n<p>There is then one final step which is to resize the file system so that it can take advantage of this additional space, this is done using the resize2fs command for ext based file systems. Note that this may take some time to complete, it took about 30 seconds for my additional space.<\/p>\n<pre>root@Mega:~# <strong>resize2fs \/dev\/Mega\/root<\/strong>\nresize2fs 1.41.12 (17-May-2010)\nFilesystem at \/dev\/Mega\/root is mounted on \/; on-line resizing required\nold desc_blocks = 2, new_desc_blocks = 2\nPerforming an on-line resize of \/dev\/Mega\/root to 7576576 (4k) blocks.\nThe filesystem on \/dev\/Mega\/root is now 7576576 blocks long.<\/pre>\n<p>Alternatively if you\u2019re running the XFS file system (default as of RedHat\/CentOS 7) you can grow the file system with \u201cxfs_growfs \/dev\/Mega\/root\u201d.<\/p>\n<p>That\u2019s it, now with the \u2018df\u2019 command we can see that the total available disk space has been increased.<\/p>\n<p><a href=\"https:\/\/www.rootusers.com\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"alignnone size-full\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/05\/df2.png?w=910&#038;ssl=1\" alt=\"\" \/><\/a><\/p>\n<\/div>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">How to Increase the size of a Linux LVM by expanding the virtual machine disk<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2020\/05\/12\/how-to-increase-the-size-of-a-linux-lvm-by-expanding-the-virtual-machine-disk\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[72],"tags":[],"class_list":["post-7206","post","type-post","status-publish","format-standard","hentry","category-documentations"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-1Se","jetpack-related-posts":[{"id":8053,"url":"https:\/\/monodes.com\/predaelli\/2021\/01\/13\/lvm-cache-su-ssd\/","url_meta":{"origin":7206,"position":0},"title":"LVM Cache su SSD","author":"Paolo Redaelli","date":"2021-01-13","format":false,"excerpt":"24 Maggio 2020 giomba ha pubblicato la guida LVM Cache su SSD. La mia macchina principale \u00e8 configurata esattamente come la sua all'inizio, anche se io ne sono abbastanza soddisfatto. In fin dei conti \u00e8 un towerone pensato per poter essere aggiornato a pezzi man mano. Per\u00f2 l'idea di mettere\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2021\/01\/lvmcache4-2.png?fit=477%2C221&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":492,"url":"https:\/\/monodes.com\/predaelli\/2015\/06\/28\/growing-your-virtualbox-virtual-disk\/","url_meta":{"origin":7206,"position":1},"title":"Growing your VirtualBox Virtual Disk","author":"Paolo Redaelli","date":"2015-06-28","format":false,"excerpt":"Most people simply had to deal with proprietary software that more or less runs exclusively on Microsoft OSes. For example when I bought my Dell laptop I used the Microsoft license that I grudgingly had to bought to create a fully legal installation into a virtual machine as the physical\u2026","rel":"","context":"In &quot;Microsoft&quot;","block_context":{"text":"Microsoft","link":"https:\/\/monodes.com\/predaelli\/category\/microsoft\/"},"img":{"alt_text":"low-disk-space","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2015\/06\/low-disk-space1.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":10706,"url":"https:\/\/monodes.com\/predaelli\/2023\/08\/13\/dutree-analyze-file-system-disk-usage-in-linux\/","url_meta":{"origin":7206,"position":2},"title":"dutree &#8211; Analyze File System Disk Usage in Linux","author":"Paolo Redaelli","date":"2023-08-13","format":"status","excerpt":"I used to run du -hsc \/ |sort -hr | less but it seems that people needs this dutree is a free, open-source command-line tool for analyzing disk usage, written in Rust programming language that reports disk usage in a tree-like format. Source: dutree - Analyze File System Disk Usage\u2026","rel":"","context":"In &quot;Software Libero&quot;","block_context":{"text":"Software Libero","link":"https:\/\/monodes.com\/predaelli\/category\/software\/software-libero\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11581,"url":"https:\/\/monodes.com\/predaelli\/2024\/04\/08\/5-tips-to-speed-up-linux-software-raid-rebuilding-and-re-syncing-nixcraft\/","url_meta":{"origin":7206,"position":3},"title":"5 Tips To Speed Up Linux Software Raid Rebuilding And Re-syncing &#8211; nixCraft","author":"Paolo Redaelli","date":"2024-04-08","format":false,"excerpt":"Speed Up Linux Software Raid: Various commands tips to increase the speed of Linux Software RAID 0\/1\/5\/6\/10 reconstruction and rebuild time Source: 5 Tips To Speed Up Linux Software Raid Rebuilding And Re-syncing - nixCraft 5 Tips To Speed Up Linux Software Raid Rebuilding And Re-syncing Author:Vivek GiteLast updated:April 7,\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14390,"url":"https:\/\/monodes.com\/predaelli\/2025\/12\/03\/5-tasks-linux-users-dont-do\/","url_meta":{"origin":7206,"position":4},"title":"5 tasks Linux users don&#8217;t do","author":"Paolo Redaelli","date":"2025-12-03","format":false,"excerpt":"I just read 5 Windows maintenance tasks I finally stopped doing and I can't stop smiling: Linux users never had to do those tasks; here they are: Using registry cleaners unneeded. Running Disk Cleanup well, actually sometimes we do... Defragmenting (or optimizing) drives: Linux never fragmented the disk since, well...\u2026","rel":"","context":"In &quot;Fun&quot;","block_context":{"text":"Fun","link":"https:\/\/monodes.com\/predaelli\/category\/fun\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/12\/windows-11-maintenance-tasks.webp?fit=1024%2C702&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/12\/windows-11-maintenance-tasks.webp?fit=1024%2C702&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/12\/windows-11-maintenance-tasks.webp?fit=1024%2C702&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2025\/12\/windows-11-maintenance-tasks.webp?fit=1024%2C702&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1751,"url":"https:\/\/monodes.com\/predaelli\/2016\/09\/05\/black-magic\/","url_meta":{"origin":7206,"position":5},"title":"Black magic","author":"Paolo Redaelli","date":"2016-09-05","format":false,"excerpt":"I'm considering to move my personal cloud from OwnCloud to NextCloud. Then you read those build instructions. Building on Linux Run: mkdir build-linux cd build-linux cmake -D OEM_THEME_DIR=`pwd`\/..\/nextcloudtheme ..\/client make make install Building on OSX Attention: When building make sure to use an old Core 2 Duo build machine running\u2026","rel":"","context":"In &quot;Mood&quot;","block_context":{"text":"Mood","link":"https:\/\/monodes.com\/predaelli\/category\/mood\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7206","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=7206"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7206\/revisions"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=7206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=7206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=7206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}