Disk Utility detects wrong size on my external FW disk...
I have a external firewire disk that I want to use with my macbook pro. It is a Maxtor Onetouch. It has previously been used with linux and had some ext3 and xfs partitions on it. Works like a charm on win/lin and is detected as a 250GB disk. But when I hook it up to my macbook Disk Util says it is 128GB only. I can create a 128GB partition on it.
I have 2 external disks. I have previously changed the HD inside both of those boxes without any problem on win/lin. The HD in question is a WD 250GB disk I just bought. I tried to put it in my Lacie FW enclosure only to see that it is still detected as an 128GB disk
Did you format it using the GUID partition map selection? AFAIK, MS-DOS and FAT-32 format might be causing your problem.
Similar Messages
-
Disk Utility: Reporting wrong size for disk after a restore
First up, hardware is G4(PPC) running OS 10.4.11
I've just purchased and installed a new 500G drive for this old workhorse as an upgrade for the previous secondary drive. Set it up with a single partition, JHFS+. No problems so far. Went to copy the files from the old drive to this new one and thought, "Why don't I try that handly looking Restore button?". +Yeah, apparently a bad idea+. The old drive is 120GB. I set its (only) volume to be the source and my newly created partition to be the target; set it going and left it alone. All appeared to be well when I came back, until I checked the available space on the new drive.
Disk Utility now reports that this new, 500G drive has a Total Capacity of 128G (137,438,952,960 bytes).
*Remedies tried so far:*
- I've tried reformatting/partitioning, but wasn't able to convince it otherwise. Also tried it booting from an install DVD just in case that made a difference.
- I downloaded a utility from the drive manufacturer which I managed to get on to an ancient, dusty w2k box. Reformatted the drive with 2 NTFS partitions. This seemed to do the trick as they both mounted when I rebooted the Mac. However, when I went to reformat the volumes to JHFS I noticed that the total disk size was still being reported as 128G. Still, they reformatted fine and I transfered my data to them. On a reboot, though, the Mac decided that it didn't want to see the second partition and only shows me disk1s10, ignoring the second partition I set up.
- I have an identical, empty drive to the 500G. I thought I might be able to use the Restore "feature" to trick it back. Set up the second 500G in a firewire box, ran the restore from the empty volume to the screwed up one. No dice.
I thought that OS X ignored any sort of BIOS info on a drive and merely looked at the physical media. Is this correct? Does it store this gathered info in a file somewhere that I can delete?
*This is a call for help.*
I have no problems playing with the command line as root, if that's the sort of suggestions you've got. I just thought I'd ask here before I fdisk/dd etc from new500 to old500. Geometry of the new500 is 60801/255/63.Thanks! That sounds like a good short term solution for a backup.
EDIT: Cross reference link for anyone who happens to google this thread with a similar problem:
http://discussions.apple.com/thread.jspa?messageID=7230072&tstart=0
Message was edited by: mr_lunch -
Disk utility reporting wrong size drive
I have a Macbook 4,1 with an 120GB Hard drive. The hard drive has 3 partitions:
12GB Linux Partition
100GB OSX Partition
1GB Linux Swap Partition
It also has 7GB of Free Space at the end of the drive
Now I want to shrink the OSX Partition down to around 80GB (It has 30GB available space) so I have 27GB of Free space to create a Windows Partition. The problem is when I go into disk utility it reports the above partition structure but it also reports I have "100.3GB Free space" at the start of the drive. This is obviously incorrect. It seems harmless enough but the problem is it causes a "The chosen size is not valid for the chosen filesystem" error when I try to resize the OSX partition because the system adds up the size of all of the partitions, realises it's 220GB and so throws the error because it's above the 120GB Drive size. I can't seem to get it to realise that there is no free space at the start of the drive. I've tried using a couple of Linux partitioning programs like GParted and they recognise the correct partition structure but they had a couple of unrelated problems.
Does anyone have any ideas how I can get Disk Utility to sort itself out?I do not think you can use DU for resizing if you used a linux disk utility before. I never could do that, but am ready to learn how to do that.
-
Create custom document with wrong size
Hi,
I have a problem (on Sun Solaris 5.8) when I create custom document with more than 10MB size.
I've created an agent which detects the events on a custom data type
MYDOCUMENT (extension .mydoc).
When I put a new document test1.mydoc (size of 10MB for example), my agent detects the new document, creates a copy, sets the class object to
MYDOCUMENT , removes the original document and puts the copy into the same folder.
But sometimes, the copy created has a wrong size (less then 10MB).
How can I configure the nfs server to be sure that the agent waits for the complete size of the added document.
I need HELP !!!!
ThanksHi Pavithra,
yeah you can create your custom table by entering fields in Standard. for more details
refer below screen shots
Regards,
Thangam.P -
File displaying wrong size.
The file displaying the wrong size is Fallout New Vegas on a wineskin wrapper. The wrapper was 500 Megabytes. When I installed fallout New Vegas on the wrapper, it remained at 500 Megabytes. I had installed it on the Desktop and now my About my Mac is doing the same thing. It only displays the 500 megabytes the file shows. I clicked more info and it still said that. How do I fix this to display it?
BTW, when I copy it, it says 8.33 Gigabytes and that is it's correct size.The Mac is reporting file size in megabytes. Windows is reporting file size in mebibytes. The difference is that a megabyte is 1,000,000 bytes, while a mebibyte is 1,048,576 bytes. This change was made in Mac OS X so that reported disk sizes would agree with manufacturer's claimed sizes... most manufacturers claiming a size of 500 GB mean 500,000,000,000 bytes. Mac OS X will also call that number of bytes 500 GB, while Windows will call it 465.7 GB. That confused a lot of people.
For more information, see:
http://en.wikipedia.org/wiki/Gigabyte#Consumer_confusion -
PDF is the wrong size from framemaker 8
I am trying to create a PDF from Framemaker 8. The page size of the doc is US letter (216mm x 279mm)
I am tring to change this to A4 (210mm x 297mm). Margins or extra white space is not an issue.
Not matter what setting I change in Framemaker 8, either in the print dialog under "PDF setup" or in "Setup"
where I am changing everything to A4 my PDF generates as 210mm x 279mm
I have tried various job options and but still the PDF is the wrong size
FYI I am using Frame 8/Distiller 9..
Any ideas..?>Any ideas..?
Sure, ask in http://forums.adobe.com/community/framemaker -
How to detect the size of an image
Hi,
I have a servlet which grabs an image (jpg or gif) from a BLOB stored in my database and sents the image back to the client through the ServletOutputStream. This all works good and the image is presented nicely. However, I now want to have my servlet detect the size of the image, and if it is too big resize the image and return it.
As I am new to images in JAVA I am unsure how to do this and what tools to use for it. I found some information on JAI, but this seems way to elaborate for what I need. Please let me know if anyone knows how to do this.
Thank you and regards,
Joost SchoutenThis code figures out the size of any object in bytes. I am not sure about resizing the image though..
public int getSerializedSize(Object object)
try
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(baos);
oos.writeObject(object);
byte[] bytes = baos.toByteArray();
oos.close();
baos.close();
return bytes.length;
catch(Exception e) //not good
e.printStackTrace();
return -1;
}Rishi -
Help: JPanel/JFrame display complexities, wrong size
I am trying to make a simple game of worms.I wan't to draw a rectangle in the center of the window where in the middle the game is played and on the outside score, lives and other such things are displayed. The problem is the rectangle won't draw properly because the window is the wrong size and I don't know if it is something I am doing wrong with the panel or frame.
import javax.swing.*;
import java.awt.*;
public class DemoWormPanel extends JPanel implements Runnable{
private static final int WIDTH = 600, HEIGHT = 400;
private Graphics dbG;
private Image dbImage;
private Thread animator;
private boolean running = false;
private Rectangle walls;
public DemoWormPanel() {
super();
setSize(WIDTH,HEIGHT);
public void startGame() {
if (animator == null) {
animator = new Thread(this);
animator.start();
running = true;
//defining game walls at 50 pixels within panel border
walls = new Rectangle(50, 50, WIDTH - 50, HEIGHT - 50);
public void gameRender() {
if (dbImage == null) {
dbImage = createImage(WIDTH, HEIGHT);
if (dbImage == null) {
System.out.println("Error creating double buffer");
System.exit(0);
dbG = dbImage.getGraphics();
dbG.setColor(Color.black);
dbG.fillRect(0,0,WIDTH,HEIGHT);
dbG.setColor(Color.white);
dbG.drawRect(walls.x, walls.y, walls.width, walls.height);
public void paintComponent(Graphics g) {
super.paintComponent(g);
g.drawImage(dbImage, 0, 0, this);
g.dispose();
public void update(Graphics g){
paint(g);
public void run() {
while (running) {
gameRender();
repaint();
try {
Thread.sleep(1000/50);
} catch (InterruptedException e) {}
System.exit(0);
public static void main(String[] args) {
DemoWormPanel wp = new DemoWormPanel();
JFrame f = new JFrame();
f.setTitle("Worms");
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.add(wp);
f.setSize(WIDTH, HEIGHT);
f.setVisible(true);
wp.startGame();
}Somewhere in there is my problem.
What happens is that the right and bottom walls of the Rectangle are cut off of the screen because the window is not the right size. I changed the code to determine if the coordinates of the walls were accurate every iteration and they were. I also made it check the width and height every iteration by printing out this.getWidth() and this.getHeight() and found that instead of a 600 x 400 window, I have a 584 x 364. I also tried changing the panel and frame's size methods to make a new dimension instead of setting it directly from my constants and it had no effect. I also added directly to those constants to make it precisely 600 x 400 but the rectangle is still cut off, so maybe I also have a graphics issue. The only other potential issue I can think of is that I have Vista but I looked around here and searched google and found no similar issues to this.
I am not new to java but I am also not advanced. I just started using java again after about 6 months and I have made a pong game before without this problem, on another computer though.I am at my wits end. I'll check for responses tomorrow and thank you for any help or insight you can offer.the problem is here
walls = new Rectangle(50, 50, WIDTH - 50, HEIGHT - 50);
at best the right/bottom walls will equal the frame's dimensions. try it as
walls = new Rectangle(50, 50, WIDTH - 100, HEIGHT - 100);
but this won't get you exactly what you want, due to the titlebar height (30?)
slightly different version
import javax.swing.*;
import java.awt.*;
class DemoWormPanel extends JPanel {
private static final int WIDTH = 600, HEIGHT = 400;
public DemoWormPanel() {
setBackground(Color.BLACK);
setPreferredSize(new Dimension(WIDTH-100,HEIGHT-100));
public static void main(String[] args) {
DemoWormPanel wp = new DemoWormPanel();
JFrame f = new JFrame();
f.setLayout(new GridBagLayout());
f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
f.add(wp,new GridBagConstraints());
f.setSize(WIDTH, HEIGHT);
f.setVisible(true);
} -
HP 2570 Photosmart
Running windows XP
No messages
No known changes
I tried this question in the Home and Network printing forum, and after 4 days, not one person has replied, much less had an answer.
Recently, my HP 2570 has been printing certain files the wrong size. I have a graphics design program (basically line art) which is supposed to print my design at actual size. The design has a background of a 1" by 1" grid.
Until recently, I have had no problems. Now, when I try to print a design, the print preview shows the image as it should appear, but the printed image is reduced to about 87% of the actual size. This is easy to verify - I measure the spacing of the grid lines - they are 7/8" apart.
I printed the same design on two different days, and the two printed images are NOT the same size.
The only thing which I can find which seems unusual is that when I look at the printer driver details, I find FIVE different files. They are:
C:\\windows\system32\drivers\serscan.sys
.....................................hpotiop2.dll
.....................................hpovst09.dll
.....................................hpowiamd.dll
.....................................hpzc3212.dll
Any ideas?Hi there,
Try downloading and running the print and scan doctor located here(to make sure there are no software issues causing the problem):
http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
It can fix a lot on its own and if not give a better idea of what is going on.
Best of Luck!
You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too. -
I am a rookie web designer. I recently created a site using CS6. http://www.joshuahetzler.com When I previewed the site in Dreamweaver it looked good in Firefox and IE. I published the site and now it is messed up in Firefox. All the text is the wrong size. Does anyone know how to fix this? Does it have something to do with my hosting provider? (I deleted a wordpress site from the directory an hourago and put this new site in its place) Why does IE display properly, but not Firefox...
Caused by a bad link to your site's CSS file. This is pointing to a file on your local hard drive which nobody but you can see.
<link href="file:///C|/hetzlerj/jhgc/menu.css" rel="stylesheet" type="text/css" />
Open your template and reconcile the path to your site folder. It should probably look like this:
<link href="../menu.css" rel="stylesheet" type="text/css" />
Save Template. Populate changes to Child pages. Upload Child pages.
Nancy O. -
Kodo.util.FatalDataStoreException: Wrong database file version
Hi,
I am using Kodo JDO 3.0.2 together with HSQLDB (non-cached, same process).
It
runs fine. However, after having used a SQL tool such as Aqua Data Studio
to
inspect the database my Java code complains with the message
"kodo.util.FatalDataStoreException: Wrong database file version". I have
to
rebuild the database and extend my classes again to get rid of this error.
Is there some information in the database script that does not survive the
inspection with the SQL tool? How can I work around this?
Thanks for your help
--BrunoMarc,
It was indeed a version mismatch with my hsqldb libs. My SQL Tool used
version 1.7.2 whereas Kdo used 1.7.0. A quick update of the property file
of
Aqua Data Studio fixed the problem. Thanks for the hint.
--Bruno
Marc Prud'hommeaux wrote:
Bruno-
Without being at all familiar with "Aqua Data Studio", I'll make a
completely shot in the dark guess about what might be happening: you are
using version x of Hypersonic to access the database, and then "Aqua
Data Studio" is using version x+1. When the database is opened with HSQL
version x+1, some internal version identifier in the database file is
incremented, which disallows the previous version of HSQL (which is
being used by Kodo) from opening the file.
Again, this is a blind guess, but if it is the case, then the solution
would be to ensure that you are using the same version of HSQL in both
Kodo and "Aqua Data Studio".
Otherwise, can you post the stack trace of the exception? That might
give some more insight as to why this might be happening.
As an aside, note that Kodo doesn't store or verify any internal
"version" or anything like that, so I very much doubt that it is a
problem with Kodo itself.
In article <c1fihi$igu$[email protected]>, Bruno Schaeffer wrote:
Hi,
I am using Kodo JDO 3.0.2 together with HSQLDB (non-cached, same
process).
It
runs fine. However, after having used a SQL tool such as Aqua Data Studio
to
inspect the database my Java code complains with the message
"kodo.util.FatalDataStoreException: Wrong database file version". I have
to
rebuild the database and extend my classes again to get rid of thiserror.
Is there some information in the database script that does not survivethe
inspection with the SQL tool? How can I work around this?
Thanks for your help
--Bruno
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com -
Landscape Orientation: [view bounds] gives wrong sizes?
Hi
Getting a view's bounds rect while in Landscape Mode returns the wrong sizes:
Starting from a new UIView Template Project, I'm adding a single UIView to the ViewController in Interface Builder (in Landscape Mode) and setting the view size to width=400, height=200;
However when I add a breakpoint in the ViewController (at viewDidAppear), the sizes are w=220, h=380!
(Even though the view clearly is correct on the screen)
In myViewController.m I've set:
- (BOOL)shouldAutorotateToInterfaceOrientation:
(UIInterfaceOrientation)interfaceOrientation {
return (interfaceOrientation == UIInterfaceOrientationLandscapeRight); // home button on right
In myAppDelegate.m
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
application.statusBarOrientation = UIInterfaceOrientationLandscapeRight; //home on right
[window addSubview:viewController.view];
[window makeKeyAndVisible];
return YES;
and in the info.plist I've set: Initial interface orientation = Landscape (right home button)
I'm not trying to rotate the view with the iPhone, it is meant to be fixed in Landscape only.
Is there a workaround for this? I need to create some CALayers dependent on the correct view size.
Thanks
SteveI figured it out
-
Hi,
I stored a .jpg file in a BLOB using Oracle 9i.
When i try to read it, i get the wrong size for the Blob.length() ...
Please can someone help ...
File file = new File(fileLoc);
InputStream is = new FileInputStream(file);
long length = file.length();
OutputStream outstream = blob.setBinaryStream(length);
byte[] buffer = new byte[(int)length];
int readlength = -1;
while ((readlength = is.read(buffer)) != -1)
outstream.write(buffer, 0, readlength);
is.close();
outstream.flush();
outstream.close();
// TRY TO READ NOW
// Here comes some JDBC stuff ...
File newFile = new File("blob.jpg");
FileOutputStream fos = new FileOutputStream(newFile);
InputStream is2 = blob2.getBinaryStream();
byte[] bb = new byte[(int)blob2.length()];
int readlength2 = -1;
while ((readlength2 = is2.read(bb)) != -1)
fos.write(bb, 0, readlength2);
is2.close();
fos.flush();
fos.close();I don't see anything wrong with it myself... assuming that your changes are being committed somewhere...
Somewhere in the collection of examples at
http://www.oracle.com/technology/sample_code/tech/java/sqlj_jdbc/index.html
is a good working example with a CLOB, which should be the just about the same. I think there was also a BLOB example, but I'm not sure... -
AEX CS3 error {SetOutputWorld called with a world of the wrong size}
I am getting the following message:
After Effects error: internal verification failure, sorry! {SetOutputWorld called with a world of the wrong size}
( 78 :: 4 )
Any suggestions?Check this:
http://aeerrors.myleniumstuff.de/?p=547
Beyond that, you will have to provide more info on what you actually do. Could be a couple of things from the CoDec issues mention in my collection to outdated plug-ins doing something weird...
Mylenium -
What am I doing wrong - size issue
Need some advice...as usual!
I designed a site on my 17" monitor and set the margins to 0
and table to 100%. However when I look at it on different screens
it looks rubbish...big gap at the bottom of the page with the
design cramp at the top. I wonder if someone would mind looking at
my code and see what's wrong with it. The site was designed using
various techniques including css for nav bars, tables, and
fireworks elements. the site can be viewed at:
www.shelleyhadler.co.uk/nerja.html
thanks for your help. Shell>Re: What ams I doing wrong - size issue.
Several things...
First, your 17" monitor has noting to do with web page
layout. What
resolution is your monitor set to? it could be 800 pixels
wide or 1280
pixels... wouldn't that make a difference? That aside, screen
resolution and
size are irrelevant anyway. What counts it eh size that your
viewers have
their web browser window set at.
I have a pretty large monitor, set to a very high resolution,
so I open
several windows at once and size them so I can see the
content in all.
Sometimes my browser is full screen and sometimes its shrunk
down to less
than 600 x 800. Your web site needs to accommodate that.
Every web viewer
out there is different and likes the way they have their
screens set up. So
you need to be flexible and your site needs to be flexible.
Next, Don't design in Fireworks and import to Dreamweaver.
Fireworks is a
superb web ready graphics and imaging processing program. The
authors
(mistakenly) threw in some web authoring stuff that works
very poorly.
Design your pages using Dreamweaver. Learn html markup and
css styling to
arrange it, then use Fireworks to create graphics to support
your content.
Along the way, be aware of the diffferant browsers in use.
Internet
Explorer is the most popular (or at least most in use) simply
by virtue of
the Microsoft market share, but it is also the least web
complient (by virue
of the Microsoft arrogance) so some things that work there,
(like your green
bands) won't on other browsers and vice versa.
That said... graphically, your site looks great. You have a
good eye for
composition and simple clean design. You just need to learn
to use html to
your best advantage to create some realy nice looking and
nicely working
sites.
"shelleyfish" <[email protected]> wrote in
message
news:[email protected]...
> Need some advice...as usual!
>
> I designed a site on my 17" monitor and set the margins
to 0 and table to
> 100%. However when I look at it on different screens it
looks
> rubbish...big
> gap at the bottom of the page with the design cramp at
the top. I wonder
> if
> someone would mind looking at my code and see what's
wrong with it. The
> site
> was designed using various techniques including css for
nav bars, tables,
> and
> fireworks elements. the site can be viewed at:
>
> www.shelleyhadler.co.uk/nerja.html
>
> thanks for your help. Shell
>
Maybe you are looking for
-
Hi This question is related to table component implementation. I want to display the column values inside the small round image with different colors and value should appear in the middle.
-
I have a number of text frames on a page. For some of them, the text they contain should be a hyperlink (to another site page); for the others, they should not be hyperlinks. When I need to change text from being a hyperlink to not being one, I selec
-
Setting a default color for messages in Mail
I figured out how to change the default font & font size in messages in the Mail application, and how to change the color in my signature, however I cannot figure out how to set the default color for new messages?
-
Dashboard fonts not displaying correctly
Hello. In Dashboard, the default Apple widgets (Weather,Calendar, etc.) have outlined white fonts instead of filled in fonts. I think it's a problem with the Helvetica Neue font, but I have resolved all my duplicates and the problem still exists. Wha
-
How many network interfaces the Airport Extreme (a/b/g/n with USB) has?
I am trying to use an SNMP client on the computer to monitor my network traffic. I using the Airport Extreme (AEBS) to connect to the internet using PPPoE. wifi and ethernet (RJ45) ports are used for LAN Now after setting up the SNMP client, it shows