Solaris 10 with zfs root install and VMWare-How to grow disk?

I have a Solaris 10 instance installed on an ESX host. During the install, I selected a 20gig disk. Now, I would like to grow the disk from 20GB to 25GB, I made the change on VMWare but now the issue seems to be Solaris. I haven't seen anything on how to grow the FS in Solaris. Someone mentioned using fdisk to manually change the number of cylinders but that seems awkward. I am using a zfs root install too.
bash-3.00# fdisk /dev/rdsk/c1t0d0s0
Total disk size is 3263 cylinders
Cylinder size is 16065 (512 byte) blocks
Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Active Solaris2 1 2609 2609 80
This shows the expanded number of cylinders. but a format command does not.
bash-3.00# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
/pci@0,0/pci1000,30@10/sd@0,0
Specify disk (enter its number):
Any ideas?
Thanks.

That's the MBR label on the disk. That's easy to modify with fdisk.
Inside the Solaris partition is another (VTOC) label. That one is harder to modify. It's what you see when you run 'format' -> 'print' -> 'partition' or 'prtvtoc'.
To resize it, the only method I'm aware of is to record the slices somewhere, then destroy the label or run 'format -e' and create a new label for the autodetect device. Once you have the new label in place, you can recreate the old slices. All the data on the disk should be stable.
Then you can make use of the space on the disk for new slices, for enlarging the last slice, or if you have a VM of some sort managing the disk.
Darren

