Not Enough Free Space on NetBoot Image Partition

Since the NetBoot server isn't all that popular, I'm going to explain how it works a bit before I get into my problem.
I assume everyone knows how it works on the client end. You choose an image and your Mac boots that image over the network. Quick, easy, painless. It's a cool system. So on the server/admin side…
Every version of OS X Server comes with it's own System Imaging Utility. So lets say you want to make a netboot image with some utilities on it. So you take an external hard drive. Make two partitions on it. On one partition, you set it up to be the netboot image. So you install all of the utilities you want installed. You configure all of the preferences just the way you want them. Set your background image, etc, etc. On the other image, you just do a quick clean plain installation of your OS. And you also install your OS X Server Admin tools (or in case of 10.8, the Server app). So once your image-to-be is configured, you boot the second partition, and run the imaging utility. This utility will turn your volume into a netboot image. A netboot image is basically just a folder with some .plists in it, a read-only disk image of your initial volume, and a kernel or two (10.5).
NetBoot images are read-only. So when you boot them, you can make as many changes as you want. But once you shut down, all changes are lost. Every time any mac boots a netboot image, it is booting the image exactly as it was when you made it. The changes you make are stored in shadow files on the server that you can periodically toss, since they are only used during the current active session. Once you reboot, the shadow files are useless.
So here is the problem: When you make a netboot image from a real volume, the utility only leaves a small amount of free space on the volume. Even though the disk image is read only, the amount of free space matters because that's still all you get to use. In other words, if the .dmg file in the netboot image i just made only has 900 MB of free space in the volume, then that's all I get for free space on any machine I boot off that image. Even though the image is read only, and all of the "free space" is actually being stored as shadow files on the server, that limit is still applied. And 900 MB is not very much free space. So you can boot a utilities volume and if a program eats up a lot of ram, that virtual memory can eat up what little free HD space you have, and suddenly your netboot image is not very functional.
Now being the clever fellow that I am, I came up with a solution to this problem last time around. I used the following command to resize the partition (and only the partition) of the .dmg file, inside the netboot image (netboot images are just folders).
hdiutil resize -size 60g -partitiononly NetBoot.dmg
This resized the volumes to 60 GB. But it was all blank space, so the .dmg file's size did not change. It would just mount as a read only volume with 40 GB of free space instead of a few hundred MB. This little trick worked very well. But it's not working any more. I can't figure out why. But every time I try to run this command on the .dmg file, I get an error very similar to the following:
hdiutil: resize request 125829120 is above maximum size 18005952 allowed.
hdiutil: resize: failed. Invalid argument (22)
I get this error while running 10.8, 10.7, or 10.6. I get this error whether I'm trying to resize an image containing 10.8, 10.7, 10.6, 10.5, 10.4 or 10.3. I get this error whether I convert the image to a read/write image first, or even a spare image first. I get this error whether the original hard drive that volumes were on, is partitioned as APM or GUID.
The "maximum size" listed in the error message is different for each image I try to resize. It's as if the tool is trying to fit the increase volume inside the existing free space of the image's volume. Which isn't what I'm trying to do at all.
I've been using netboot images filled with utilities for years now. And overall it works very very well. I started back when the first macbooks came out with no firewire. I quickly realized I needed a better solution than booting my Mac into firewire mode to repair other Macs. And then when I got into it, I realized I could host images of all different OS versions. So now I can plug my MBP into a client's network, and boot any Mac they have off of a utility volume of any version of Mac OS X needed, all the way down to 10.3, all at the same time. And I also have NetInstall volumes too that let me install OS X for all these versions as well. The only real quirk I've had over the years, is this 'free' space issue. In the past (before the last time I updated my images, where I used the command above to resize the partitions and solve the problem), what I've done when I've ran into a HD pinch while working, is to immediately start deleting apps I don't think I'm going to need, right off the netbooted Mac. This frees up space on the netboot volume and the system is happy. And again it's all read only, so I'm not actually making changes to the image itself. One real half assed solution I thought of was to set up all of my netboot volumes as having a 1 GB file in their trash and not emptying it before creating a netboot image from the volume. Then when this problem came up and the OS was running out of disk space, I could just empty the trash. I'm quite sure this little trick would have worked, but it's so half-assed. I'd much rather just have more free space on the mounted disk images.

