How to extend size of AFPS container? - disk

On my Macbook Air currently running Mac OS 10.13, I noticed that the size of individual disks don't add up to the total size, it's not even close.
Couple of months back I had installed 3 MacOS in different container, once I was done I erased them. Now I need to keep only one OS and extend it's size.
Why can't I see all disks here?
How do I extend the size of 'macOS-highSierra' to maxim possible?

After much research and trial, I figured that extending a container wasn't possible.
I had to backup the macOS-highSierra installation, then format the entire hard drive and restore the backup.
I used Carbon Copy Cloner to create backup and restore.

Related

How can I restore my Mac OS file system to the state it was a couple of weeks ago?

Recently I've downloaded a bunch of emulators and other stuff on my Mac Mini. It all turned out very useless and instead of just deleting/uninstalling the new files, I would like my computer to go to the point before they were created – mainly to make registry clean and to avoid viruses, because many of them were probably bundled from Internet.
I know about a couple of ways to do system restoration to the earlier point, such as Time Machine. I'm just not sure if it gives a desired effect.

Only install OSX and command line related tools during XCode installation

XCode is getting too bloated, and it easily installs a whopping 8 Gb or more to your precious laptop whose disk space you have been meticulously monitoring. Although it is possible to delete unwanted SDK (such as Watch, Apple TV, iOS etc.) and platform files after XCode installation, this may not be feasible for computers that have smaller disk space. It is also not a good practice to write such a big content to the disk just to clear them later (after noticing it and figuring out how to do so).
Is there a way, maybe not quite straightforward, to install selectively only the necessary/useful components of XCode and ignore the rest?

Couldn't find disk developer image, Xcode Compatibility issue

I ran into this problem when iOS 10 was released. They are updating their device definitions so fast, that our small dev team can't match their speed. In result we need to develop on previous versions. But now our app crashes on 10.1 and we cannot debug. We need to wait for whole download to happen. Is it so hard to manage dev disk image to a place ? do they maintain disk image? or any other solution to the problem.

Mac OS X upgrade to Mavericks stuck

I downloaded the latest Mac OS X from AppStore to upgrade my Mac OS X 10.7.5
When I run the installer, after restarting it gave me an error regarding my Macintoch HD and it says that the problems couldn't be repaired asking me to restart backup my data then relunch the installer.
The problem is when I restart it keeps comming back to the installer, no mather what I did, I tried to fix the HD problem using diskutility but it also failed.
Also I have a HD of 1T Where I wanted to backup my data (using command line, since I can run the terminal) but my external HD is NTFS therefore its read only
What I would like to do is:
Either fix the installer problem and complete the upgrade
Find a way to transfer my data to the external HD first, than erase my Macintoch HD and try again the upgrade.
Please if you have anyclue, I'm really stuck here, and I can't afford to lose either my internal or external hard drives data.
Thanks in advance
P.S:
I have tried the solutions over here http://reviews.cnet.com/8301-13727_7-57608837-263/how-to-manage-a-failed-os-x-mavericks-installation/ but I couldn't solve my problem yet
you have a damaged file system and it cannot be repaired. to find out why reboot while holding down command+R and in recovery mode open disk utility and try to repair the disk. It will tell you why it cannot be repaired.
It may be that you need to replace the disk or just reformat it. you will need to format it as HFS+ for you to be able to install on it. you will lose all data on the disk! back up your data before reformatting
report back here after figuring out why the disk cannot be repaired and i will update my answer.

How to disable indexing in Xcode 4?

Not a long time ago I updated Xcode to version 4. This new version spent a lot of time on indexing the project (it's quite large). That's why I would like to disable indexing. Searching through Xcode help and internet gave no results.
Open a terminal window and paste this command:
defaults write com.apple.dt.XCode IDEIndexDisable 1
You'll lose some features (autocomplete, jump to definition, some of the assistants won't work right). But you'll gain back ram and cpu.
For my project Xcode went from using 2 Gigs to a few hundred MB. (which I sorely needed to compile with ;))
Reducing the priority of the XCode process helps:
renice 10 -p PID
You can get the PID from the Activity Monitor or top/ps commands.
This problem has been noticed on this newsgroup:
The crux of it seems to be that XCode4 uses crazy amounts of ram during indexing - like, 5gb or so(!), and thus if you're on a machine with something like 12gb, there's no problem, but if you're on a laptop with only 2gb or so, you'll have some pretty severe paging going on.
I'm guessing apple's internal engineers were all rocking maxed-out mac pros or something.
I ran into either the same problem or something similar. My project includes heavily templated C++. Including those headers in the PCH file solved the problem for me.
My new retina Macbook pro running XCode 4 was extremely slow doing indexing (and everything else). My Mac mini at home was very fast working on the same project!? Turns out it was my anti-virus software - doing a scan of every file read or written on the MacBook. Turning that off sped everything up by a ton.
Slow indexing is not a given. And more memory isn't necessarily better.
I have a medium sized project for work ~ 500 source files. After deleting the derived data, it takes 18 minutes to finish reindexing this project. That's with no other apps open and not doing anything else with the computer. This is on a fairly recent Macbook Pro with 8G of memory and an i7. Horrible, right?
My home machine is a recent Mac Mini with 4G of memory and an i5. On that machine the exact same project takes 40 seconds to completely index.
I don't yet know what the difference is, but I'm working on it.
It's not possible to disable indexing in Xcode 4. Many of the IDE's features are built on top of the index it maintains.

Resources