Growfs: cannot get partition size

Hi,
I am running Sunos v5.9 and am trying to extend a soft partition from 30gb to 44gb. The slice of disk it is on does not appear to be mirrored and is labelled d2. I ran metattach d2 10g and this completed ok but when I ran the growfs, I got the above error. I have read countless reports of having to use the raw device name and I am doing so, but to no avail. I am running:-
growfs -M /u04 /dev/md/dsk/d2 and get:-
devinfo: /dev/md/dsk/d2: Inappropriate ioctl for device
growfs: cannot get partition size
Can anyone point out what I am doing wrong please?
regards
Carl
Info
/dev/md/dsk/d2 32G 30G 2.4G 93% /u04
metastat d2
d2: Soft Partition
Device: d0
State: Okay
Size: 92274688 blocks (44 GB)
Extent Start Block Block count
0 20987842 20971520
1 182468555 6291456
2 192954317 41943040
3 239091684 23068672
Device Relocation Information:
Device Reloc Device ID
c6t40d0 Yes id1,ssd@w600c0ff00000000007ea4a22e5b3f300

looking at the response you got an error message for d38, either your have increased the size of the wrong metadevice or you may have forgotten to increase the size of the opposing sub mirror plex, if d37 and d38 form a mirror, you need to post a metastat and a df -k, to allow us to see what your config is.