But how did my command work so perfectly last time? Here's an image. On the left, the info window of the disk image inside my 10.7 Utilities netboot image. On the right, the info window for that disk image's mounted volume. The file is only 7 GB and the volume is a 30 GB volume with ~23 GB free. None of the free space of the volume is using up any actual disk space in the .dmg file. I did this once, there's got to be a way to reproduce this again?
Here's the same thing with my 10.6 Utilities netboot image. Also in case I'm not being clear, these netboot images these screen shots are of, are from the last time I updated my netboot images ~11 months ago. These are not my current batch that I'm trying to finalize.

Similar Messages

  • Service Partition - Rescue and Recovery installati​on fails (not enough free space)

    Im am aware about  former posts to this subject  on this forum, but they didn't answer all my questions, so I reopened  the subject. 
    I tried to install "Rescue and Recovery" on T60 with win XP  Pro and got the following message:
    'There is not enough free space in the boot sector to install the Rescue and Recovery boot manager'
    I followed the   solution in "Rescue and Recovery installation fails") from 08-09-2008 03:03 AM
    and  created a hidden partition with Parted Magic but the rescue and recovery still fails with the same message.
    Somewhere in the forum I read that the original service partition has a special format and not ntfs. 
    Could somebody tell me is it true or not ?
    How can I rebuild this service partition ?
    Do I need special setting, flags there ?
    Is it possible  to rebuild this partition without recovery CDs at all ?
    Actually I'm wondering to,  about the error message. It is saying '"..There is not enough free space in the boot sector ..." . 
    Is it possible  that the boot sector is the problem and not the service partition ?
    How can I fix that ?
    Thanks in advance if somebody helps.

    I have a 4-year-old ThinkPad R51. Because I was getting intermittent boot-up error messages--"Rescue and Recovery has encountered a problem and needs to close"--with ver. 4.0, I tried to upgrade to ver. 4.2.  Per instructions, I first removed ver. 4.0 using Windows Control Panel.  Then each attempt to install 4.2 failed with the message: "Error 25025. There is not enough free space on the computer to install or upgrade the Rescue and Recovery environment."  Just before that error message popped up in center-screen, I got a Windows message at lower right saying "You are running out of space on SERVICEV001 (Z:}"  Of course, there was no way I could view partition Z (that I knew of).
    Thanks to the helpful messages above, I downloaded Parted Magic (http://partedmagic.com), burned a boot CD per its instructions, and re-booted with that CD.  Using GParted, I saw that my SERVICEV001 partition was merely 590 MB, and 587 MB was in use.  So I reduced my C partition by 500 MB and added 500 MB to the Z partition, raising it to 1090 MB.  Then I was able to re-boot into Windows and the installation of Rescue and Recovery 4.2 was error-free.
    Out of curiosity, I again re-booted with the Parted Magic CD to see how much space on the Z partition was taken by the RnR ver. 4.2 installation.  To my surprise, it showed that still only 587 MB was in use, and 503 MB remained unused.
    I thank those in this forum whose messages gave me the needed guidance.  And I thanked the author of Parted Magic with a $10 donation, as I hope other users of his open source program will do.
    Message Edited by DougSchafer on 08-08-2008 06:06 PM
    Message Edited by DougSchafer on 08-08-2008 06:12 PM

  • Not Enough Free Space - SD Card

    I am trying to copy 500MB of pictures onto an SD card.  Each time I try, it says there is not enough free space.  Are there any options?  This has ocurred on more than one SD card and more than one USB Drive. 
    This seems to be a bug in the OS.
    I have read through the forums and have already done the following:
    1.  Emptied the trash (While the SD card was mounted)
    2.  Reformatted the disk multiple times (Erase in Disk Utility)
    3.  Tried adding a second partition to ensure that was not the issue.
    4.  Formatted it into all three other formats that are available (extFAT, Mac Extended Journaled, & Mac Extended Case Sensitive).
    They all work fine except FAT 16.  The largest file I have is under 1MB.  The other formats do not work in my Picture Frame.  I can copy them over from a windows computer without any issues.  This is incredibly frustrating.  Any help would be appreciated.
    Thanks.

    Having the same problem on multiple 2GB SD cards, running 10.8.3 on a 2010 MacBook Pro. Trying to copy anything to the card results in a "there isn't enough space" message, always at the same file in the collection. (If I remove that file from the list, another one will then cause the error.) The card was freshly formatted (FAT32) each time.
    As a control, I tried writing to the disk on a more recent Air running 10.7.5, successfully; and by firing up a VirtualBox image running Ubuntu and mounting the SD card through the host system, copying successfully.
    So it's not a card fault, and it isn't hardware failure as such.
    This is a new bug since some version of 10.8.x; prior to Mountain Lion, I've had no problems. (There is another SD problem - cards often get mounted read-only, whatever position the card lock switch is in.)
    Also frustrated and unhappy; help likewise appreciated.

  • WBAdmin BMR backup says "There is not enough free space on the backup storage location to back up the data."

    We're doing nightly BMR backups of a small 2012 R2 Hyper-V host via wbadmin to 2TB USB disks, via
      wbadmin start backup -backupTarget:z: -quiet -noverify -vssFull -include:e:,c: -allCritical
    (where E: contains the sole VM).
    We are using the same backup system on other similar Hyper-V hosts running 2008 R2 and 2012, with no problems. However, with this 2012 R2 host, after a few months of no problems the backups started failing with:
      There is not enough free space on the backup storage location to back up the data.
    This made no sense, and continues to make no sense:
    The 2TB backup disks are only half full (>1TB free), with 600GB of unallocated shadowstorage.
    There should be room for many more backups on these disks. Each currently contains 11 to 13 backups, with the initial full backup having required about 600GB and each subsequent backup only requiring another 20GB to 40GB.
    There is over 40GB free on the C: drive and 300GB free on the E: drive; free space on the host volumes is not an issue.
    Increasing the shadowstorage limit on the backup disks to unbounded doesn't resolve the issue.
    This is not a problem of a RECOVERY partition that's too small, and SystemState backups always complete successfully.
    The first workaround we found was to temporarily reduce (not increase) the shadowstorage allocation on the E: drive (containing the VM) and then increase it back (with the end result of deleting old shadow copies).
    This worked reliably, but looking for a root cause led us to uninstall the Windows Updates installed mid-September (in particular the Aug 2014 and Sep 2014 roll-ups), which preceded the start of this problem. But instead of resolving the problem the uninstalls
    made it worse, in that our workaround stopped working.
    We reinstalled the Windows Updates, and then tried setting backup performance to normal, in case the problem was related to VSS on the host volumes, but the errors continued.
    At this point the only way we've found to work around the error is to delete 1 or 2 of the oldest backups on the destination disk, via
      wbadmin delete backup -backupTarget:z: -deleteOldest
    after which the new backup will succeed.
    But, again, this makes no sense, as the destination disks are only half full, and even if space was an issue wbadmin should delete old backups as required. And this same system is working fine on 2008 R2 and 2012.
    Any suggestions?
    Thanks,
    John

    Hi John,
    Please check run the command below to check if the space required to complete the backup causes the snapshot storage space to become less than 1/8 of the target size.
    vssadmin list shadows /for=x: will list the shadow copies on x: and creation time.
    WSB will not shrink the diff area to less than 1/8 of Target volume size as we do not want to lose all past backups just to accommodate this one.
    For more detailed information, please refer to the article below:
    Windows Server Backup automatic disk usage management
    http://blogs.technet.com/b/filecab/archive/2011/03/14/windows-server-backup-automatic-disk-usage-management.aspx
    V. Backup, Restore and Disaster Recovery
    http://social.technet.microsoft.com/wiki/contents/articles/1846.v-backup-restore-and-disaster-recovery.aspx?Sort=MostUseful&PageIndex=1
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • ***There is not enough free space on the untitled disk***

    I am attempting to install PrintShop software and need approx. 1150MB for it to be installed.  My computer says that I have a 256GB solid state SATA.  It has 105.33GB free out of 159.18GB.  I don't have any idea of how to fix this. I emptied my trash and got rid of many files that weren't being used any longer.  Could someone tell me what info they need from me about my laptop in order to help me? 
    I know that this is not a new topic, but I couldn't find an answer in past discussions that fit my situation.  Thanks so much.

    I did the repair permissions in disk utility and I have done repair disk previously.  After both quit running, I restart my computer (I'm not sure if that is what needs done).  But neither of the disk utility actions have helped. 
    I also went in and looked at the partition.  I think I messed that up.  In the partition space, it only showed my Untitled partition.  I took the cursor and used it to drag and enlarge the partition so that the Untitled had the full space.  I've never used the partition before and I don't run Windows or anything like that so I don't think I have a need for more than one partition, do I?
    My Untitled drive now shows that there is tons of free space, but I am still getting a "not enough free space" message.
    Also, in Finder, I see Favorites with Apps, documents, downloads, music, etc and I see devices that lists my PrintShop CD, but I don't see my drive listed any longer.  Do you know what I might have done?

  • Importing library to Aperture 3.3: not enough free space

    I am trying to import an iPhoto Library (9.3) into a brand new, blank Aperture 3.3 library, but I am getting the following error message:  "The library could not be imported because there is not enough free space on your current Aperture Library volume."
    That's impossible because the library is actually around 70 GB in size; my hard disk itself is 750 GB so it's impossible for my iPhoto Library to requre 1821.95 GB of space!
    I understand the file format of both iPhoto 9.3 and Aperture 3.3 library are the same; but everything else still seems to think it's an iPhoto Library by default...

    My solution was to drag the photos manually from one application to the other.
    Hi darenrobbins,
    This certainly works, but a caution:
    By dragging from Aperture to iPhoto you only transfer the previews, not the originals. So better make sure, that you are now satisfied with the image resolution that you have in iPhoto after dragging.
    For example, I just dragged an image from Aperture to iPhoto; it is a jpeg with 3648 × 2736 (10.0 MP) - in iPhoto it was imported as 1824x1368; the size I have set for previews.
    InAperture, before dragging:
    Dragged to iPhoto:
    So check, if you have not lost image quality by your transfer method.
    Regards
    Léonie

  • Not enough free space on Aperture Library volume to import iPhoto library into Aperture?

    I purchased Aperture 3 from the App Store after using the free trial version for a few weeks.  I downloaded the program and do not have any images imorted into Aperture yet.  I tried to import my iPhoto library using File>Import>iPhoto Library and received this message: There is not enough free space on your Aperture Library volume to import the selected items. It is estimated that you need at least 10GB of free space.  I have iPhoto 11 and 25,000 images on iPhoto.  I did review the Aperture owners manual and did not find an answer to this.

    Well obviously you don't have enough space to import an iPhoto Library that is more than 10 gigs.
    But that's not importat right now.
    You have the makings of a major problem and you need to address it now.
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do. Purchase an external HD and move your Photos and Music to it. Aperture,  iPhoto an iTunes can run perfectly well with the Library on an external disk.
    If you don't you will suffer data loss. I can't stress this enough.
    Regards
    TD

  • There is not enough free space on your Aperture Library Volume Question

    When importing more images to Aperture I get this:
    There is not enough free space on your Aperture Library Volume to import the selected items
    Why is this? I am a big time newbee and I am trying to take a crash coarse in Aperture. How do I bring in more photos. I only have a few hundred in there now.
    Thanks for any help
    Mark

    Lots more and very specific info is necessary for troubleshooting. Probably your hard drives is too full.
    -Allen Wicks

  • "Not enough free space" when there is

    I'm trying to copy a bunch of fairly small files to a 512 MB SD card using an external card reader. Even though the Finder tells me there is, say, 300 MB available, when I try to copy a number of files at once, I'll get a message telling me that a certain file can not be copied because there is not enough free space. However, if I go back and try to copy that file and a few others, they'll copy without a problem. I'll copy another relatively small number without a problem and then try another bunch and get the error "not enough free space" message again.
    While I eventually did copy all the files in small bunches, it was a drag and I'd love to find out why it didn't work in one large bunch. . . .

    Perhaps the write-speed to the card via the card reader
    (likely just in the card's circuitry itself) is too slow to take
    a load of files for copying that way. Given some of the
    camera cards can barely move one image at a time to
    the card from the camera's processor, you have to figure
    this load of several strings of different files at once has
    to be a considerable load on the card's limited speed.
    Some cameras and devices with fast image processors
    can use faster memory cards. If you need to drag-drop
    images or files in large capacity groups, consider getting
    a faster speed card and see if that helps. Or use a USB
    Flash Drive, since some of them do better with file groups;
    if just using the device to move large files between PCs.
    Good luck & happy computing!

  • My computer says"not enough free space to back up iphone to computer"

    i keep recentlyl getting a notice when i connect my iphone 5 (running snow lepoard on my mac) " not enough free space on this computer to backup iphone i have 106gigs of free space, my iphone5 is 64gig help please!!!!

    Close iTunes & navigate to:
    ~/Library/Application Support/MobileSync/Backup/
    and delete everything in that Backup folder, but not the folder itself.

  • HT1414 I just got a replacement iPhone 5 (64MB) for one with a cracked face, and tried to restore it.  Got an error message saying the iTunes could not restore the iPhone because not enough free space is available on the iPhone.  Now what?

    I just replaced my iPhone 5 because of a cracked face.  I backed up the old phone to iTunes.  When I tried to restore my data off of iTunes to the new phone, I got an error message saying that iTunes could not restore the iPhone because not enough free space is available on the new iPhone.  Now what?
    I have Apple Care+, but I'll be darned if I can find any way to contact anyone at Apple to talk to about this.  They take your money, but make darned sure they don't have to support you unless you jump through a bunch of hoops first, like this site.

    I've done a restore.. The phone was completely wiped back to factory settings.. It then tells me there isn't enough space on the phone to restore from back up? How when the phone is empty?!

  • TS1503 After an update on my iPhone 4, (I updated using my MacBook Pro) I first received the message, iTunes was not able to load all of iTunes library back on your phone, not enough free space on your phone. (not an exact quote, essentially the same mean

    The complete iTunes library was already on my iPhone 4. Why would it all not go back on? It left out around 4 or 5 songs from my play list. How do I get them back on my iPhone?
    Note: All software on both devices is up to date.
    Then, I tried to sync my iPhone to my MacBook Pro. I got the message, cannot sync your iPhone because there is not enough free space in the iTunes library (not exact quote, but same meaning).
    I researched how to get more free space on my phone which might 'supposedly' alleviate the above issues. I removed some less used apps, and some photos and videos from my phone. Then, I tried backing up again. I still got the message there wasn't enough free space on my phone, and the missing songs from the iTunes library were not returned to my phone. I gave another try at syncing my iPhone. I still got the same message that the phone couldn't be synced because  there wasn't enough free space in the iTunes library.
    Any suggestions on how to remedy these problems will be appreciated!
    BTW... I read a suggestion on the internet to restore my phone (I did  this recently when something went wrong during a phone update and the whole process went 'hey-wire', shutting down before the update was complete. However, at that time, all of my songs and apps were still on my phone and stored in the iTunes library.) If I restore my iPhone now, will the apps and songs no longer on my phone be lost?
    Sorry there are so many questions within the same 'New Discussion' thread I'm starting! But, I think all of these issues are somehow related.
    Thanks!

    I Have fumbled all day to this resolved, I'll run the battery down and see what happens afterwards. This is not good !

  • IPod cannot be updated because there is not enough free space

    iPod cannot be updated because there is not enough free space to hold all of the songs in the iTunes music library. But my iPod does not show any songs. This all strated when I plugged the iPod in to the computer to charge it. I lost my songs on the iPod and cannot update it my play list. My iPod shows up in my iTunes, and show that there is songs there. But why does my iPod not show the songs, it is blank. I have run the gambit today, reset reinstall, updates, the works .... Can anyone please help? I just got this thing and it was working great until this. This has been the most frustrating day I have ever had.

    Auto update playlist and music. I tried waht you sugested earlier, and it gave me a diferent message. I have it working, I moved one of the folders out of the iPosd_Control and I am able to see the list in iTunes. One of the songs in the folder could have been corrupted. I thank you for your help. I still do not understand the multi folders. This is a good one for anyone else who gets that message.

  • IPod touch cannot be synced because there is not enough free space to hold all of the items in the iTunes Library

    Hi, I have just transferred my whole iTunes library from my old computer to my new one and am trying to sync my iPod to the new one. However I get an error message saying "iPod touch cannot be synced because there is not enough free space to hold all of the items in the iTunes Library (additional 5.38GB required). I currently have 8.5GB free on my iPod so I don't understand why it cannot sync.

    Hey Georgiarose94, If what's going on, is what I think it is, when you sync the information it's over written, it can take 2 to 3 times more space the get the info on your iPod, once it's there the info only occupies the space it needs. Kind if of like moving, when you first step in the room with boxes of stuff there's no room. But after you get everything put away all is well. If you haven't already, connect your iPod to your computer, from your iPod Summary page, go down to Options and check reduce bit rate to (select 128 kbps). (Wording maybe a little different). Will greatly reduce memory space needed on your iPod, and you really do not hear the difference in sound quality. Other option, go to music and select manual so you can pick which music you place on the iPod. You need to reduce by 5.38GB of information to finish your download. Hope this helps. Cheers.

  • Question I have a dilemma . I added a lot of songs in my iTunes now when I synced my ipod this message appear "Elma's ipod cannot be synced because there is not enough free space to hold all the items in the iTunes library (additiona

    I addesd a lot of songs in my itunes, now when I synced my ipod this message appear "elma's ipod cannot be synced because there is not enough free space to hold all the items in the itunes library (additional 382m is required). Then I uncheck a lot of song and synced my ipod again same message appeared. Do I need to buy a new ipod with more memories? Somebody told me to check apply after I unchecked some of the songs but I cannot find the word APPLY. please help I'm not a very technical person.

    The Sync button becomes the Apply button, if you change the iPod's settings in iTunes.  If you are only unchecking songs in the iTunes music library, you click on the Sync button.
    When you select the iPod in iTunes, you see the iPod's Summary screen on the main part of the iTunes window.  There is a checkbox there for Sync only checked songs.  Did you check that checkbox?  If you want iTunes to ignore the songs you unchecked when syncing your iPod, that setting needs to be enabled.  If you change that setting, you'll see the the Sync botton has changed to Apply.  Click Apply.
    That method of unchecking songs works, but it may become annoying over time, as you need to uncheck more and more songs.  If you want advice on some other more convenient ways to make it work, you can post back.

Maybe you are looking for