Similar Messages

  • I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to my laptop.

    I had a trouble with my lap top and had to format hard disk and install all soft ware again. could any body tell me how to transfer the application and data in my i phone back to itune.

    You can't. It still thinks that your iPhone is synced with another iTunes library (the one that you had before you reformatted the hard drive.

  • I have a long-existing iPhone 4s with one apple id and started a job where I received a macbook with another apple id. how do i get my phone to sync with the Mac Pro and secondly how do i get my music on there?

    i have a long-existing iPhone 4s with one apple id and started a job where I received a macbook with another apple id. how do i get my phone to sync with the Mac Pro and secondly how do i get my music on there?

    No not bothered about sycing apps etc it is all about calendars and maybe notes. IN terms of how its done I just want it the easiest way and preferably so that if an entry is made on one calendar then it populates the other.
    Thgius is beacuse I have my work diary on outlok, which I then link with my ical. I want to make sure that information is then shared with her.
    Chris

  • Recently upgraded Mac 24" to Lion (clean install) and now no external hard disks work with Time Machine

    Recently upgraded Mac 24" to Lion (clean install) and now no external hard disks work with Time Machine.
    installed new internal disk first with fresh 10.7.3 Lion software. Also upgrade ram to 4GB. Work great, super fast.
    BUT.... my WD 1TB firewire400 external disks no longer work with the Lion enabled machine now.
    FURTHER... I read somewhere that WD is problematic with Lion but Seagate was not... so I went and bought a new 3TB Seagate GoFlex.
    When it didnt work properly either, I patiently searched and found a software/firward upgrade and applied.
    I re-partitioned disk to extened/journaled standard, etc.
    Then assigned the particition to Time Machine. Drive turned the blue/grey color, so I thought it would work.
    But, it has now been in "preparing" mode in Time Machine for HOURS....
    What is up Apple? So dissappointed. Ive read these type of problems are notorious with Lion and I wish I never upgraded.
    Are you trying to make issues with External disks, to drive people to iCloud?  That trick ont work in me. I will not reward bad behaviour Apple.
    Please provide a fix... I wasted hours/days screwing around with this, instead of using the Mac for what its intended!

    Solved by Pondini, on another thread I opened...
    Answer:
    Sounds like either:
    A directory problem on your internal HD.  Verify your internal HD, and Repair any other volumes being backed-up per #A5 in Time Machine - Troubleshooting.
    Something in OSX may be damaged.  You've tried the "combo," so a fresh copy of OSX (that won't disturb anything else) would be worth a try (and you don't need a tech for that).  See Installing the ''combo'' update and/or Reinstalling OSX.

  • Intuit's Quicken won't work with Lion.  Installed and am using Quicken Essentials but it's not as convenient.

    Intuit's Quicken won't work with Lion.  Installed and am using Quicken Essentials but it's not as convenient.

    this has been an issue with Quicken for a long time! Quicken was initially a Mac only application and then they got greedy! i beta-tested Quicken for Intuit for years and when they announced they were not going to support it any more the screaming was loud but not heard!
    Quicken Essentials is a crime! i wasn't even asked to beta-test it; probably because they would have gotten an earful!!! it is not essential; it is stupid.... AND, of course, their online version was a disaster. i use Quickbooks Online for business and it works like a charm; i mean it even downloads ignominious PayPal transactions now!
    i am also stupid for not really checking out if it would work with Lion - ALL of my financials are on it. I am going to have to do what @cwiens suggested above and either pull out an old Macbook I have or my well stored original Cube in its original box! thank the fates for the double backup i've always done with Quicken - Time Machine & its own key drive!
    btw, this is an old Microsoft trick - not having older versions of apps work on OS updates so they force you to buy the new versions.

  • HT4623 Anyone having trouble with App Store install and cloud store buttons not working after 6.1 update?

    Anyone having trouble with App Store install and cloud store buttons not working after 6.1 update? I go to install an app. I hit install and nothing happens. About a minute later it asks me for my password and then it does nothing. The install button goes back to saying install. However the app shows up in my installed list and in cloud but no app installed.

    OK - I found a helpful post - closed app store app and under Settings/General/Date and Time I reset the date and time by switching off "Set Automatically" and then switching it on again. Went back to App Store, launched it and Updatesseems to be working again.
    Go figure? Logical, No!

  • I tried to install windows 7 in my macbook pro late 2011 but i tried to create partions after it installed and it turn to dynamic disks and ican't access mac or win 7 what should I do i cant format it because i dont have a backup

    I tried to install windows 7 in my macbook pro late 2011 but i tried to create partions after it installed and it turn to dynamic disks and i can't access mac or win 7 what should I do i cant format it because i dont have a backup

    It's not that you can't format it because you have no backup, it's because you'll lose everything when you do. Lesson learned. Always have a backup.

  • Can't boot with zfs root - Solaris 10 u6

    Having installed Solaris 10 u6 on one disk with native ufs and made this work by adding the the following entries
    /etc/driver_aliases
    glm pci1000,f
    /etc/path_to_inst
    <lang pci string for my scsi controller> glm
    which are needed since the driver selected by default are the ncsr scsi controller driver that do not work in 64 bit.
    Now I would like to create a new boot env. on a second disk on the same scsi controller, but use zfs instead.
    Using Live Upgrade to create a new boot env on the second disk with zfs as file system worked fine.
    But when trying to boot of it I get the following error
    spa_import_rootpool: error 22
    panic[cpu0]/thread=fffffffffbc26ba0: cannot mount root path /pci@0,0-pci1002,4384@14,4/pci1000@1000@5/sd@1,0:a
    Well that's the same error I got with ufs before making the above mentioned changes /etc/driver_aliases and path_to_install
    But that seems not to be enough when using zfs.
    What am I missing ??

    Hmm I dropped the live upgrade from ufs to zfs because I was not 100% sure it worked.
    Then I did a reinstall selecting to use zfs during the install and made the changes to driver_aliases and path_to_inst before the 1'st reboot.
    The system came up fine on the 1'st reboot and did use the glm scsi driver and running in 64bit.
    But that was it. When the system then was rebooted (where it made a new boot-archive) it stopped working. Same error as before.
    I have managed to get it to boot in 32bit mode but still the same error (thats independent of what scsi driver used.)
    In all cases it does pop the SunOS Relase banner and it do load the driver (ncrs or glm) and detects the disks in the correct path and numbering.
    But it fails to load the file system.
    So basically the current status are no-go if you need to use the ncrs/glm scsi driver to access the disks with your zfs root pool.
    File-Safe works and can mount the zfs root pool, but that's no fun as server OS :(

  • Solaris cluster 3.2 with zfs failover filesystem failed. How can I recover?

    Hi all,
    I have just install and configure Solaris cluster 3.2U3 using zfs for both of root filesystem and shared storage file system.
    This cluster operate clearly. Today, I can not see the zpool for shared storage. I can see the storage volume in the output of format command.
    So all my resources change to offline status. and my application is failed.
    How can I recover this cluster??????
    is there any body can help me :(

    Have you used a SUNW.HAStoragePlus (HASP) resource to control your zpool? If not, the zpool is probably needs importing. That is what the HASP resource would do for you. You would also need a dependency from your application on the HASP resource to ensure that your application does not try to start up before the storage is avaialable.
    Regards,
    Tim
    ---

  • How install premiere cs6 upgrade with premiere cs3 installed and not recognized

    I have a Windows 7 integrale 64bits computer.
    I installed Premiere pro CS3 (upgrade from cs2)
    It run OK but refused activation (the Adobe Support told me this is due to CS3 uncompatibility with Windows 7).
    Then I tried to install Premiere C6 as upgrade from CS3.
    But the install program doesn't recognize the CS3 previous install and asks for old serial number. I check "upgrade from cs3" then enter the previous CS3 serial number. CS6 install refuses it. So I can't install it.Thanks for help.

    Premiere never "looks" for an older version on the system when installing an upgrade, and in fact, the best thing to do is completely uninstall any old version before upgrading. Also, you should run the "Adobe Cleaner" utility to remove any remnants of old software before new install. Only an older serial is needed for an upgrade, but of course must meet version requirements.
    http://www.adobe.com/support/contact/cscleanertool.html
    If you cannot get Premiere to install, please contact Adobe support as recommended
    Thanks
    Jeff Pulera
    Safe Harbor Computers

  • Live Upgrade fails on cluster node with zfs root zones

    We are having issues using Live Upgrade in the following environment:
    -UFS root
    -ZFS zone root
    -Zones are not under cluster control
    -System is fully up to date for patching
    We also use Live Upgrade with the exact same same system configuration on other nodes except the zones are UFS root and Live Upgrade works fine.
    Here is the output of a Live Upgrade:
    bash-3.2# lucreate -n sol10-20110505 -m /:/dev/md/dsk/d302:ufs,mirror -m /:/dev/md/dsk/d320:detach,attach,preserve -m /var:/dev/md/dsk/d303:ufs,mirror -m /var:/dev/md/dsk/d323:detach,attach,preserve
    Determining types of file systems supported
    Validating file system requests
    The device name </dev/md/dsk/d302> expands to device path </dev/md/dsk/d302>
    The device name </dev/md/dsk/d303> expands to device path </dev/md/dsk/d303>
    Preparing logical storage devices
    Preparing physical storage devices
    Configuring physical storage devices
    Configuring logical storage devices
    Analyzing system configuration.
    Comparing source boot environment <sol10> file systems with the file
    system(s) you specified for the new boot environment. Determining which
    file systems should be in the new boot environment.
    Updating boot environment description database on all BEs.
    Updating system configuration files.
    The device </dev/dsk/c0t1d0s0> is not a root device for any boot environment; cannot get BE ID.
    Creating configuration for boot environment <sol10-20110505>.
    Source boot environment is <sol10>.
    Creating boot environment <sol10-20110505>.
    Creating file systems on boot environment <sol10-20110505>.
    Preserving <ufs> file system for </> on </dev/md/dsk/d302>.
    Preserving <ufs> file system for </var> on </dev/md/dsk/d303>.
    Mounting file systems for boot environment <sol10-20110505>.
    Calculating required sizes of file systems for boot environment <sol10-20110505>.
    Populating file systems on boot environment <sol10-20110505>.
    Checking selection integrity.
    Integrity check OK.
    Preserving contents of mount point </>.
    Preserving contents of mount point </var>.
    Copying file systems that have not been preserved.
    Creating shared file system mount points.
    Creating snapshot for <data/zones/img1> on <data/zones/img1@sol10-20110505>.
    Creating clone for <data/zones/img1@sol10-20110505> on <data/zones/img1-sol10-20110505>.
    Creating snapshot for <data/zones/jdb3> on <data/zones/jdb3@sol10-20110505>.
    Creating clone for <data/zones/jdb3@sol10-20110505> on <data/zones/jdb3-sol10-20110505>.
    Creating snapshot for <data/zones/posdb5> on <data/zones/posdb5@sol10-20110505>.
    Creating clone for <data/zones/posdb5@sol10-20110505> on <data/zones/posdb5-sol10-20110505>.
    Creating snapshot for <data/zones/geodb3> on <data/zones/geodb3@sol10-20110505>.
    Creating clone for <data/zones/geodb3@sol10-20110505> on <data/zones/geodb3-sol10-20110505>.
    Creating snapshot for <data/zones/dbs9> on <data/zones/dbs9@sol10-20110505>.
    Creating clone for <data/zones/dbs9@sol10-20110505> on <data/zones/dbs9-sol10-20110505>.
    Creating snapshot for <data/zones/dbs17> on <data/zones/dbs17@sol10-20110505>.
    Creating clone for <data/zones/dbs17@sol10-20110505> on <data/zones/dbs17-sol10-20110505>.
    WARNING: The file </tmp/.liveupgrade.4474.7726/.lucopy.errors> contains a
    list of <2> potential problems (issues) that were encountered while
    populating boot environment <sol10-20110505>.
    INFORMATION: You must review the issues listed in
    </tmp/.liveupgrade.4474.7726/.lucopy.errors> and determine if any must be
    resolved. In general, you can ignore warnings about files that were
    skipped because they did not exist or could not be opened. You cannot
    ignore errors such as directories or files that could not be created, or
    file systems running out of disk space. You must manually resolve any such
    problems before you activate boot environment <sol10-20110505>.
    Creating compare databases for boot environment <sol10-20110505>.
    Creating compare database for file system </var>.
    Creating compare database for file system </>.
    Updating compare databases on boot environment <sol10-20110505>.
    Making boot environment <sol10-20110505> bootable.
    ERROR: unable to mount zones:
    WARNING: zone jdb3 is installed, but its zonepath /.alt.tmp.b-tWc.mnt/zoneroot/jdb3-sol10-20110505 does not exist.
    WARNING: zone posdb5 is installed, but its zonepath /.alt.tmp.b-tWc.mnt/zoneroot/posdb5-sol10-20110505 does not exist.
    WARNING: zone geodb3 is installed, but its zonepath /.alt.tmp.b-tWc.mnt/zoneroot/geodb3-sol10-20110505 does not exist.
    WARNING: zone dbs9 is installed, but its zonepath /.alt.tmp.b-tWc.mnt/zoneroot/dbs9-sol10-20110505 does not exist.
    WARNING: zone dbs17 is installed, but its zonepath /.alt.tmp.b-tWc.mnt/zoneroot/dbs17-sol10-20110505 does not exist.
    zoneadm: zone 'img1': "/usr/lib/fs/lofs/mount /.alt.tmp.b-tWc.mnt/global/backups/backups/img1 /.alt.tmp.b-tWc.mnt/zoneroot/img1-sol10-20110505/lu/a/backups" failed with exit code 111
    zoneadm: zone 'img1': call to zoneadmd failed
    ERROR: unable to mount zone <img1> in </.alt.tmp.b-tWc.mnt>
    ERROR: unmounting partially mounted boot environment file systems
    ERROR: cannot mount boot environment by icf file </etc/lu/ICF.2>
    ERROR: Unable to remount ABE <sol10-20110505>: cannot make ABE bootable
    ERROR: no boot environment is mounted on root device </dev/md/dsk/d302>
    Making the ABE <sol10-20110505> bootable FAILED.
    ERROR: Unable to make boot environment <sol10-20110505> bootable.
    ERROR: Unable to populate file systems on boot environment <sol10-20110505>.
    ERROR: Cannot make file systems for boot environment <sol10-20110505>.
    Any ideas why it can't mount that "backups" lofs filesystem into /.alt? I am going to try and remove the lofs from the zone configuration and try again. But if that works I still need to find a way to use LOFS filesystems in the zones while using Live Upgrade
    Thanks

    I was able to successfully do a Live Upgrade with Zones with a ZFS root in Solaris 10 update 9.
    When attempting to do a "lumount s10u9c33zfs", it gave the following error:
    ERROR: unable to mount zones:
    zoneadm: zone 'edd313': "/usr/lib/fs/lofs/mount -o rw,nodevices /.alt.s10u9c33zfs/global/ora_export/stage /zonepool/edd313 -s10u9c33zfs/lu/a/u04" failed with exit code 111
    zoneadm: zone 'edd313': call to zoneadmd failed
    ERROR: unable to mount zone <edd313> in </.alt.s10u9c33zfs>
    ERROR: unmounting partially mounted boot environment file systems
    ERROR: No such file or directory: error unmounting <rpool1/ROOT/s10u9c33zfs>
    ERROR: cannot mount boot environment by name <s10u9c33zfs>
    The solution in this case was:
    zonecfg -z edd313
    info ;# display current setting
    remove fs dir=/u05 ;#remove filesystem linked to a "/global/" filesystem in the GLOBAL zone
    verify ;# check change
    commit ;# commit change
    exit

  • I have a new computer with a new install of iTunes; how do I transfer my outlook from my phone to outlook

    My old computer died! It's kaput... So I have a new computer now with a new iTunes install on it.  I had my music, video and photos already backed up on an external hard drive.
    What I want to know is two things; 1) If I sync my phone am I going to lose everything or do I just need to configure my syncing settings again.  And 2) How do I transefer my contacts and calendar BACK to outlook?
    Please help!!

    Copy everything from your old computer, or your backup copy of your old computer to your new computer.

  • Help with CF9 Standard Install and Mac OS Server (Snow Leopard Server)

    Hello,
    I recently purchased a mac mini server (with snow leopard server) and will be using it to host my CF9 applications.  This install is WAY different than the install needed on a windows machine.  I tried to install it once and somehow hosed up Apache and now I can't even get it to start up (apache).  So I am having the colo company to do a full restore of the server and I took notes on the Mac Server install and below is the questions I have.
    1.) Since Snow Leopard Server comes with Apache webserver, it is what CF wants to use.  This is fine, I just need to know where these things are...
    It is asking for the Configuration Directory:  I'm guessing it is /private/etc/apache2 ? Right or Wrong???
    2.) It is asking for Directory and file name of server binary:  It currently defaults to /usr/sbin/httpd  is this right or should I point it to another directory?
    3.) It is asking for Directory and file name of server script: It currently defaults to /usr/sbin/apachectl  is this right or should I point it to another directory?
    It also wants the location where I can place the CFIDE.  Can I place this anywhere I wish or is there a preferred location to point this to?
    and finally, I have CF9 Standard, so on the mac server should I install it as a server configuration (self contained instance) or Enterprise Multiserver config.  I was reading online that its better to install as an Enterprise Multiserver setup, but I don't know if this will work for me since I'm useing the standard edition.
    Please Help ANYONE, if you have mac os experience and installing CF9 onto a mac server
    Thanks

    I have been getting this exact same problem.  CF installer is somehow writing some invalid information into the httpd.conf file.  I was able to replace the httpd.conf file with the default one, and was able to go through the webconnector process again and (sometimes randomly) it works.  I also spent about 4 hours on the line with adobe CF support and made no progress beyond what I'll post here .
    To answer your questions about file locations:
    /private/etc/apache2/ for the httpd.conf files
    /usr/sbin/ for both the apachectl and the httpd binaries
    Although I'm able to get past where you are, and it seems to work correctly, Immediately upon adding a new site via server admin it all breaks.  Coldfusion then will only work if I manually go to a cfm document.  For example:  http://example.com/ will give me the raw text from the (default index) index.cfm file.  But typing http://example.com/index.cfm works.
    I am lost here as well.  After 4 hours on the phone with adobe support I would have hoped it would be an easy fix.  I've completely nuked and reinstalled the server from scratch with the exact same results both times.
    Does anyone have the slightest clue about what may be going on here?

  • The gyroscope of my IPAD2  stopped working either with Real Racing 2HD and SAFARI, how do I proceed?

    The gyroscope of my Ipad 2 suddenly stopped working ( either with Real Racing 2HD and Safari ). How do I proceed to fix it.
    Thanks

    If you want to sync content that is on your iPod Classic to your iPad, it needs to be in your iTunes library first, if it isn't already.  From there, you can configure your iPad to sync all this content from under the appropriate tabs.
    If you need help on how to copy content from the iPod Classic back to your PC, see this older post from another forum member Zevoneer covering the different methods and software available to assist you with this task.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • Our architecture is we have installed iplanet applicationserver on NT and iplanet webserver on solaris with webconnector plugin installed but performnce is not upto mark

     

    Do you mean the appserver can't service the requests quick enough ? i.e the plugin reqexit time from the kxs log is too long ?

Maybe you are looking for