Similar Messages

  • Growfs: cannot get partition size, Inappropriate ioctl for device

    Hi ,
    I am trying to increase the filesystem. I did first
    #metattach d37 1G
    d37: Soft Partition has been grown
    and then
    # growfs -M <mount point> d37
    devinfo: /dev/md/dsk/d38: Inappropriate ioctl for device
    growfs: cannot get partition size
    What is the problem, can anyone help me?
    Thanks in advance,

    looking at the response you got an error message for d38, either your have increased the size of the wrong metadevice or you may have forgotten to increase the size of the opposing sub mirror plex, if d37 and d38 form a mirror, you need to post a metastat and a df -k, to allow us to see what your config is.

  • Cannot increase partition size

    I originally had three two partitions one called BOOT and one called FILES. I ran out of room on my boot drive and I was told to clone it, add a partition with a larger size and clone it back to the larger parttion. I crteated BOOT 2 and then once cloned back I deleted BOOT.
    Now I cannot increase the size of FILES to its original size and cannot seem to recover any of the space from the original BOOT parttiion. Neither BOOT 2 or FILES can be increased. How do I acheive this?
    Here is a screen capture of what is going on.......

    You can not do that with Disk Utility. While it can be used to create and resize partitions, it can not be used to regain the space between partitions if there is data on the second partition.
    You might try something like > iPartition for Mac - Smart hard disk partitioning utility.
    But personally if I were in that boat. I would Clone the data from the 2nd and 3rd Partitions to partitions on an external drive. Then start over by reformatting the internal drive into 1 or 2 new partitions using Disk Utility and then clone the partitions back onto the internal drive.
    In addition: In OS X it is not necessary to have a boot partition and a file partition, OS X does quite well at managing everything including quite large user libraries in one partition.

  • Cannot change partition size on firewire external drive

    My external firewire drive has three partitions, one of which is used for Time Machine and is out of space; the third one is empty. When I use Disk Utility to try to increase the size of the second partition without erasing its contents, I get the message: "Partition failed with the error: filesystem resize support required, such as HFS+ with journaling enabled".
    Can someone please advise me on how to proceed.

    How have you formatted your drive?
    My drive is formatted as Mac OS X Extended (Journaled) and I have not trouble resizing my partitions with disk utility. I remember reading somewhere that certain formats do not support on-the-fly resizing. If you are using one of those formats (which I would guess based on your error message), you may need to re-format your drive. This would mean erasing everything (so make sure you back up your drive first). If you do have it formatted in the same way as me, I am not sure why you are getting the error.

  • Cannot choose partition size

    When I get to the first screen after the "print instructions" screen, the options for the Mac partition and Windows partition read "-2147483648 GB" instead of the actual amounts.
    I am on a late 2007 MacBook and had to manually install the Boot Camp Assistant package, but other than that nothing out of the ordinary with my computer. I even ran a disk verification on the disk utility to make sure everything is cool, and the verify came up OK.
    Any ideas?

    You'll need to boot from the Install disk to do this via Disk Utility. Doing so will wipe out all the data on your HD however. There is a third party solution called iPartition that reformatting is not necessary, but I will still do a full backup just in case.

  • Cannot get actual size to stay actual size

    Whenever I switch from one page to the next Acrobat forgets all
    the magnification sizes, and it resets to 217%, 300% etc.
    A different one for each page.
    To make everything just open at 100 percent magnification, I tried File-->Properties--> Initial View, set to actual size or 100 percent magnification, then saved the document
    But it still doesnt work!?

    I think that actually did it,
    thank you!
    I have one more question though, and I think this one is much harder.. How do you set the magnification view size of one page in the document independent of the view size of the entire document?
    Let's say I need the entire document at 100 percent magnification, but an image on page three needs to be pre-set to view at 75 percent...
    is there a way to do that with out using actions (scripts?) or buttons?

  • Trying to get rid of error "The startup disk cannot be partitioned or restored to a single partition". Recovery HD visible.

    Hello,
    I've been stuck for some hours now trying different things to install Windows 7 on my Macbook Air, and I think now is the time to call for some custom help.
    I'm using OS X 10.9.5 Mavericks.
    So some months ago I just wanted to run Linux on my laptop so I installed rEFInd, shrunk the Macintosh HD partition by 25GB and booted on a linux live USB flash I burned using dd.
    Then I used gparted to create my linux partitions.
    It worked just fine, even though disk utility from OS X seemed quite unhappy about this (it seemed to have incorrect informations about the filesystem on these partitions, seeing them as journaled Mac OS while they were clearly not). At this point already, the Recovery HD from mac showed up in disk utility, which I found weird but didn't bother me.
    But recently I needed windows on my Mac. So after a few tries for the triple boot, I managed to create a bootable USB stick with boot camp, which already showed me the message "The startup disk cannot be partitioned or restored to a single partition" and hence refused to partition/install himself.
    So I thought "OK, that's no big issue, I can just partition with disk utility and then boot on the USB stick and everything will work fine". But when EFI booting on the USB flash drive I got stuck at the beginning of Windows installer with no keyboard or mouse support.
    After some hours spent googling, I was unable to find a working fix for that, and as there was no support for my case (where I used bootcamp to create the bootable flash but NOT to partition/reboot) I decided to give bootcamp a try.
    So I erased my linux partitions, and cleaned up everything I could on the HD with disk utility. That means I now have two partitions showing in disk utility : Macintosh HD and Recovery HD.
    When using disk utility from terminal, the list is :
    /dev/disk0
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:      GUID_partition_scheme                        *121.3 GB   disk0
       1:                        EFI EFI                     209.7 MB   disk0s1
       2:                  Apple_HFS Macintosh HD            80.0 GB    disk0s2
       3:                  Apple_HFS Recovery HD             650.1 MB   disk0s3
    But boot camp still isn't happy, and the message "The startup disk cannot be partitioned or restored to a single partition" keeps popping after the intro and I can't partition/boot from bootcamp.
    So, as I don't understand what is wrong here anymore, any help would be greatly appreciated!
    I will be watching the thread a lot because I really would like this resolved (or windows installed one way or another) this weekend; so any questions on my past manipulations or config just ask!
    Thank you.

    keyboard issues are also something of a common issue.
    I wish the best threads were voted to the top of forums, something! Me, I literally burned out here, but after installing 10 Preview, wanted to "see what was going on" after hiatus of a couple years and see if anything had changed (no, not really!)
    Also, these new Communities are not putting "more like this" and failing to help too.
    I think rewriting Boot Camp Assistant's built in help and pdf would help a lot, and needs to be clearer and go into details. And Yosemite was not it seems tested against Boot Camp, and drivers for new Macs + new OS also lag behind. Again, common and no sign of improvement or change.
    One of the tricks to the "can't partition" is rather simple - of course backup is step #1 and is spelled out - SHRINK the main HFS+ partition! then stretch it back to full length. Sometimes a reboot is needed, and sometimes even do a Safe Boot - not sure what but Recovry Mode might be a good option too. That does seem to consolidate free space, move files that are locked and cannot be moved otherwise, and allow BCA to partition, jusst be sure to have enough space left and large enough for a proper Windows install (and fudge factor).

  • I have recently installed the new OSX Lion on my 2009 MacBook. Now I cannot get access to my Windows-Partition, which is on the harddisk. I cannot choose to boot from LION OSX or Windows. Who can help?

    I have recently upgraded my MacBook to OSX Lion. Now I cannot get access to my windows-partition. I cannot choose booting from OSX Lion or Windows. Who can help???

    I believe that Lion and Mountian Lion use BootCamp 4.0 and earlier versions used 3.0. I don't use BootCamp but from reading The link below you need to get new drivers, burn a cd and install. Check out #20 on this page.
    http://support.apple.com/kb/HT4818#19

  • HT4818 When I try to partition my hard drive for Windows 7, I get an error saying The disk cannot be partitioned because some files cannot be moved. I have a 2006 Macbook Pro I believe and I really need assistance as soon as possible.

    I have Windows 7 Premium Home and I have downloaded the Drivers and when I click Boot Camp Assistance to partition my hard drive, it says, "The disk cannot be partitioned because some files cannot be moved. Back up the disk and use Disk Utility to format it as a single Mac OS Extended (Journaled) volume. Restore your information to the disk and try using Boot Camp Assistant again." I can't do any backup really because I don't have an external hard drive to work with. I tried repairing disk permissions but that did not do anything. I really need a lot of help with this with some easy, step-by-step tutorials or something. I believe I have a 2006 version of Macbook Pro(4,1).

    Once you have obtained an external drive and connected it you will 'clone' your internal drive to it.
    Download Carbon Copy Cloner (it is not free but there is a fully functional trial version which is). Use it to clone your internal drive to your external drive. When that is done you will reboot from the clone and use Disk Utility to erase the internal drive (choose Mac OS Extended (Journaled)) as the format (this is normally preset, but check). Make sure to give the external drive a 'distinctive' name, don't want to get drives mixed up in this process.
    Once that is done you will use Carbon Copy Cloner (from the clone) to restore the external to the internal.

  • How to get the size of partition?

    The following SQL will get the rows of the fact table & aggregation. But how to get the size (MB) of the partition. select * from $system.discover_partition_stat That should be doable, because in BIDS, we can see the size of a partition, but from which
    view we can do that?

    This is the best bet you have SELECT * FROM SystemRestrictSchema($system.discover_partition_stat ,DATABASE_NAME = 'Adventure Works DW' ,CUBE_NAME = 'Adventure Works' ,MEASURE_GROUP_NAME = 'Internet Sales' ,PARTITION_NAME = 'Internet_Sales_2003') Refer
    this article: http://geekswithblogs.net/darrengosbell/archive/2008/12/02/ssas-are-my-aggregations-processed.aspxvinu

  • I try to export my slideshow in iphoto, but get a "OSS-mistake". It is a large slideshow, but I cannot find the size of it, how do I do that? How can I export to an external harddrive?

    I try to export my slideshow in iphoto, but get a "OSS-mistake". It is a large slideshow, but I cannot find the size of it, how do I do that? How can I export to an external harddrive?

    How much free space on your HD?
    What format is the external?
    You can choose the destination of any export in the second screen of the export dialogue.

  • Cannot get pdf file to print actual size

    I recently had to reinstall my printer and now when printing PDF files I cannot get the page to print in full size.  This is necessary because I am printing a pattern and the size has to be accurate.  I am not even given the option anymore to be able to do this.  I did have the option before the reinstall.  BTW the reinstall is because the computer crashed and I had to take back to factory settings.  I appreciate any help given.  Thanks.

    pamw523
    Welcome back to the HP Community Forum.
    This may be helpful:
    Manage Print Output with Print Preview
    Assuming you have installed the Full Feature Software for the printer
    and
    Assuming that you have at least a recent version of Adobe Reader or Adobe software installed so you can download and open PDF files,
    then
    it may only be that the PDF print setup needs to be adjusted for the file prior to printing
    See pages 5 and 6
    You can also check
       Print PDFs
    ===========================================================
    Click the Kudos Thumbs-Up to say Thank You!
    And...Click Accept as Solution when my Answer provides a Fix or Workaround!
    I am pleased to provide assistance on behalf of HP. I do not work for HP. 
    Kind Regards,
    Dragon-Fur

  • Visible panel Size : cannot get it

    Hi,
    I'm trying to get the visible size of a JPanel (which is contained in a JScrollPane) but I cannot get the correct values.
    I want to know what is the visible size (not the total size I can view by scrolling the pane, just the visible when the window is openned), in order to decide how will place the components inside panel. If you see at the image , I want to know what is the size of the orange panel, assuming there is not scroll bar.
    If I use getSize, getPreferred size for this panel or for the viewport of the JScrollPane which contains the orange pane, width and height I get are the total width of buttonPanels (>3000px) plus some more pixels and the height of one buttonPanel (120px) plus some more pixels. The same if I use the size, preferredSize of viewPort of the JScrollPane.
    I need to know the value of the panels height and width without scrollbars in order to decide how will show these buttonPanels on that panel. I'm trying to get these values after the JFrame.setVisible(true) but get the values I mentioned above. In case I write it this way
            setExtendedState(NORMAL);
            setVisible(true);
            setExtendedState(MAXIMIZED_BOTH);
            redrawMainPanel(getContentPane());the windowState changes two times and the properties size, preferredSize have been updated, so I get the total width of all buttonPanels and the height ~600 wich is the actual height of that panel for my screen. Even that is not enought because firstly I don't want the total width of the panel, but just that I see on the screen when it opens, not by scrolling it. Same for height. By using twice the setExtendedState I can get the correct height but I think if there were many controls so as vertical scroll bar to be shown, I would get a height greater than that of ~600 px I get now.
    Is there any way to have just the size of the orange panel you see on the image?
    Thanks in advance!
    Edited by: ChristosKorakidis on Aug 1, 2009 2:18 AM

    Andre thanks for your help but didn't succeed to get the values
    In the constructor of my class there is
           setExtendedState(MAXIMIZED_BOTH);
           setVisible(true);
           redrawMainPanel(getContentPane());The redrawMainPanel is
        private void redrawMainPanel(Container container) {
               for (int i=0;i<container.getComponentCount();i++)
                         if ((container.getComponent(i) instanceof JPanel) && (((JPanel)container.getComponent(i)).getName() == "mainPanel")){
                              redrawPanel((JPanel)container.getComponent(i));
                         else if (container.getComponent(i) instanceof Container){
                              redrawMainPanel(((Container)container.getComponent(i)));
         }and the first line of the redrawPanel() is
    System.out.println(((JViewport)component.getParent()).getViewRect().getWidth() + " - " + ((JViewport)component.getParent()).getViewRect().getHeight());I get 0 - 0
    I havent implement Scrollable, is that necessary?

  • Downloaded a wallpaper pic, wanted to see how it would look full size, so clicked off my tool bars, but also clicked off nav bar in error. now cannot get any of them back . HELP PlEASE.

    am able to download other tool bars, but cannot get the nav bar, or home button back

    Firefox 3.6+ versions have a feature to allow the user to hide the Menu bar.
    Hit the '''Alt''' key to temporarily show the Menu bar, then open View > Toolbars and select Menu bar, so it has a check-mark. <br />
    The F10 can also be used on most PC's to temporarily reveal the Menu bar.
    https://support.mozilla.com/en-US/kb/Menu+bar+is+missing

  • Cannot get brand new hard drive to work. Disk utility states operation not supported when I try to erase or partition?

    Without any success, I cannot get my hard drive to work in disk utilities. I am able to see the disk in the upper left hand column, but when trying to initiliaze the software always reads operation not supported. Any ideas?

    You probably have too new a hard disk.  Contact the hard disk manufacturer and ask what jumper setting is needed to drop to 1.5 Gbps SATA speed.
    Either that, or return the disk, and go to http://www.macsales.com/
    They can be sure to equip you with a proper hard disk.
    Note formatting is key as well:
    http://discussions.apple.com/docs/DOC-3003

Maybe you are looking for