No uninitialized partition for /var but I went on anyways

In case anyone makes the same mistake as I did and added the old /var volume back into the new 1.1 VM, this is how you fix it if you told it to keep the /var on the root partition:
(You can do all of this while the VM is running, at least on VMWare)
- Remove old /var disk.
- Create a new disk for the /var volume.
- Log in to the console as root (not ssh)
What you need to know at this point:
When looking at the device nodes for the virtual disks, 0:0 will be /dev/sda, 0:1 will be /dev/sdb and 0:2 will be /dev/sdc.
The order for devices will be 2:1, where the lowest number is always /dev/sda, which tends to be 0:0, so 0:0 (sda) 0:1 (sdb) 1:0 (sdc), the first number is the controller number and the 2nd the disk number.
You can *probably* also check the 'dmsg' output and the new drive will be at the bottom.
Replace 'sdc' with your var drive identifier.
As root:
# fdisk /dev/sdc
Type p just to check if there are no partitions on the drive and you picked the right one.
Type n to create a new partition, make it a primary partition with nr 1, accept the default values and it should work.
exit fdisk by typing w (save and quit)
Now we need to format the new partition:
# mkfs.ext3 /dev/sdc1
(could also make it ext4 but everything else seems to be ext3)
Now comes the trickery to change the var folder around with a mount point.
First we switch to runlevel 1.
# init 1
This will stop most of the services and it will ask for a root pw.
Now we mount the new drive and copy everything over, move the old var out of the way and mount the new drive in its place.
# mkdir /mnt/var
# mount /dev/sdc1 /mnt/var
# cd /var
# cp -ax * /mnt/var
# cd /
# mv var var.old
# mkdir /var
# umount /mnt/var
# mount /dev/sdc1 /var
# ll /var (just to check)
# vi /etc/fstab (or whichever editor you're comfortable with)
Obviously we want to mount the volume again on reboot, so add the following line to your fstab:
/dev/sdc1 /var ext3 rw 0 0
Save and exit and reboot the appliance and you're done.
Obviously it's better to add the new disk *before* starting the vm for the first time but I missed that part in the documentation :-)
Hope this'll help someone else.

If you only deleted the device from the page (an did not wipe/erase it) it will reappear if it connects to the internet before the person restored it or tyrned off the Find feature. See:
http://support.apple.com/kb/TS4006

