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.

Similar Messages

  • 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.

  • Inappropriate ioctl for device

    Hello,
    I have some zones set up in solaris 10. When i try to scp a file to any of the zones, i get the following error:
    "shell-init: error retrieving current directory: getcwd: cannot access parent directories: Inappropriate ioctl for device"
    1. /export/home is mounted using lofs in to the zone from the parent.
    2. This does not happen when i scp something to the parent
    3. This does not happen on an account which is local to the zone, whose default shell is bash
    3. This does not happen on an NIS account whose default shell is ksh
    4. This does happen on all NIS accounts who have a default shell of bash, even if there is nothing in their home directory (ie, no .bashrc).
    5. There is no mention of tty in /etc/profile or /etc/.login
    6. I have tried changing the default TERM to vt100 from xterm, it still happens
    7. The error does not present itself upon a normal ssh login
    8. the error [n]does[n] show up when i do something like `ssh myzone "id"` from another box or zone.
    If i don't mount /export/home from the parent in to the zone, i do not get this error. There must be some problem with how i set this up maybe? Here's the zonecfg info:
    zonepath: /export/zones/vwsuserz
    autoboot: true
    pool:
    inherit-pkg-dir:
    dir: /lib
    inherit-pkg-dir:
    dir: /platform
    inherit-pkg-dir:
    dir: /sbin
    inherit-pkg-dir:
    dir: /usr
    fs:
    dir: /export/home
    special: /export/home
    raw not specified
    type: lofs
    options: [rw,nodevices]
    net:
    address: 10.222.136.162
    physical: bge0
    I've been googling for a long time and no one seems to have found a resolution. Does anyone have insight in to this problem?
    Message was edited by:
    keegang
    Message was edited by:
    keegang

    The problem maybe a permissions on your parent directory, I had a similar error:
    root@elliot:~ # ls -ald ../
    drwx-----x 9 root root 512 Feb 15 14:33 ../
    jemurray@freiwald:~ $ scp hat.txt elliot.nts.wustl.edu:
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: Permission denied
    hat.txt 100% |**********************************************************************************| 1428 00:00
    root@elliot:~ # chmod 755 ../
    root@elliot:~ # ls -ald ../
    drwxr-xr-x 9 root root 512 Feb 15 14:33 ../
    jemurray@freiwald:~ $ scp hat.txt elliot.nts.wustl.edu:
    hat.txt 100% |**********************************************************************************| 1428 00:00
    We used to try and have our main /export/home directory 701 permissions, but we received this error. Permissions 755 make the problem go away. Not the best answer, but for the users we have on our systems, it is not a big deal.

  • Ohasd failed to start Inappropriate ioctl for device at roothas.pl

    Hallo!I am trying to install Oracle database 11.2.0.1 on Oracle Linux 6.0 32 bit deployed on VirtualBox.I am setting up a single-instance database on ASM thus doing
    Grid installation on a stand-alone server.I launched the Grid installer OUI and when I run the root script
    /u01/app/oracle/product/11.2.0/grid/root.sh
    I get the following error
    Adding daemon to inittab
    CRS-4124: Oracle High Availability Services startup failed.
    CRS-4000: Command Start failed, or completed with errors.
    ohasd failed to start: Inappropriate ioctl for device
    ohasd failed to start: Inappropriate ioctl for device at /u01/app/oracle/product/11.2.0/grid/crs/install/roothas.pl line 296.
    When I check the /u01/app/oracle/product/11.2.0/grid/log/joey-oel6/client/crsctl.log it gives me the following error messages
    Oracle Database 11g Clusterware Release 11.2.0.1.0 - Production Copyright 1996, 2009 Oracle. All rights reserved.
    2012-06-28 14:47:26.259: [ CSSCLNT][3037951696]clssscConnect: gipc request failed with 29 (0x13)
    2012-06-28 14:47:26.259: [ CSSCLNT][3037951696]clsssInitNative: connect failed, rc 29
    2012-06-28 14:47:26.272: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2012-06-28 14:47:26.272: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2012-06-28 14:47:26.272: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2012-06-28 14:47:26.272: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2012-06-28 14:47:26.272: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2012-06-28 14:47:26.272: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2012-06-28 14:47:26.273: [  OCRRAW][3037951696]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2012-06-28 14:47:26.273: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2012-06-28 14:47:26.273: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2012-06-28 14:47:26.273: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2012-06-28 14:47:26.273: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2012-06-28 14:47:26.273: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2012-06-28 14:47:26.273: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2012-06-28 14:47:26.274: [  OCRRAW][3037951696]ibctx: Failed to read the whole bootblock. Assumes invalid format.
    2012-06-28 14:47:26.274: [  OCRRAW][3037951696]proprinit:problem reading the bootblock or superbloc 22
    2012-06-28 14:47:26.274: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 0
    2012-06-28 14:47:26.274: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 1
    2012-06-28 14:47:26.274: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 2
    2012-06-28 14:47:26.274: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 3
    2012-06-28 14:47:26.274: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 4
    2012-06-28 14:47:26.274: [  OCROSD][3037951696]utread:3: Problem reading buffer 9586000 buflen 4096 retval 0 phy_offset 102400 retry 5
    2012-06-28 14:47:26.274: [  OCRRAW][3037951696]propriogid:1_1: Failed to read the whole bootblock. Assumes invalid format.
    2012-06-28 14:47:26.698: [  OCRRAW][3037951696]iniconfig:No 92 configuration
    2012-06-28 14:47:26.698: [  OCRAPI][3037951696]a_init:6a: Backend init successful
    2012-06-28 14:47:26.698: [  CRSCTL][3037951696]crsctlcss_GetEnvVar: Environment variable NLS_LANG not found
    2012-06-28 14:47:26.699: [  CRSCTL][3037951696]crsctlcss_GetEnvVar: Error 21101 in getting environment variable ORACLE_HOME
    2012-06-28 14:47:26.700: [  CRSCTL][3037951696]crsctlcss_doclusterkeys: the current number of pinned nodes 0, set is 1
    2012-06-28 14:47:27.233: [  CRSCTL][3037951696]crsctl_pin_ocr: set OCR keys succ.
    How do I solve this?

    Hello,
    Problem is indeed because of upstart/init incompatibility. Here is the working way:
    1) Proceed with the installation as usual until root.sh invocation.
    2) Before root.sh edit $GRID_HOME/crs/install/s_crsconfig_lib.pm, go to line 1173 (you should find a code like: if ($srv eq "ohasd") { # Start OHASD).
    3) Insert a following snippet before starting OHASD part (line 1173)
    my $UPSTART_OHASD_SERVICE = "oracle-ohasd";
    my $INITCTL = "/sbin/initctl";
    ($status, @output) = system_cmd_capture ("$INITCTL start $UPSTART_OHASD_SERVICE");
    if (0 != $status)
    error ("Failed to start $UPSTART_OHASD_SERVICE, error: $!");
    return $FAILED;
    4) Create a file /etc/init/oracle-ohasd.conf with the following content inside
    # Oracle OHASD startup
    start on runlevel [35]
    stop on runlevel [!35]
    respawn
    exec /etc/init.d/init.ohasd run >/dev/null 2>&1 </dev/null
    5) Invoke root.sh
    6) Finish the installation.
    If you previously ran root.sh (not successfully), simply roll it back:
    $GRID_HOME/crs/install/roothas.pl -deconfig -force -verbose
    Make changes above and continue.
    good luck
    Anand

  • Ohasd failed to start: Inappropriate ioctl for device, CRS-4124:, CRS-4000:

    New install on amazon, 11.2.0-64 image. Did NOT install canned 11.2.0 on the host, just downloaded the grid component and running the installer to configure Grid Infrastructure for a Stand-Alone Server.
    Fails with the following error where I do Stand Alone Server or Grid Software only;
    $ /u01/app/grid/1120/grid/perl/bin/perl -I/u01/app/grid/1120/grid/perl/lib -I/u01/app/grid/1120/grid/crs/install /u01/app/grid/1120/grid/crs/install/roothas.pl -verbose
    2010-04-25 16:46:00: Checking for super user privileges
    2010-04-25 16:46:00: User has super user privileges
    2010-04-25 16:46:00: Parsing the host name
    Using configuration parameter file: /u01/app/grid/1120/grid/crs/install/crsconfig_params
    LOCAL ADD MODE
    Creating OCR keys for user 'grid', privgrp 'oinstall'..
    Operation successful.
    CRS-4664: Node domu-12-31-36-00-35-b2 successfully pinned.
    Adding daemon to inittab
    CRS-4124: Oracle High Availability Services startup failed.
    CRS-4000: Command Start failed, or completed with errors.
    ohasd failed to start: Inappropriate ioctl for device
    ohasd failed to start: Inappropriate ioctl for device at /u01/app/grid/1120/grid/crs/install/roothas.pl line 296.
    root@domU-12-31-36-00-35-B2:[u01/app/grid/1120/grid/install/utl]
    Been through the related noted to no avail;
    Doc ID 1063552.1 ----> rm -rf /tmp/.oracle /usr/tmp/.oracle /var/tmp/.oracle
    Doc ID 969878.1 ----> service syslog restart
    And ipV6 is NOT in configured in the hosts file.
    Any ideas / solutions?
    TIA,
    Neil
    and restarted

    Hi,
    Ran into this myself and then found your note. After much investigating it turns out that the Linux run level on my AMI's is set to 4 (even though the inittab has it set to 3) and the CRS init script init.ohasd expects 3 and 5. Because of that problem, the "init" process was not able to launch the init.ohasd script.
    For now the workaound for this problem is to run the system at run levels 3 or 5 before executing the root script. However, I am still trying to figure out why my AMI's are running at 4.
    I am curious, if you do read this, did you get this error during the install and ignore it?
    Run Level
    This is a prerequisite condition to test whether the system is running with proper run level. (more details)
    Expected Value
    : 3,5
    Actual Value
    : 4
    I did and of course it didn't work. Also, what Amazon AMI did you use?
    Thanks,
    Larry

  • Makechroot trouble - GPGME error: Inappropriate ioctl for device

    Hi everybody!
    I'm currently trying out several DEs with Arch and would like to build Trinity, R14, too. I followed the wiki (which more or less points to this readme).
    Things are a bit tricky there, but I ended up with having the tar.gz archives built and moved to the right location as well as placing all the other stuff into the dirs made for it.
    Step 4 set up a new chroot for me and everything was well except for a warning that there was no local.db. Since the scripts don't seem to build 'hal-info', 'hal' and 'libutempter', I build packages for them by hand and moved those into $chroot/root/repo. Then I used repo-add local.db.tar.gz $pkgname for each package.
    Finally I updated the chroot using mkarchroot -u $chroot/root". It worked well and now I do have a file 'local.db'.
    But if I want to build the first package ('tqt3') using the 'bt.sh' script, it works up to the moment where it issues 'sudo makechrootpkg -r /home/myusername/chroot -u'. Pacman starts downloading the dependencies before building, but once it's done with "checking package integrity", I just get several lines of
    error: GPGME error: Inappropriate ioctl for device
    and than a bunch of lines talling me that $pkgname is "missing required signature".
    I'm rather new to Arch and despite having searched the wiki, the forums and google for a while, I'm not really going anywhere. I understand that it's pacman which is unable to cope with the signature thing in the chroot. But what to do about this?

    Thanks for your answer, cmb!
    My problem was solved in an unexpected way, though: Just a few days after I had given up on getting building the Trinity DE myself, someone set up a custom repo for it that was added to the wiki. This was of course by far the easiest solution. But it was also good to mess a little with the build system myself.

  • O/S Message: Inappropriate ioctl for device

    Hi everyone,
    In a shell (sh) script, on Solaris 5.9, the following is being done:
    sqlplus /nolog <<EOF
    whenever oserror exit 1
    whenever sqlerror exit 1
    connect DBUSER/DBPASSWORD
    select * from sometable;
    EOF
    This produces the following output and exits with return value 1:
    SQL*Plus: Release 9.2.0.8.0 - Production on Wed Feb 13 04:21:40 2008
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    SQL> SQL> SQL> O/S Message: Inappropriate ioctl for device
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.8.0 - Production
    The same happens when the above is being pasted in a bash session.
    When doing it line by line in an sqlplus session, everything is fine.
    Additional data:
    # uname -a
    SunOS kpn-sup-smp 5.9 Generic_117171-07 sun4u sparc SUNW,UltraAX-i2
    SQL> select * from v$version;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    PL/SQL Release 9.2.0.8.0 - Production
    CORE 9.2.0.8.0 Production
    TNS for Solaris: Version 9.2.0.8.0 - Production
    NLSRTL Version 9.2.0.8.0 - Production
    # opatch lsinventory
    [ ... prolog cut ... ]
    Installed Patch List:
    =====================
    1) Patch 5606601 applied on Tue Feb 12 03:36:14 CET 2008
    [ Base Bug(s): 5606601  ]
    2) Patch 5495695 applied on Tue Feb 12 03:33:37 CET 2008
    [ Base Bug(s): 5495695  ]
    3) Patch 4008133 applied on Tue Feb 12 03:30:01 CET 2008
    [ Base Bug(s): 4008133  ]
    Any ideas ...? TIA.
    Cheers,
    Benjamin.

    I just came across this issue after upgrading from 9.2.0.6 to 9.2.0.8:
    It appears that putting "connect" as the first line resolves the problem.
    i.e.:
    sqlplus /nolog <<EOF
    connect DBUSER/DBPASSWORD
    whenever oserror exit 1
    whenever sqlerror exit 1
    select * from sometable;
    EOF
    Kind regards
    Christos

  • [SOLVED] lsattr: Inappropriate ioctl for device While reading flags

    I'm migrating to ext4 and I just ran lsattr on / to see if any of it was done. I'm receiving this message:
    lsattr: Inappropriate ioctl for device While reading flags on {dev, sys, proc}
    The many web sites that I found on this doesn't give me much insight. Is this something to be concerned about?
    By the way, I've already done the conversion and fsck seemed to go fine. I haven't run the defrag script yet.

    Ramses de Norre wrote:Have got the same on ext3, I guess that's because those directories are mountpoints for filesystems that exist only in ram (devfs, procfs etc.).
    That makes perfect sense. There is never a day that goes by when someone here doesn't teach me something. Thanks a lot.

  • I have an iPhone 5 unlocked but cannot get a payg nano sim for Vodafone uk. Any suggestions ?

    I have an iPhone 5 unlocked but cannot get a payg nano sim for Vodafone uk. Any suggestions ?

    If Vodafone does not provide a nano-SIM card, there are no suggestions. Not only is the nano-SIM card smaller, it is also thinner, so cutting a micro-SIM card down to size wouldn't be enough to fit.

  • I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    I have just getting a new phone and I have forgot my password an Apple ID what I made new for the new phone now I cannot get on it because asking for id and password what should I do help plz thank u

    Try
    https://iforgot.apple.com

  • HT2240 I cannot get my registration to work for QuickTime Pro for Mac OS X 10.6.8 using QT 7.6.6

    I cannot get my registration to work for QuickTime Pro for Mac OS X 10.6.8 using QT 7.6.6  I have copied and pasted exactly as require (I don't have an organization).  Any suggestions?  Thank you!

    There is no QuickTime System Preferences pane in 10.6.8 or later.
    You enter the registration under the player 7 menu.

  • I Cannot get my organizer to work for Elements 13. "A problem caused the program to stop working correctly. Windows will close the program......" is the error I get. I've uninstalled and reinstalled the program and tried various other things based on the

    I Cannot get my organizer to work for Elements 13. "A problem caused the program to stop working correctly. Windows will close the program......" is the error I get. I've uninstalled and reinstalled the program and tried various other things based on the MANY other complaints with this same issue and nothing is working. How can this problem be corrected?

    Hi,
    Which operating system are you running on?
    Are you upgrading from a previous version of Photoshop elements or is this your first?
    Are you trying to load the organizer or the editor or do both fail?
    Brian

  • HT4356 I have an HP 4500 printer connected to airport extreme with usb.  All our portable notebooks print via air but cannot get iPad to be recognized for printing.  Do I really have to have one of the other HPs listed?

    I have an HP 4500 printer connected to airport extreme with usb.  All our portable notebooks print via air but cannot get iPad to be recognized for printing.  Do I really have to have one of the other HPs listed?

    Rufus Cat-
    Even if it was compatible, AirPrint does not work through a USB link, only Ethernet or WiFi.
    I do not see your HP 4500 listed on Apple's list of AirPrint compatible printers.  <iOS: AirPrint 101>  Therefore you need to take another approach.  To start, I suggest you download the free HP App, ePrint Home & Biz.  It has limitations, but should get you printing with your existing setup.
    There are other printing Apps with more features such as Print n Share and PrintCentral, but they can only be accessed from within other Apps that have the "Open In" option.
    Your best option may be to share your computer's printer as AirPrint over WiFi.  Programs that are reported to do that well are Printopia and FingerPrint.  Your computer must be on and awake any time you want to print.  <Printopia for Macintosh>  <FingerPrint for PC and Mac>
    Fred

  • I keep getting a message Cannot Get Mail No password provided for "MobileMe"

    I have upgraded to 4S and the phone is functioning properly but I keep getting some error messages.  In Mail, I keep getting the prompt - Cannot Get Mail  No password provided for "MobileMe". Please go to Mail Account Settings and enter a password.
    When I click Settings, I have already removed the "MobileMe" account from my phone & am receiving the MobileMe mail through the iCloud account that is set up.  And that iCloud account is functioning properly. 
    So the Mail is attempting to pull mail from an account I deleted off my iPhone & then when I try to follow the prompts to fix the problem & enter a password, it's no longer there.

    Hello Laurel,
    Thank you for the details of the issue you are experiencing with your email account on your iPhone.  I recommend the following article to troubleshoot the issue you described:
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • I cannot get the file "Photoshop_13_LS16.7z" for Photoshop CS6, Photoshop CS6 Extended English to download; the url goes to an ascii file on screen.

    I cannot get the file "Photoshop_13_LS16.7z" for Photoshop CS6, Photoshop CS6 Extended English to download; the url goes to an ascii file on screen.  It's at Download CS6 products.  Can you help?

    use a different browser.
    you can also try dl'g from prodesigntools.com
    if you follow all 7 steps you can directly download a trial here:  Download CS6 products
    and activate with your serial number.
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

Maybe you are looking for