Adding partitions

Hi,
We have partitions based on date since our database has to support large amount of data. We would like to know is there any way or means to add partitions in the middle not at the end.
For eg. Considering the latest partition allows us to hold data till 10th march 2003 how can i add a partition that will allow us to hold data till 10 Feb 2003.

Look up "alter table split partition"
Justin

Similar Messages

  • Adding Partition in Solaris 10 ...

    Hi,
    I have one question, regarding Solaris 10. I was taken 20 GB HDD for Solaris then I was installed it. Now I have 10 Gb free space in my HDD. I want to add it with Solaris partition. Please let me know , How can I add this?
    Thanks
    Partha

    Hi,
    I have one question, regarding Solaris 10. I was
    taken 20 GB HDD for Solaris then I was installed
    it. Now I have 10 Gb free space in my HDD. I want to
    add it with Solaris partition. Please let me know ,
    How can I add this?You've left out a few details. Is this Solaris x86? Do you mean your Solaris partition is 20G, or that one slice (visible in format) is 20G?
    You might be able to enlarge the partition to get the remaining space, but I don't know how you'd get the VTOC label inside to see the extra space.
    You can only have one Solaris partition on the disk, so adding a second won't help.
    Darren
    >
    Thanks
    Partha

  • Bootcamp no longer works after adding partition via Windows 7

    I needed a D: drive in Windows and shrunk the system (C:) partition and added another partition intended to be a secondary drive in Windows.  After rebooting Windows throws a BSOD and I can't even select OS X as a bootable option.  Is anyone able to point me in the right direction on how to fix?  Thank you!

    I learned the FAQ the hard way
    diskutil list
    /dev/disk0
    #:          TYPE NAME                    SIZE          IDENTIFIER
    0:          FDisk_parition_scheme     *251.0 GB     disk0
    1:          Windows_LDM                  77.0GB        disk0s1
    2:          Windows_LDM                  94.5GB        disk0s2
    3:          Windows_LDM                  79.5GB        disk0s3
    /dev/disk1
    #:          TYPE NAME                    SIZE          IDENTIFIER
    0:          Apple_partition_scheme     *1.3 GB        disk1
    1:          Apple_partition_map          *30.7 KB       disk1s1
    2:          Apple__HFS OS X Base System     *1.3 GB        disk1s2
    From there it does /dev/disk2, /dev/disk3, until /dev/disk12 usually like:
    #:          TYPE NAME                    SIZE          IDENTIFIER
    0:          untitled                              *524.3 KB        disk2
    diskutil cs list
    No CoreStorage logical volume groups found
    gpt -vv -r show /dev/disk0
    gpt show: /dev/disk0: mediasize=251000193024; sectorsize=512; blocks=490234752
    gpt show: /dev/disk0: MBR at sector 0
    gpt show: /dev/disk0: Malformed MBR at sector 0
    gpt show: /dev/disk0: Bad CRC in GPT table at sector 2
    start          size          index          contents
    0               1                                MBR
    1               150392831   1             MBR part 66
    150392832 184604672   2             MBR part 66
    334997504 155235200   3             MBR part 66
    490232704 2048
    fdisk /dev/disk0
    DIsk: /dev/disk0               geometry: 30515/255/63  [490234752 sectors]
    Signature:  0xAA55
                        Starting                    Ending
    #:     id     cyl     hd     sec     -     cyl     hd     sec     [     start     -     size]
    1:     42    0       0        2        -    1023  254     63      [          1    -   150392831]   LinuxSwap DR
    2:     42   1023 254     63       -    1023  254     63      [150392832 -   184604672]  LinuxSwap DR
    3:     42   1023 254     63       -    1023  254     63      [334997504 -   155235200]  LinuxSwap DR
    *4:     07    0       0        0        -    0       0        0      [          0    -                    0]  HPFS/QNX/AUX

  • Adding partition in free space on internal drive

    So, when I bought my 20" Intel iMac, I immediately repartitioned the drive, and created one 200GB main partition for OSX and left ~32GB of free space for a future WinXP partition (which as of today became useful .
    However, I cannot find any way to add a partition in the free space without trying some commercial tool (like iPartition). Disk Utility only has the option to repartition -- in OSX it won't let me because it's the system drive, and from the install CD it wants to nuke my whole drive to repartition, even though I don't need to touch the OSX partition at all. I've also dug through diskutil, pdisk, and fdisk, but none of those have an option to add a partition.
    It seems totally stupid that I can't just create a partition in free space without killing the whole disk. I have 80GB of stuff on this drive I can't easily backup.
    Any ideas???
      Mac OS X (10.4.5)  

    The second partition is not for backups... it's for a FAT filesystem for installing Windows so that I can run my research software and play games at native speed.
    Installing XP does not involve any firmware changes at all. The EFI bootloader is a blessed file that sits on the HFS partition, and the boot sector of the XP install CD is modified to talk to the custom EFI bootloader.
    I actuallly did solve the problem through some brute force after my post. There is a command-line utility built into OSX now called 'gpt' which can edit GUID Partition Tables as used on Intel Macs. I booted off my OSX install CD, went to a terminal, unmounted /dev/disk0, added the new partition (gpt luckily does have an option for adding and removing partition entries without repartitioning the whole disk... Apple really needs to update Disk Utility if you ask me -- this is a common and simple task usually), then rebooted. It all worked fine!

  • Required alter script for adding partition and subpartition

    Hi Folks,
    Please help me to write ALTER STATEMENT for adding new partition P1 and SUBPARTITION P1_201001 and P1_201002.
    Thank you
    TABLE
    =======
    CREATE TABLE TEST
         "REPORT_ID"    NUMBER,
        "MONTH_ID"      NUMBER,
        "GROUP_ID"      NUMBER,
        "AGE_GROUP_ID"  NUMBER,
        "GENDER_CD"     CHAR(1 BYTE),
    PCTFREE 0 PCTUSED 0 INITRANS 1 MAXTRANS 255 COMPRESS BASIC NOLOGGING STORAGE
        BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT
      TABLESPACE "USER_WORK" PARTITION BY RANGE
        "REPORT_ID"
      SUBPARTITION BY LIST
        "MONTH_ID"
      SUBPARTITION TEMPLATE
        SUBPARTITION "M201212" VALUES
          201212
        TABLESPACE "USER_WORK"
    (PARTITION "P3" VALUES LESS THAN (4) PCTFREE 0 PCTUSED 0 INITRANS 1 MAXTRANS 255 STORAGE( BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
    TABLESPACE "USER_WORK" COMPRESS BASIC NOLOGGING ( SUBPARTITION "P3_M201212" VALUES
          201212
        TABLESPACE "USER_WORK" COMPRESS BASIC, SUBPARTITION "P3_M201301" VALUES
          201301
        TABLESPACE "USER_WORK" COMPRESS BASIC )
    );

    First modify the subpartition template
    ALTER TABLE TEST set
      SUBPARTITION TEMPLATE
        SUBPARTITION "M201212" VALUES
          201212
        SUBPARTITION P1_201001 VALUES (201001),
        SUBPARTITION P1_201002 VALUES (201002)
      )Then if the new partition is HIGHER than ALL existing ranges you can just add it
    alter table test add
    PARTITION "P1" VALUES LESS THAN (5) If the new partition is LOWER than one onf the existing ranges you will need to SPLIT the existing partition.
    alter table test SPLIT PARTITION "P3" AT (2)
    INTO (PARTITION P1, PARTITION P3)See the sections in the VLDB and Partitioning Guide
    Modifying a Subpartition Template
    http://docs.oracle.com/cd/E11882_01/server.112/e25523/part_admin002.htm#i1007904
    Splitting a Partition of a Range-Partitioned Table
    http://docs.oracle.com/cd/E11882_01/server.112/e25523/part_admin002.htm#i1008028

  • Ora-00906 erorr when adding partitions

    Hi
    I am getting above oracle error adding table partition
    ALTER TABLE PDW.PDW04_MTR_DUMP_DATA1
    ADD PARTITION PDW04_2009_J_1
    VALUES LESS THAN TO_DATE(' 2009-01-16 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
    TABLESPACE PDW_VLARGE_T02
    PCTFREE 2
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 80K
    NEXT 256M
    MINEXTENTS 1
    MAXEXTENTS UNLIMITED
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    VALUES LESS THAN TO_DATE(' 2009-01-16 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
    ERROR at line 3:
    ORA-00906: missing left parenthesis
    any suggestions what syntex is missing?
    kedar

    1. Count the left brackets.
    2. Count the right brackets.
    I think you need a left bracket before TO_DATE.

  • Adding Partitions on Solaris 10

    I was hoping somebody could help me find out how I can add two new files systems on different slices ( I guess) called Disk1 and Disk2. We meant to do this when we fisrt set the system up but we forgot.
    When I do the format command I get 0. c1t0d0 and 1. c1t1d0
    Again, we want to have a file system on each one named Disk1 and Disk2. Any suggestion will be appreciated.
    Example of another system we have:
    swap 22195472 552 22194920 1% /tmp
    swap 22194968 48 22194920 1% /var/run
    /dev/dsk/c1t1d0s7 70589121 3799651 66083579 6% /disk2
    /dev/dsk/c1t0d0s4 20143489 16083778 3858277 81% /disk1
    /dev/dsk/c1t0d0s5 5045478 6868 4988156 1% /opt
    /dev/dsk/c1t0d0s7 5045478 3727197 1267827 75% /export/home
    G. M

    1.start format
    2.select the disk you want the partition on by entering its number (0 or 1)
    3.type partition to navigate into the partition setup
    4.type print to see the current partition table
    5.if there is any unallocated space create the partition by typing its number (0 - 7) and provide the requested information, i.e. starting cyl, size, etc.
    6. when you are done, save the partition table via label
    7.now you can use newfs(1M) to create a filesystem on that partition.
    an alternative would be to use zfs(1M), see the 'Howto' on the Sun web site.
    thomas

  • Adding partition to free space on external that contains RAID 0 array

    Hello.
    I have a Lacie 2BIG 6TB Thunderbolt drive. This was partitioned into a 5TB RAID-0 array, with some smaller partitions in the rest of the available space for other media and backups.
    I tried to delete the other partitions to consolidate whatever space was used by these for other media. Disk Utility let me remove these partitions, but when I try to recreate anything in the free space now available, Disk Utility states that it will also erase the partition that is used as a slice of the RAID array.
    I do not have the space to move everything off the array to completely re-partition the disk, and am looking for a solution to re-partition only this free space on the pair of physical drives.
    Can anyone offer any advice on how I might accomplish this? I have tried to attach images of what Disk Utility shows when I attempt what what I want to do.
    I have tried iPartition, and would like to try Drive Genius, but I'm not sure that this will help the situation.
    Thanks a lot.

    Just a quick confirmation that I have still been unable to resolve this after a few more attempts.
    Anyone out there know more about this than I do?
    Thanks.

  • Adding Partition error throughout the admin conole

    Hi, I got MS5 and DS52 installed. MS52 has running the netscape console 4.5. The problem is, when I try to add a new partition from the admin console. I can add the partition but when i try to saved it the next error message appear "ERRR, missing parameter". "Server error, not all attributes are saved."
    I will appreciate any help thanks,
    Wally

    Actually i'm running Admin console 4.2 iMS52 and DS52 under solaris 9.
    How can I fix this problem??
    Heres is part of the default log file
    [18/Feb/2004:12:32:49 -0500] conn=82 op=48 msgId=50 - MOD dn="cn=ResourcePage,ou=4.0,ou=Console,ou=\22uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot\22,ou=UserPreferences, ou=serviweb.com.pa, o=NetscapeRoot"
    [18/Feb/2004:12:32:49 -0500] conn=82 op=48 msgId=50 - RESULT err=0 tag=103 nentries=0 etime=0
    [18/Feb/2004:12:32:49 -0500] conn=82 op=49 msgId=51 - MOD dn="cn=General,ou=4.0,ou=Console,ou=\22uid=admin, ou=Administrators, ou=TopologyManagement, o=NetscapeRoot\22,ou=UserPreferences, ou=serviweb.com.pa, o=NetscapeRoot"
    [18/Feb/2004:12:32:49 -0500] conn=82 op=49 msgId=51 - RESULT err=0 tag=103 nentries=0 etime=0
    [18/Feb/2004:12:32:54 -0500] conn=236 op=-1 msgId=-1 - fd=77 slot=77 LDAP connection from 168.77.202.30 to 168.77.202.30
    [18/Feb/2004:12:32:54 -0500] conn=236 op=0 msgId=1 - BIND dn="cn=msg-serviweb, cn=iPlanet Messaging Suite, cn=Server Group (2), cn=aastha.serviweb.com.pa, ou=serviweb.com.pa, o=NetscapeRoot" method=128 version=2
    [18/Feb/2004:12:32:54 -0500] conn=236 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot"
    [18/Feb/2004:12:32:54 -0500] conn=236 op=1 msgId=2 - SRCH base="cn=configuration,cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot" scope=2 filter="(objectClass=*)" attrs=ALL
    [18/Feb/2004:12:32:54 -0500] conn=236 op=1 msgId=2 - RESULT err=0 tag=101 nentries=33 etime=0
    [18/Feb/2004:12:32:54 -0500] conn=236 op=2 msgId=3 - UNBIND
    [18/Feb/2004:12:32:54 -0500] conn=236 op=2 msgId=-1 - closing - U1
    [18/Feb/2004:12:32:54 -0500] conn=236 op=-1 msgId=-1 - closed.
    [18/Feb/2004:12:32:54 -0500] conn=82 op=50 msgId=52 - SRCH base="cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot" scope=2 filter="(objectClass=nstask)" attrs=ALL
    [18/Feb/2004:12:32:54 -0500] conn=82 op=50 msgId=52 - RESULT err=0 tag=101 nentries=23 etime=0
    [18/Feb/2004:12:32:57 -0500] conn=237 op=-1 msgId=-1 - fd=77 slot=77 LDAP connection from 168.77.202.30 to 168.77.202.30
    [18/Feb/2004:12:32:57 -0500] conn=237 op=0 msgId=1 - BIND dn="cn=msg-serviweb, cn=iPlanet Messaging Suite, cn=Server Group (2), cn=aastha.serviweb.com.pa, ou=serviweb.com.pa, o=NetscapeRoot" method=128 version=2
    [18/Feb/2004:12:32:57 -0500] conn=237 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot"
    [18/Feb/2004:12:32:57 -0500] conn=237 op=1 msgId=2 - SRCH base="cn=configuration,cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot" scope=2 filter="(objectClass=*)" attrs=ALL
    [18/Feb/2004:12:32:57 -0500] conn=237 op=1 msgId=2 - RESULT err=0 tag=101 nentries=33 etime=0
    [18/Feb/2004:12:32:57 -0500] conn=237 op=2 msgId=3 - UNBIND
    [18/Feb/2004:12:32:57 -0500] conn=237 op=2 msgId=-1 - closing - U1
    [18/Feb/2004:12:32:58 -0500] conn=237 op=-1 msgId=-1 - closed.
    [18/Feb/2004:12:32:59 -0500] conn=238 op=-1 msgId=-1 - fd=77 slot=77 LDAP connection from 168.77.202.30 to 168.77.202.30
    [18/Feb/2004:12:32:59 -0500] conn=238 op=0 msgId=1 - BIND dn="cn=msg-serviweb, cn=iPlanet Messaging Suite, cn=Server Group (2), cn=aastha.serviweb.com.pa, ou=serviweb.com.pa, o=NetscapeRoot" method=128 version=2
    [18/Feb/2004:12:32:59 -0500] conn=238 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot"
    [18/Feb/2004:12:32:59 -0500] conn=238 op=1 msgId=2 - SRCH base="cn=configuration,cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot" scope=2 filter="(objectClass=*)" attrs=ALL
    [18/Feb/2004:12:32:59 -0500] conn=238 op=1 msgId=2 - RESULT err=0 tag=101 nentries=33 etime=0
    [18/Feb/2004:12:32:59 -0500] conn=238 op=2 msgId=3 - UNBIND
    [18/Feb/2004:12:32:59 -0500] conn=238 op=2 msgId=-1 - closing - U1
    [18/Feb/2004:12:33:00 -0500] conn=238 op=-1 msgId=-1 - closed.
    [18/Feb/2004:12:33:03 -0500] conn=239 op=-1 msgId=-1 - fd=77 slot=77 LDAP connection from 168.77.202.30 to 168.77.202.30
    [18/Feb/2004:12:33:03 -0500] conn=239 op=0 msgId=1 - BIND dn="cn=msg-serviweb, cn=iPlanet Messaging Suite, cn=Server Group (2), cn=aastha.serviweb.com.pa, ou=serviweb.com.pa, o=NetscapeRoot" method=128 version=2
    [18/Feb/2004:12:33:03 -0500] conn=239 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot"
    [18/Feb/2004:12:33:03 -0500] conn=239 op=1 msgId=2 - SRCH base="cn=configuration,cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot" scope=2 filter="(objectClass=*)" attrs=ALL
    [18/Feb/2004:12:33:03 -0500] conn=239 op=1 msgId=2 - RESULT err=0 tag=101 nentries=33 etime=0
    [18/Feb/2004:12:33:03 -0500] conn=239 op=2 msgId=3 - UNBIND
    [18/Feb/2004:12:33:03 -0500] conn=239 op=2 msgId=-1 - closing - U1
    [18/Feb/2004:12:33:04 -0500] conn=239 op=-1 msgId=-1 - closed.
    [18/Feb/2004:12:33:07 -0500] conn=240 op=-1 msgId=-1 - fd=77 slot=77 LDAP connection from 168.77.202.30 to 168.77.202.30
    [18/Feb/2004:12:33:07 -0500] conn=241 op=-1 msgId=-1 - fd=83 slot=83 LDAP connection from 168.77.202.30 to 168.77.202.30
    [18/Feb/2004:12:33:07 -0500] conn=240 op=-1 msgId=-1 - closing - B1
    [18/Feb/2004:12:33:07 -0500] conn=241 op=-1 msgId=-1 - closing - B1
    [18/Feb/2004:12:33:07 -0500] conn=241 op=-1 msgId=-1 - closed.
    [18/Feb/2004:12:33:07 -0500] conn=240 op=-1 msgId=-1 - closed.
    [18/Feb/2004:12:35:10 -0500] conn=242 op=-1 msgId=-1 - fd=77 slot=77 LDAP connection from 168.77.202.30 to 168.77.202.30
    [18/Feb/2004:12:35:10 -0500] conn=242 op=0 msgId=1 - BIND dn="cn=msg-serviweb, cn=iPlanet Messaging Suite, cn=Server Group (2), cn=aastha.serviweb.com.pa, ou=serviweb.com.pa, o=NetscapeRoot" method=128 version=2
    [18/Feb/2004:12:35:10 -0500] conn=242 op=0 msgId=1 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot"
    [18/Feb/2004:12:35:10 -0500] conn=242 op=1 msgId=2 - SRCH base="cn=configuration,cn=msg-serviweb,cn=iplanet messaging suite,cn=server group (2),cn=aastha.serviweb.com.pa,ou=serviweb.com.pa,o=netscaperoot" scope=2 filter="(objectClass=*)" attrs=ALL
    [18/Feb/2004:12:35:10 -0500] conn=242 op=1 msgId=2 - RESULT err=0 tag=101 nentries=33 etime=0
    [18/Feb/2004:12:35:10 -0500] conn=242 op=2 msgId=3 - UNBIND
    [18/Feb/2004:12:35:10 -0500] conn=242 op=2 msgId=-1 - closing - U1
    [18/Feb/2004:12:35:11 -0500] conn=242 op=-1 msgId=-1 - closed.
    java.lang.IllegalArgumentException: null source
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.IllegalArgumentException.<init>(Compiled Code)
    at java.util.EventObject.<init>(Compiled Code)
    at java.awt.AWTEvent.<init>(Compiled Code)
    at java.awt.event.ComponentEvent.<init>(Compiled Code)
    at java.awt.event.InputEvent.<init>(Compiled Code)
    at java.awt.event.MouseEvent.<init>(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    java.lang.NoSuchMethodError: java.awt.Rectangle: method postEvent(Ljava/awt/AWTEvent;)V not found
    at java.lang.Thread.run(Compiled Code)
    java.lang.IllegalArgumentException: null source
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(Compiled Code)
    at java.lang.IllegalArgumentException.<init>(Compiled Code)
    at java.util.EventObject.<init>(Compiled Code)
    at java.awt.AWTEvent.<init>(Compiled Code)
    at java.awt.event.ComponentEvent.<init>(Compiled Code)
    at java.awt.event.InputEvent.<init>(Compiled Code)
    at java.awt.event.MouseEvent.<init>(Compiled Code)
    at java.lang.Thread.run(Compiled Code)
    java.lang.NoSuchMethodError: java.awt.Rectangle: method postEvent(Ljava/awt/AWTEvent;)V not found
    at java.lang.Thread.run(Compiled Code)

  • Adding partition to ExtHD while in use

    I have an external Hard Drive that has files backed up on it and I wanted to know if I could safely partition that drive without having to reformat it. I don't have any other place to store the files that are on it.

    *Changing partition without formatting*
    [Drive Genius|http://www.prosofteng.com/products/drivegeniusinfo.php?PHPSESSID=8b4e94f3f116a4a7a8161f86726bcd2f]
    [VolumeWorks|http://www.subrosasoft.com/OSXSoftware/index.php?mainpage=product_info&cPath=32&productsid=6]
    [iPartition|http://www.coriolis-systems.com/iPartition.php]
    BDaqua gives good advice on not trusting these 100% - back up.
    Tiger supposedly has an esoteric set of partitioning commands that can be done from Terminal, but I have other things to do on a weekend. You have to be big into Terminal to do it, and I would not dream of doing anything without a backup.

  • Lost access to OSX after adding partitions in Windows

    I have a brand new MacBook Pro Retina and have used Boot Camp to install Windows 8.1.
    All was working well and I could swap between OSX and Windows.
    Then I booted into Windows and went to work on re-partitioning it since I like to separate OS and data. In the Computer Management - Disk Management app I first shrank the Windows partition and then I created two new data partitions and moved some labels around so that now the partition arrangement shown is....
    EFI System partition - unlabeled
    Drive D - HFS - large, assume this is OSX partition
    Drive Z - HFS - small, assume this is HD recovery partition
    Drive F - Big Data - second new data partition created
    Drive C - BOOTCAMP - windows OS boot partition
    Drive E - Data - first new data partition created.
    Now I cannot boot OSX either
    a. by selecting a partition in Boot Camp app which shows 5 partitions all of which boot windows
    b. by holding down Alt key during startup which shows only the Windows partition.
    My reading so far has revealed my stupidity in that I now know Boot Camp works through an MBR which only supports 4 partitions and I now have 6. So I have to work out what to do next. My options appear to be
    a. Live with what I have - my primary OS is Windows and I can live without the OSX (I bought a Macbook 'cos I wanted both though)
    b. Delete the 2 additional partitions and hope this will restore access to OSX. Live with data in the OSX partition
    c. Find some solution that will allow me to use OSX occasionally using current partitions - I guess that means 3rd party tools
    Any advice please. In particular will simply deleting new data partitions and resizing windows partition to original size get back to the original working configuration. I can of course try this but am wary of ending up with no working partitions now.

    Apologies for replying to my own message here but I have extra info
    Running gdisk on windows shows following info
    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present
    Found valid GPT with protective MBR; using GPT.
    Disk 0:: 977105060 sectors, 465.9 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): FB48AA39-F543-4F87-AC12-8924B94C9095
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 977105026
    Partitions will be aligned on 8-sector boundaries
    Total free space is 2721 sectors (1.3 MiB)
    Number  Start (sector)    End (sector)  Size       Code  Name
      1             40         409639       200.0 MiB  EF00  EFI System Partition
      2         409640      295331527       140.6 GiB  0700  Customer
      3      295331528      296601063       619.9 MiB  0700  Recovery HD
      4      296601600      721104895       202.4 GiB  0700  BOOTCAMP
      5      721104896      772304895        24.4 GiB  0700  Basic data partition
      6      772304896      977102847        97.7 GiB  0700  Basic data partition
    Can anyone comment on the advisability of editing the partition 2 (OSX) code back to AB for Apple Boot?

  • Use unallocated space on 4tb MBR boot drive by adding partitions?

    I've replaced a pair of RAID 0 1tb drives as one of these was dying. I used Acronis to clone the drive and it works well, but I still have almost half a disk of unallocated space. I know MBR has a size limitation of 2tb, but surely I can get around this
    by using a partition for the unallocated space, since Windows (7, 64bit) can see it (I hope). When I right-click though, all options are gray...
    While disk manager can see that the drive is 4tb, Acronis disk director only sees the cloned partition. Has Acronis put some limit on the drive in the cloning process, or is it a Win7 issue?
    If it is Win7, is there a way to utilise the space on that disk, or a program that can?
    Thanks.

    The 4TB HDD must be a GPT disk to utilize the full space.  Windows cannot convert from MBR to GPT with data in place, but I think you can find utilities that will accommodate the conversion without losing your data.
    You may have the capability to clone from the MBR disk to a GPT disk with Acronis.  Either read the Acronis manual or contact Acronis Technical Support since this is not a Windows feature and Acronis is not a Microsoft product.

  • How do I get my HD back to one partition?

    I'm done using Windows and Linux, I don't need them for work anymore and I want to erase both and merge the partitions back into Macintosh HD. I was able to remove a few of the Linux partitions, but neither Bootcamp setup or Disk Utility are letting me remove BOOTCAMP, swap1, or swap2. How do I get them to merge back into one, without reinstalling OSX?

    Boot Camp Assistant does not support more than GPT, HFS+, EFI, and Windows partition. When you muck around with adding partitions, strange things do happen.
    Two things:
    Clone your HFS+ partition with Disk Utility Restore or any clone program.
    Boot from another hard drive or media and delete the partitions.
    You don't erase partitions, you delete or "-" and use Disk Utility to resize and repair the drive.
    The easy way is to use SuperDuper, then erase and restore.
    No reinstall.

  • Windows Won't Boot after resizing partition

    I am having problems with Windows not rebooting after I resized partition to reduce Mac side and increase Windows side. I do not see the BootCamp partition labelled as such while running disk utility. Upon startup, the Windows partition shows up when I boot up while pressing the ALT key. However, when I try to run Windows, it says " error loading operatig system".
    I also followed instruction and went through to run gdisk successfully. Results towards the end.
    What can be done? Windows still does not boot and It shows ? Suspicious MBR at sector 0.
    Below is information based on typical questions asked here.....
    diskutil list
    /dev/disk0   #:                       TYPE NAME                    SIZE        IDENTIFIER
       0:              GUID_partition_scheme                        *120.0 GB     disk0
       1:                                           EFI                         209.7 MB     disk0s1
       2:                         Apple_HFS Macintosh HD            78.5 GB     disk0s2
       3:                       Apple_Boot Recovery HD             650.0 MB     disk0s3
       4:                   Microsoft Basic Data                         31.7 GB      disk0s4 
    sudo gpt -r -vv show disk0
    gpt show: disk0: mediasize=120034123776; sectorsize=512; blocks=234441648
    gpt show: disk0: Suspicious MBR at sector 0
    gpt show: disk0: Pri GPT at sector 1
    gpt show: disk0: Sec GPT at sector 234441647
          start       size            index       contents
              0          1                             MBR
              1          1                             Pri GPT header
              2         32                            Pri GPT table
             34          6       
             40     409600           1            GPT part - C12A7328-F81F-11D2-BA4B-00A0C93EC93B
         409640  153240016      2            GPT part - 48465300-0000-11AA-AA11-00306543ECAC
      153649656    1269544     3            GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
      154919200   17628896       
      172548096   61892608    4            GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
      234440704        911       
      234441615         32                       Sec GPT table
      234441647          1                        Sec GPT header
    sudo fdisk /dev/disk0
    Disk: /dev/disk0 geometry: 14593/255/63 [234441648 sectors]Signature: 0xAA55
             Starting       Ending
    #: id  cyl  hd sec -  cyl  hd sec [     start -       size]
    1: EE    0   0   2 - 1023 254  63 [         1 -  172548095] <Unknown ID>
    *2: 07 1023 254  63 - 1023 254  63 [ 172548096 -   61892608] HPFS/QNX/AUX
    3: 00    0   0   0 -    0   0   0 [         0 -          0] unused    
    4: 00    0   0   0 -    0   0   0 [         0 -          0] unused 
    sudo gdisk /dev/disk0
    GPT fdisk (gdisk) version 0.8.7
    Warning: Devices opened with shared lock will not have their
    partition table automatically reloaded!
    Partition table scan:
      MBR: hybrid
      BSD: not present
      APM: not present
      GPT: present
    Found valid GPT with hybrid MBR; using GPT.
    Command (? for help): r
    Recovery/transformation command (? for help): h
    WARNING! Hybrid MBRs are flaky and dangerous! If you decide not to use one,
    just hit the Enter key at the below prompt and your MBR partition table will
    be untouched.
    Type from one to three GPT partition numbers, separated by spaces, to be
    added to the hybrid MBR, in sequence: 4
    Place EFI GPT (0xEE) partition first in MBR (good for GRUB)? (Y/N): y
    Creating entry for GPT partition #4 (MBR partition #2)
    Enter an MBR hex code (default 07):
    Set the bootable flag? (Y/N): y
    Unused partition space(s) found. Use one to protect more partitions? (Y/N): n
    Recovery/transformation command (? for help): o
    Disk size is 234441648 sectors (111.8 GiB)
    MBR disk identifier: "DELETED INFO"
    MBR partitions:
    Number  Boot  Start Sector   End Sector   Status      Code
       1                               1    172548095   primary     0xEE
       2           *     172548096    234440703   primary     0x07
    Recovery/transformation command (? for help): w
    Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
    PARTITIONS!!
    Do you want to proceed? (Y/N): y
    OK; writing new GUID partition table (GPT) to /dev/disk2.
    Warning: Devices opened with shared lock will not have their
    partition table automatically reloaded!
    Warning: The kernel may continue to use old or deleted partitions.
    You should reboot or remove the drive.
    The operation has completed successfully.

    So here's what I think happened. Upon resizing the OS X volume, a 5th partition was created. When that happens, diskutil removes the hybrid MBR that's needed to activate the EFI firmware CSM (BIOS emulator) which is still presently used for booting Windows on Apple hardware. Upon removing the hybrid MBR, Windows is no longer bootable. So what you probably did was used Disk Utility to reverse what you did by deleting the extra partition. When you do this, diskutil recreates the hybrid MBR but with the wrong partition type code. It sets it to 0x0C, and therefore thinks it's FAT32, whereas it should be 0x07 for NTFS. Disk Utility will then let you run a disk check on what it erroneously thinks is a FAT32 volume, but is in fact NTFS. If any writes are done, which it appears is the case, it corrupts the NTFS file system.
    So this is just yet another Bootcamp data loss story, without any warning in either documentation or Disk Utility whatsoever.
    What version of OS X is this?
    The easiest, but most tedious thing to do is to totally start over with everything: obliterate the entire drive with Disk Utility making 1 partition only, reinstalling OS X and files from backups, use Bootcamp Assistant to resize the OS X volume the way you really want it, reinstall Windows and restore from its backup. All of that can be done in the GUI.
    You might still use the Windows install disk to run Windows startup repair. It might fix the Bootcamp volume. The remaining problem in that case is what to do with the large pile of free space, but I'll make those suggestions later once you get to that point.
    If Windows startup repair can't fix the Bootcamp volume, and you don't have a backup, then you'll need to download and install testdisk, and read how to use it to try and find your data. It's an iterative process. Once that's done, while it probably won't fix it and make it bootable again, you'll have a basic backup of files. The remaining thing to do is use gdisk remove the broken Windows partition, make a new one that also includes free space you presumably wanted Windows to have, and make a new hybrid MBR adding partitions 2 3 4. Then reinstall Windows, your apps, and restore your data from backups.
    So that's the gist. Ask if you have more questions.

  • Long running table partitioning job

    Dear HANA grus,
    I've just finished table partitioning jobs for CDPOS(change document item) with 4 partitions by hash with 3 columns.
    Total data volumn is around 340GB and the table size was 32GB !!!!!
    (migration job was done without disabling CD, so currently deleting data on the table with RSCDOK99)
    Before partitioning, the data volumn of the table was around 32GB.
    After partitioning, the size has changed to 25GB.
    It took around One and half hour with exclusive lock as mentioned in the HANA adminitration guide.
    (It is QA DB, so less complaints)
    I thought that I might not can do this in the production DB.
    Does anyone hava any idea for accelerating this task?? (This is the fastest DBMS HANA!!!!)
    Or Do you have any plan for online table partitioning functionality??(To HANA Development team)
    Any comments would be appreciate.
    Cheers,
    - Jason

    Jason,
    looks like we're cross talking here...
    What was your rationale to partition the table in the first place?
           => To reduce deleting time of CDPOS            (As I mentioned it was almost 10% quantity of whole Data volume, So I would like to save deleting time of the table from any pros of partitioning table like partitioning pruning)
    Ok, I see where you're coming from, but did you ever try out if your idea would actually work?
    As deletion of data is heavily related with locating the records to be deleted, creating an index would have probably be the better choice.
    Thinking about it... you want to get rid of 10% of your data and in order to speed the overall process up, you decide to move 100% of the data into sets of 25% of the data - equally holding their 25% share of the 10% records to be deleted.
    The deletion then should run along these 4 sets of 25% of data.
    It's surely me, but where is the speedup potential here?
    How many unloads happened during the re-partitioning?
           => It was fully uploaded in the memory before partitioning the table by myself.(from HANA studio)
    I was actually asking about unloads _during_ the re-partitioning process. Check M_CS_UNLOADS for the time frame in question.
    How do the now longer running SQL statements look like?
           => As i mentioned selecting/deleting increased almost twice.
    That's not what I asked.
    Post the SQL statement text that was taking longer.
    What are the three columns you picked for partitioning?
           => mandant, objectclas, tabname(QA has 2 clients and each of them have nearly same rows of the table)
    Why those? Because these are the primary key?
    I wouldn't be surprised if the SQL statements only refer to e.g. MANDT and TABNAME in the WHERE clause.
    In that case the partition pruning cannot work and all partitions have to be searched.
    How did you come up with 4 partitions? Why not 13, 72 or 213?
           => I thought each partitions' size would be 8GB(32GB/4) if they are divided into same size(just simple thought), and 8GB size is almost same size like other largest top20 tables in the HANA DB.
    Alright, so basically that was arbitrary.
    For the last comment of your reply, most people would do partition for their existing large tables to get any benefit of partitioning(just like me). I think your comment can be applied for the newly inserting data.
    Well, not sure what "most people" would do.
    HASH partitioning a large existing table certainly is not an activity that is just triggered off in a production system. Adding partitions to a range partitions table however happens all the time.
    - Lars

Maybe you are looking for

  • XPath query to test for the existence of a tag

    I have the following piece of XML and I need to write a query against it that will check for the existence of the <content> tag in XML body... In other words, I want to get the row if the <content> tag is absent from the Asset portion of the metadata

  • HT201364 how do I upgrade to maverick os on a iMac5 model?

    OS X Snow Leopard 10.6.8, the latest version is currently installed.

  • HT6114 Installing OS X Mavericks

    When trying to install OS X upgrade, it asks for me to sign in as administrator.  But, I did not set up an administrator password for the computer.  What now?  How can I get pass this step?

  • HT2509 Why don't some fonts that are in font book appear in MS Word?

    I just installed a bunch of fonts in the font book, but they don't appear in MS Word. On my Windows 7 disk they are all fine. Also, MS Word fonts are no longer alphabetically arranged. Thanks!

  • Can't install Creative Cloud Desktop

    Hi all, I try to install Creative Cloud Desktop but I have over and over again the same message: "Could not create /Library/Application Support/Adobe/CoreSync" I used Creative Cloud Cleaner, re-installed, renamed folders: OOBE.OLD, OOBE_old, but I ha