Similar Messages

  • I am getting an error when resizing the Mac HD. I had a separate partition for Windows, but have deleted it and want to add the empty 50GB partition to my Mac HD.

    I am getting an error when resizing the Mac HD. I had a separate partition for Windows, but have deleted it and want to add the empty 50GB partition to my Mac HD.

    SparkchaserEd wrote:
    I am getting an error when resizing the Mac HD.
    What does this error say?

  • My Black brush won't work, I updated my CC to the 2014 version and it worked for awhile but it went back to not working.

    Please help!  All other colors work when I'm using them but nothing happens when I switch to black.

    Check the brush mode in the Options bar.
    Check the layer mode.
    Does this happen i a new document, or only a particular document?
    If still stuck:
    Photoshop version?
    Operating system?

  • Disk mount for /var

    Hi All:
    We're running the Sun Application Server, Sun Access Manager and Sun Portal on Solaris 9 and I was hoping someone could answer whether or not we could use the automounter and mount the space /var/opt into another directory without blowing up the jes.
    The existing partition for /var is quite small but we have plenty of room in /export/home/ and /opt/local where we could easily have sufficient room for the JES stack. We did not realize that portlets and other applications in the JES would want to install themselves into /var/opt. Any ideas if this works or does not work? Am I going to have to reinstall solaris to give /var a bigger slice of disk?
    Thanks

    Hi All:
    We're running the Sun Application Server, Sun Access Manager and Sun Portal on Solaris 9 and I was hoping someone could answer whether or not we could use the automounter and mount the space /var/opt into another directory without blowing up the jes.
    The existing partition for /var is quite small but we have plenty of room in /export/home/ and /opt/local where we could easily have sufficient room for the JES stack. We did not realize that portlets and other applications in the JES would want to install themselves into /var/opt. Any ideas if this works or does not work? Am I going to have to reinstall solaris to give /var a bigger slice of disk?
    Thanks

  • Questions on "FAQ - SAP Solution Manager for VARs"

    Hi,
    I just got through the FAQ - SAP Solution Manager for VARs, but have some further questions:
    For me it is not quite clear which connections are necessary for which VAR scenrio.. currently we have setup the service desk in our solman. Customer's aren't linked to the solman yet - we have saprouter-saprouter connections. Connecting them via SAP support backbone is an interesting option, especially for incident management. To get this working we should follow note 1124718 right?
    But what about the other scenarios like maintenance optimizer and ewa monitoring? I guess for that we definitly need to build up RFC connections to each relevant customer system (~300+x)?! I think it will be hard to handle so many connections - just consider if a customer is cancalling the maintenance contract, everything needs to be removed again... best would be to have a central communication point...
    For MOPZ we need up-to-date system information. So everyone is talking about SLD. Do you also recommend this option? There we need again a connection (direct to SolMan SLD or via external SLD on customer side).
    According to the FAQ there is a workaround for ewa monitoring for customers with security doubts.. is this also working for non-ABAP components? We need SMD and WI for generating ewas for JAVA systems...
    With regards to Enterprise Support contract: ewa only need to be monitored for productive systems? Can a customer be charged if they want to have ewas monitored for other sytems too? How long do we need to keep the ewas (1 month, 3 months, half year) before they are deleted? Are there any specific requirements?
    All the work to get these scenarios working.. is this covered within the Enterprise Support contract? Can the customer be charged for work thats done by the VAR in their system (e.g. RFC connections, SDCCN, SLD,...)?
    Sorry for this long text.. hope you have some helpful ideas!
    Regards,
    Richard

    Hello Richard,
    (1) regarding network connections see document [Draft:Technical Support Network Connections for VAR Scenario|http://service.sap.com/~form/sapnet?_SHORTKEY=00200797470000089947&_OBJECT=011000358700000880802009E] as overview and with a lot of detailed information. 
    (2) yes, you have to setup once all your customer connections at the beginning but then only add/remove with customer contract changes
    (3) the workaround by sending by email can handled a anexception. EWA has to be done for productive systems like nowadays done by SAP. Additional EWA services could meas additional business case for a VAR - that's contract between VAR and customer.
    (4) whatever you think may be a business to sell - do it ! (and get a monetary bonus from your boss
    Kind regards
    Heinrich

  • Zen Micro needs firmware update for Vista, but what now as it fail

    As I now use Vista (paid for by my work) I came to install my Zen Micro which wasn't recognised so I came to the website and discovered that you need version 2 of the firmware for it to be compatible with Vista. Having never had the need to upgrade before I was still on Version one so I downloaded it onto my other WinXP machine?which I've used my Zen on alot before to do the upgrade. Started the upgrade and all seemed to be well until a point a 3rd of the way through a box came up asking what I'd like to do with the device (like the one when a USB key inserted). Leaving the upgrade I returned hour later to see nothing has changed and the upgrade has failed.
    I've tried all the options with recovery mode but it still just shows up as having version 0.0.65 and when inserted into a PC shows up as a?Creative Zen Micro?in device manage and has a 20MB disk partition for storage but when I try and run a firmware patch it says its not connected.
    Looking round this forum this seems to be quite common upto now but with the release of Vista people are forced to take the 'risk' of running a firmware update that when it fails doesn't seem to be recoverable even in recovery mode. Please can you look into updating the firmware to find these devices that it can't see, for many years I've laughed at my friends with their crashing ipods that need charging everyday due to not being able to change the battery but it now seems the jokes on me.

    I used Adambonello's fix and it worked?http://forums.creative.com/creativel...mp=true#M80097

  • I have a MacBook Pro running Lion. I need to use Lion to run my Dragon. I would like to partition my drive to use Maverick for everything but the dictation software. I'm a new pie to apple

    I have a MacBook Pro running Lion. I need to use Lion to run my Dragon. I would like to partition my drive to use Mavericks for everything but the dictation software. I'm a newbie to apple

    To resize the drive do the following:
    1. Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    After the main menu appears select Disk Utility and click on the Continue button. Select the hard drive's main entry then click on the Partition tab in the DU main window.
    2. You should see the graphical sizing window showing the existing partitions. A portion may appear as a blue rectangle representing the used space on a partition.
    3. In the lower right corner of the sizing rectangle for each partition is a resizing gadget. Select it with the mouse and move the bottom of the rectangle upwards until you have reduced the existing partition enough to create the desired new volume's size. The space below the resized partition will appear gray. Click on the Apply button and wait until the process has completed.  (Note: You can only make a partition smaller in order to create new free space.)
    4. Click on the [+] button below the sizing window to add a new partition in the gray space you freed up. Give the new volume a name, if you wish, then click on the Apply button. Wait until the process has completed.
    You should now have a new volume on the drive.
    It would be wise to have a backup of your current system as resizing is not necessarily free of risk for data loss.  Your drive must have sufficient contiguous free space for this process to work.

  • Hello, okay? On September 13 I bought an iPad and in October bought a game on the app store problem is that when informed the card number dropped normally, but then went on to ask for a new form of payment because one had given any errors, and so not lowe

    Hello, how are you? On September 13 I bought an iPad and in October bought a game on the app store problem is that when informed the card number dropped normally, but then went on to ask for a new form of payment because one had given any errors, and so not lowered any other game and not upgraded the already downloaded. I do not know what exactly I have to do, because if informed a new payment method continues with the same problem, checked the card bill and really had given an error, because there was no billed the game. I ask you to verify what happened and explain to me what I need to do, because my single card is Visa's and do not intend to return others to use the services of the App Store.
    Thank you for understanding.

    I think you need the app store support. http://www.apple.com/support/mac/app-store/contact/ Go there and use one of the methods to contact them about your issue and they should be able to help you out.
    This forum isn't checked by Apple employees but is for users to help each other out.
    Phil

  • Hello Mac heads.! I just downloaded Onyx for tiger.  All went well.  But I try to launch onyx from my applications and it doesn't offer checking the S.M.A.R.T. status so I can check my disk.  Everything else appears.  Uninstall only, forums, website etc.

    Hello Mac heads.! I just downloaded Onyx for tiger.  All went well.  But I try to launch onyx from my applications and it doesn't offer checking the S.M.A.R.T. status so I can check my disk.  Everything else appears.  Uninstall only, forums, website etc.

    I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.

  • Hi , i bought this phone from Dallas , TX  on 22 jun 2012 , right now I am in india . My phone Accidentally fall in water tub. And now is not working . For iphone replacement ,I went to local apple store in Pune (India). but these guys are not helping me

    hi , i bought this phone from Dallas , TX  on 22 jun 2012 , right now I am in india .
    My phone Accidentally fall in water tub. And now is not working .
    For iphone replacement ,I went to local apple store in Pune (India). but these guys are not helping me . And they  are not ready to replace my phone .
    I also tried contacting local apple employee  named " RATI KALE " , but didn’t got any positive response.
    I provided them apple invoice, passport, visa details, my air ticket details. but still  they are not ready to help me . My phone details are as below :
    Serial No:C8*******T9Y , IMEI : 01*************995
      Please help me in replacing my phone.
    <Personal Information Edited by Host>

    Your warranty is only good in the US where you bought the phone. You will need to contact Apple Support in the US to arrange to return your phone to the US for repair. You should also inquire as to whether they will be able to return the phone to you in India.
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Apple - Support - Contact Apple Support.

  • Im using an iphone 4s with the latest firmware which is 6.1.3 but my wifi button keeps going grey how can i fix it? i rested network connections and it worked for a while and went grey again,what can i do?

    im using an iphone 4s with the latest firmware which is 6.1.3 but my wifi button keeps going grey how can i fix it? i rested network connections and it worked for a while and went grey again,what can i do?

    Have you worked through the Troubleshooting iOS and WiFi knowledge base article?  If not, see if there is info in there that might help.
    Is the WiFi greyed out on all WiFi networks or just the one?  If it does this on all then there may be a hardwaer problem that needs attention from the techs at an Apple store genius bar.
    Before that, however, try a reboot by holding both the power and home buttons until the apple logo appears and it restarts, ignoring the red slider if it appears.  That clears a lot of iOS hang ups that occur.

  • I have a MAC laptop, there used to partition windows XP but I want to change it to windows 7. and after my intstal do not want the road and a partition for windows missing. how to restore windows partition?

    I have a MAC laptop, there used to partition windows XP but I want to change it to windows 7. and after my intstal do not want the road and a partition for windows missing. how to restore windows partition?

    Welcome to Apple Support Communities
    You have an Early 2008 Mac Pro. You have the specs that your Mac Pro needs for more memory > https://support.apple.com/kb/HT4433#4 As you can read, that computer should have come with 2 GB of memory.
    You can buy memory at OWC or Crucial > http://eshop.macsales.com/shop/memory/Mac-Pro-Memory#800-memory Those sell compatible memory with all Macs. You can use another memory, but you can be sure that the memory that these brands sell are compatible

  • HT1692 Set my outlook calender appointment for 7am but when i went to the west coast it changed my appontment to 4am on my i phone 4s

    Set my outlook calender appointment east cost time for 7am but when i went to the west coast it changed the appointmnet to 4am

    You have Time Zone support turned on. 4 AM on the west coast IS 7 AM where you were.  You need to specify the time zone for the appointment if it is different from the one you're in when you create it.

  • I have an iphone 4 had it for awhile but yesteday the back camera is blurry. I've had this happen before but it looked like therewas steam in the camera lens and I let that air out and it went back to normal. So whats the problem this time?

    I have an iphone 4 had it for awhile but yesteday the back camera is blurry. I've had this happen before but it looked like there was steam in the camera lens and I let that air out and it went back to normal. So whats the problem this time? My mom isn't willing to buy me another iphone because before I went to a concert and the speakers messed up half the screen. If its the software acting up can I get a free new one?

    Moisture has somehow entered your iPhone and specifically the camera. They will do an out-of-warranty replacement for $149 USD.

  • My wifi usually automatically hooks up my other home's wifi, but i went away for a while and it hasnt connected so i tried to put the password in again, and it said it was connected but then it just lets it go. And it is refusing to work.

    My wifi usually automatically hooks up my other home's wifi, but i went away for a while and it hasnt connected so i tried to put the password in again, and it said it was connected but then it just lets it go. And it is refusing to work.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime: Set-up, Use, and Troubleshooting Problems
    http://tinyurl.com/32drz3d
     Cheers, Tom

Maybe you are looking for

  • 'Close Project' in Captivate 4 not working

    Hi, I have a number of projects where I set the preferences to close the project, and it works in some and not others. I have a slide with a 'Done' button.  When the user clicks it, it goes to another slide with nothing on it but the background and a

  • How do I save an image I find on the web?

    Love FF mobile but could someone tell me how to save an image I find on a web page? Tried mailing it to myself but it only sends the URL. Tried the SAVE feature but the image can't be found on my phone after.

  • Hi. How I can find other files and remove them?

    I have 42 GB of other storage, how can I delete it? I dont believe that osx is 40 GB large. Waiting for some advice, searched the web, but there is nothing really helpful.

  • My facebook share option does not appear in system preferences

    hi, when I enter the system preferences the facebook login optin does not appear, onely twitter. does any one know why?

  • Plant Maintenance or MM

    Hi All, can any one guide me, i am having experiance in MM & PM domain. I am planning to go for Certification, Which one will be better in terms of Job opportunities and Pay in india and US. Regards, GMK.