Can i get total hard disk space in a machine?

Hi,
Can i get the total hard disk space in a machine?.
Thanks.

>>
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=405
7701
which of course was not a bug at all but a feature
request...Working as designed ;-)

Similar Messages

  • How can i get my hard disk cable replacement

    how can i get my hard disk cable replacement in Ghana

    Remove or rename a folder on the root level probably called something like Private or Video or DCIM.

  • Can't get external hard disk icons to appear on iMac desk top

    Hi guys,
    I hope someone can help me. I have OS X Lion on my iMac. I noticed that a few days after installing it, my external  hard disk icons and  Macintosh HD icons  disappeared from the desktop. I tried going to Finder- Preferences- Show these items on desktop and checked the appropriate boxes but this only restored the Macintosh HD icon to the desktop. Checking the "External disks" box makes no difference. When I open Finder I can see the external hard disks in the sidebar so I don't think there is a problem with the disks. Can anyone advise me on how to restore the external hard disk icons to the desktop?
    Thanks a million

    I'm not sure why they're not showing but try doing a couple of troubleshooting steps. Restart the machine in the Restore Partition, when you hear the startup tone hold down the Option key and choose the Restore Partition. Then open Disk Utilities and Repair Disk Permisssions on your internal HD at least 2x, while you are in DU it wouldnt hurt to run Repair Disk, again 2x. Then restart the computer in Safe Mode to clear some caches and finally restart normally and check.

  • I am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!

    i am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!
    When i press command+I (Get Info) i see that there is 140 GB "Available Space" on my hard disk but when i click on my hard disk icon on the desktop, and then press "space" i only see 102 GB free!! What the f*???
    Please HELP!!!!!! Getting second thoughts on Lion!!!!

    Hi b,
    Have you restarted yet?

  • After clean install of Snow Leopard, Time Machine did not restore all files.  When I try to restore these files I get "Not enough disk space" error.  What do I need to do to get these important files back onto my Mac from my external hard drive??

    After clean install of Snow Leopard, Time Machine did not restore all files.  When I try to restore these files I get "Not enough disk space" error.  What do I need to do to get these important files back onto my Mac from my external hard drive?? 

    Janet.b wrote:
    About 3 years old...pretty dated now I guess.  Am thinking I may just need to have it upgraded by a Mac tech.
    For what the Apple Store's charge you can buy almost buy a new computer.
    Just for giggles I brought my old laptop in for a drive upgrade and asked, they wanted $600 for a drive that only cost $120 at the time and it was a slow 5,400 RPM drive. The new Mac's of a similar make were going for $1000.
    I did the drive replacement myself, got a faster drive of better quality for $300 instead.
    Then another time I asked for a RAM upgrade from 4GB to 8GB, they wanted to charge $400 + $35 for the labor.
    The same RAM is on Crucial.com for $90 and all I need is a 00 micro phillips screwdriver.
    So you see what's going on here.
    I think what you should do, if your out of warranty/AppleCare, is to call up the local PC tech guy who also does Mac's and have them fix you right up.
    They can offer more personalized care which you need. Clone your old drive to the new and everything.
    With Apple they are overworked at the Genius Bar and just place roadblocks so you buy a new machine instead.
    For instance, all new iMac's now have proprietary drive software installed on the hard drives for heat monitoring. So now the only choice a user has is to bring their iMac into a Apple Store for a very expensive drive upgrade, which a person then decides the money is better spent buying a new machine.

  • I've been getting the error message "The disk you inserted was not readable by the computer". I can't open system preferences, disk utility, or Time Machine. I'm guessing it has something to do with my external hard drive, although it hasn't been touched.

    I've been getting the error message "The disk you inserted was not readable by the computer". I can't open system preferences, disk utility, or Time Machine. I'm guessing it has something to do with my external hard drive, although it hasn't been touched lately, but I can't figure out how to solve the problem. Any suggestions? Thank you!

    Thanks for your quick response. I had a look at your discussion... I tried it on a Windows machine and I thought that was compatible with ExFAT?
    Therefore I need to attempt to use my external hard drive with a machine that boasts OS X 10.6.5 or above and then it should work?
    Thanks

  • I am running iTunes on an IBM comp system Win XP with a 70gb hard disk. I have 4 kids with 4 IPOD Touches. Their apps and album art are eating up the hard disk space. I changed the Media Folder to an external hard disk. How do I get the apps to go their?

    I am running iTunes on an IBM compatible system running Windows XP with a relatively small hard disk (70gb). I have 4 kids with 4 IPOD Touches, multiple IPOD Nanos, etc. Their apps and album art are eating up the hard disk space. I changed the Media Folder through Edit, Prferences, Advances, iTunes Media Folder to an external hard disk. The new music downloads and purchases go there but the apps and other items do not. How do I get the apps and other iTunes software and downloads to go to the external hard disk

    There is no built in function to make this happen.
    Your options are:
    Upgrade the existing hard drive.
    Try creating a link for the app folder on the external drive... this may or may not work.
    Realistically, a larger hard drive is a better solution, then use the external drive for keeping a backup of the ENTIRE iTunes folder and any other personal data on the system.

  • Can I migrate physical hard disks in storage space from Windows 2012 R2 to Windows 2012?

    Hi,
         We have a Windows 2012 R2 server.  It's running storage space with 10 hard disk in Parity mode.  We would like to move the hard disks from Windows 2012 R2 server to Windows 2012, so that we can "free" our windows
    2012 R2 server to do something else.   Can we just unplug the hard disks in Windows 2012 R2 and hook it to Windows 2012 server without any data lose?  If we can do it, what's best "formal" procedures to do it?
    Thanks,
    Tak

    Hi Tak,
    Storage space will be recognized in different servers (and even clients) which support.
    If it is just a "Parity mode", you can turn off the computer, unplug and connect these disks to the new server directly. 
    If any Windows Server 2012 R2 new feature is involved, it may not work in Windows Server 2012 but it should not damage your data and you can still connect these hard disks back to original server.
    However, backup important files is always recommended. 
    If you have any feedback on our support, please send to [email protected]

  • Can we add additional hard disk for 64gb macbook air, since only 3gb is available as space.

    can we add additional hard disk for 64gb macbook air ? since only 3gb is available as space. Is their any other way. Kindly suggest.

    Try http://eshop.macsales.com/shop/SSD/OWC/Aura_Pro_Air_2012
    Allan

  • I am having mac book air 2012model i had installed mavericks and use it, i long press command and power button at a same time and i saw the command prompt, from that i had formated the total hard disk. how to i want to install the OS again ?

    I am having mac book air 2012model i had installed mavericks and use it, i long press command and power button at a same time and i saw the command prompt, from that i had formated the total hard disk. how to i want to install the OS again ?
    i tryed with download mavericks but finally its saying a error message like cant conect to istore like that its saying and every thing is clear like internet and other stuf i tryed with 3times no progress same error pls help.. i bought this lap for my bro with his apple id only we use it now he got a new mac book pro so he gave to me so i formated and use it i use my apple id is that problem come because of changing apple id ? pls eplain

    Firstly, what is the source of the 10.6.4 disc? Is it the original installation disc for your MacBook, or one 'borrowed' from another computer?
    It isn't the retail version, because that's 10.6.3.
    Assuming it's the correct disc (i.e. the one that shipped with your Mac), you need to boot from it again.
    OK the language page.
    From the installer screen, ignore the continue button, go to the menu bar and choose Disk Utility from the Utilities menu.
    In DU, select your internal drive in the sidebar (the top item with the makers name and serial no.).
    Run Repair Disk. If that comes up as disk OK, click the partition tab. Select the partiton from the drop-down above the graphic; 1 partiton is all you need.
    Go to the options button and ensure that the partition scheme is GUID and the file system to Mac OS Extended (Journalled). Name the partiton (usually Macintosh HD), click Apply.
    When the Macintosh HD volume appears below the drive name, quit DU and see if you can then install.
    If the screen after the language screen doesn't show the menu bar, it may be necessary to use another Mac to do the job with the MB in Firewire Target Disc Mode. If it won't boot in TDM, or the MB doesn't have FireWire then it's getting very difficult.

  • Powershell script to get the low disk space on the servers...

    Hi,
    We have many SQL & Sharepoint servers running on windows server. I need some Powershell script to get the low disk space on those servers and it should send an mail alert saying "Disc d:\ have less than threshold 15% free space".
    Awaiting for response.
    Thanks
    Anil

    you should be able to use this powershell script which you can run as a scheduled task.
    just change the details at the start of the script to point the script to the right location to create log files. you will need to have a plain text file containing a list of server names or ip addresses that you want to check drive space on.
    # Change the following variables based on your environment
    #specify the path to the file you want to generate containing drive space information
    $html_file_dir = "\\server\share\DriveSpace"
    #specify the path and file name of the text file containing the list of servers names you want to check drive space on - each server name on a seperate line in plain text file
    $server_file = "\\server\share\servers.txt"
    #speicfy the from address for the email
    $from_address = "[email protected]"
    #specify the to address for the email
    $to_address = "[email protected]"
    #specify the smtp server to use to send the email
    $email_gateway = "smtp.domain.com" # Can either be DNS name or IP address to SMTP server
    # The seventh line from the bottom (line 167) is used if your smtp gateway requires authentication. If you require smtp authentication
    # you must uncomment it and set the following variables.
    $smtp_user = ""
    $smtp_pass = ""
    # Change the following variables for the style of the report.
    $background_color = "rgb(140,166,193)" # can be in rgb format (rgb(0,0,0)) or hex format (#FFFFFF)
    $server_name_font = "Arial"
    $server_name_font_size = "20px"
    $server_name_bg_color = "rgb(77,108,145)" # can be in rgb format (rgb(0,0,0)) or hex format (#FFFFFF)
    $heading_font = "Arial"
    $heading_font_size = "14px"
    $heading_name_bg_color = "rgb(95,130,169)" # can be in rgb format (rgb(0,0,0)) or hex format (#FFFFFF)
    $data_font = "Arial"
    $data_font_size = "11px"
    # Colors for space
    $very_low_space = "rgb(255,0,0)" # very low space equals anything in the MB
    $low_space = "rgb(251,251,0)" # low space is less then or equal to 10 GB
    $medium_space = "rgb(249,124,0)" # medium space is less then or equal to 100 GB
    #### NO CHANGES SHOULD BE MADE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
    # Define some variables
    $ErrorActionPreference = "SilentlyContinue"
    $date = Get-Date -UFormat "%Y%m%d"
    $html_file = New-Item -ItemType File -Path "$html_file_dir\DiskSpace_$date.html" -Force
    # Create the file
    $html_file
    # Function to be used to convert bytes to MB or GB or TB
    Function ConvertBytes {
    param($size)
    If ($size -lt 1MB) {
    $drive_size = $size / 1KB
    $drive_size = [Math]::Round($drive_size, 2)
    [string]$drive_size + ' KB'
    }elseif ($size -lt 1GB){
    $drive_size = $size / 1MB
    $drive_size = [Math]::Round($drive_size, 2)
    [string]$drive_size + ' MB'
    }ElseIf ($size -lt 1TB){
    $drive_size = $size / 1GB
    $drive_size = [Math]::Round($drive_size, 2)
    [string]$drive_size + ' GB'
    }Else{
    $drive_size = $size / 1TB
    $drive_size = [Math]::Round($drive_size, 2)
    [string]$drive_size + ' TB'
    # Create the header and footer contents of the html page for output
    $html_header = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <title>Server Drive Space</title>
    <style type="text/css">
    .serverName { text-align:center; font-family:"' + $server_name_font + '"; font-size:' + $server_name_font_size + `
    '; font-weight:bold; background-color: ' + $server_name_bg_color + '; border: 1px solid black; width: 150px; }
    .headings { text-align:center; font-family:"' + $heading_font + '"; font-size:' + $heading_font_size + `
    '; font-weight:bold; background-color: ' + $heading_name_bg_color + '; border: 1px solid black; width: 150px; }
    .data { font-family:"' + $data_font + '"; font-size:' + $data_font_size + '; border: 1px solid black; width: 150px; }
    #dataTable { border: 1px solid black; border-collapse:collapse; }
    body { background-color: ' + $background_color + '; }
    #legend { border: 1px solid black; ; right:500px; top:10px; }
    </style>
    <script language="JavaScript" type="text/javascript">
    <!--
    function zxcWWHS(){
    if (document.all){
    zxcCur=''hand'';
    zxcWH=document.documentElement.clientHeight;
    zxcWW=document.documentElement.clientWidth;
    zxcWS=document.documentElement.scrollTop;
    if (zxcWH==0){
    zxcWS=document.body.scrollTop;
    zxcWH=document.body.clientHeight;
    zxcWW=document.body.clientWidth;
    else if (document.getElementById){
    zxcCur=''pointer'';
    zxcWH=window.innerHeight-15;
    zxcWW=window.innerWidth-15;
    zxcWS=window.pageYOffset;
    zxcWC=Math.round(zxcWW/2);
    return [zxcWW,zxcWH,zxcWS];
    window.onscroll=function(){
    var img=document.getElementById(''legend'');
    if (!document.all){ img.style.position=''fixed''; window.onscroll=null; return; }
    if (!img.pos){ img.pos=img.offsetTop; }
    img.style.top=(zxcWWHS()[2]+img.pos)+''px'';
    //-->
    </script>
    </head>
    <body>'
    $html_footer = '</body>
    </html>'
    # Start to create the reports file
    Add-Content $html_file $html_header
    # Retrieve the contents of the server.txt file, this file should contain either the
    # ip address or the host name of the machine on a single line. Loop through the file
    # and get the drive information.
    Get-Content $server_file |`
    ForEach-Object {
    # Get the hostname of the machine
    $hostname = Get-WmiObject -Impersonation Impersonate -ComputerName $_ -Query "SELECT Name From Win32_ComputerSystem"
    $name = $hostname.Name.ToUpper()
    Add-Content $html_file ('<Table id="dataTable"><tr><td colspan="3" class="serverName">' + $name + '</td></tr>
    <tr><td class="headings">Drive Letter</td><td class="headings">Total Size</td><td class="headings">Free Space</td></tr>')
    # Get the drives of the server
    $drives = Get-WmiObject Win32_LogicalDisk -Filter "drivetype=3" -ComputerName $_ -Impersonation Impersonate
    # Now that I have all the drives, loop through and add to report
    ForEach ($drive in $drives) {
    $space_color = ""
    $free_space = $drive.FreeSpace
    $total_space = $drive.Size
    $percentage_free = $free_space / $total_space
    $percentage_free = $percentage_free * 100
    If ($percentage_free -le 5) {
    $space_color = $very_low_space
    }elseif ($percentage_free -le 10) {
    $space_color = $low_space
    }elseif ($percentage_free -le 15) {
    $space_color = $medium_space
    Add-Content $html_file ('<tr><td class="data">' + $drive.deviceid + '</td><td class="data">' + (ConvertBytes $drive.size) + `
    '</td><td class="data" bgcolor="' + $space_color + '">' + (ConvertBytes $drive.FreeSpace) + '</td></tr>')
    # Close the table
    Add-Content $html_file ('</table></br><div id="legend">
    <Table><tr><td style="font-size:12px">Less then or equal to 5 % free space</td><td bgcolor="' + $very_low_space + '" width="10px"></td></tr>
    <tr><td style="font-size:12px">Less then or equal to 10 % free space</td><td bgcolor="' + $low_space + '" width="10px"></td></tr>
    <tr><td style="font-size:12px">Less then or equal to 15 % free space</td><td bgcolor="' + $medium_space + '" width="10px"></td></tr>
    </table></div>')
    # End the reports file
    Add-Content $html_file $html_footer
    # Email the file
    $mail = New-Object System.Net.Mail.MailMessage
    $att = new-object Net.Mail.Attachment($html_file)
    $mail.From = $from_address
    $mail.To.Add($to_address)
    $mail.Subject = "Server Diskspace $date"
    $mail.Body = "The diskspace report file is attached."
    $mail.Attachments.Add($att)
    $smtp = New-Object System.Net.Mail.SmtpClient($email_gateway)
    #$smtp.Credentials = New-Object System.Net.NetworkCredential($smtp_user,$smtp_pass)
    $smtp.Send($mail)
    $att.Dispose()
    # Delete the file
    Remove-Item $html_file
    Regards,
    Denis Cooper
    MCITP EA - MCT
    Help keep the forums tidy, if this has helped please mark it as an answer
    My Blog
    LinkedIn:

  • Losing Hard Disk Space

    Hi All. I'm seriously losing hard disk space on my Macbook Pro 17 and it's been doing this heavily since I installed Lion.
    My laptop has a 160GB hard drive. Out of this, I can add up only 70GB of files. Add another 20GB of free disk space so that totals 90GB. What's happened to the remaining 50GB hard disk space? Are there invisible files being written that I need to look for? Please help as this is really frustrating. Even using WhatSize doesn't add up to all the hard drive space I should have.

    Naz Hussain wrote:
    On mobile backups I only have 1.3MB. I use Time Machine but that goes to an external hard drive.
    By default, Lion on notebook computers will also save backups to your local disk. If you have many large files that are changing, that could account for your space.
    If any software is creating directories then I can't see it.
    The curl and ffmpeg make me suspect that you have some torrent or peer-to-peer software. Such software would generate many large files that Time Machine's local snapshots would backup. It would also be likely to save such files in temporary directories that are hidden.

  • Managing Hard Disk space

    Hello all
    Well I'm glad to say I'm near the end of my first FC project, it has taken me a couple of months but I'm for the most part of happy with and, it has been a learning experience for sure...
    One thing I have learned is the amazing amount of hard disk space consumed, this has me questioning a few things.
    Is it normal for an average of 1 minute to consume 1 Gig of HD space ?
    What is the best way for one to manage HD space when working with FC ?
    I know I'll need to up-grade my HD to one much larger, my thought is going with an external HD. If all goes as planned I'll have a G5 and can retire my G4.
    Thanks for any and all advise....
    James

    "If you get an external HD make sure it is a Firewire one and not a USB 2.0."
    My advice (from bitter experience) is to get TWO separate external HDs, one for the Scratch and one as a backup of the Scratch, backed up regularly. If the Scratch disc fails you will have to re-capture from your camera and if you have several active projects that is a pain - in fact a disaster if the failure damages the captured files and you can't re-shoot.
    A RAID seems an attactive proposition because whenever you save a file to the RAID, (and I think that applies to capturing), the data are written simultaneously to the other drive in the RAID, so making a continuous and automatic backup at thast time. However, if the internal power supply circuitry in the RAID case failes, both drives fail. So two HDs, each in a separate case, seems safer.

  • When i import movies from my iPhoto app to my iMovie app does it make a copy (thereby using double the hard disk space) or does it link to my iPhoto app? The reason i ask is i want to archive all my videos from iPhoto/iMovie. HELP!

    When i import movies from my iPhoto app to my iMovie app does it make a copy (thereby using double the hard disk space) or does it link to my iPhoto app? The reason i ask is i want to archive all my videos from iPhoto/iMovie. Do i need to archive the movies in iPhoto AND iMovie? HELP!

    Hi - I'm having the same problem with freeing up space on the HD. If I can't free space if I'm using any part of the clip, how can I split up the clips so that I can discard the part I won't use? This is crazy! I have only 4 GB of free space left!
    Also, I've tried to transfer the project file to my external HD but I keep getting an error saying I can't transfer it. I've been told this is because I don't have enough space on the HD for the transfer. I tried a similar transfer with another computer with plenty of HD space but the same error occurred. Is there a way to break up the project file into small pieces for the transfer (I'm thinking the whole movie file is just too big)?
    Thanks for any info!

  • How much hard disk space remains?

    Sorry, the Missing Manuel for Lion isn't available until the end of the month, but I have a lot of basic questions.
    With Snow Leopard when i opened a Finder window at the very bottom of the window pain was information on how much memmory was being used by whichever folder I had opened.  I know I can hit Tab to have a window pop up and tell me, but I liked that old feature built into the Window.  Is there a way to change the setting back so that when I open a finder window I get a reading on how much hard disk space is being used by X file? 

    Select Show Status Bar from the Finder's View menu. As far as space used by any one file that is listed under the Size column in the Finder when using List View.

Maybe you are looking for