Help with partitions!

Ok, I have 2 partitions on my internal HD. CS5 is the startup disk. CS4 I wish to delete and have more memory on CS5. I deleted everything on CS4 through disk utility but it still says "this partition cannot be modified. The Hitatchi drive is and external boot drive that I made and booted from and I still was not able to do anything to my internal drive. HELP ME!
P.S. The reason I am doing this is because when I attemt to install mavericks it says something about the GUID partitions and won't install.

Right that main, internal disk, is set to Master Boot Record. For OS X to be installed it has to be a GUID disk.
Are you running OS X from that main internal disk? It looks like you are running Windows with a MBR partition table.
Not sure what to tell you except to install OS X the disk needs to be a GUID partition table. so your only option is to Repartition theat disk as One partition, Which Will Wipe Out Everthing That Is Now On It, and then start fresh with a clean install of OS X.

Similar Messages

  • Help with partitioning an external drive

    I've never done this, so am not sure how it works. I have an external drive (250 gb) that I use with SuperDuper to back up my Mac. Now I have decided I also want to keep a separate iTunes library on this drive. Apparently, so that SuperDuper doesn't erase the new iTunes library, the drive will need to be partitioned.
    So. . . I will use Disk Utility to partition that drive into two and call each section something different? Will each section then look like a different drive (for instance, in SuperDuper)?
    Are there any tricks or tips I should know before running Disk Utility's partition application?
    I have searched the forum for info on this, but most of the people seemed to have at least basic knowledge of how it works, so didn't get much help there. I want to ask before I go and erase the drive.
    Thanks in advance!
    Chris
    Powerbook G4; Intel iMac 20inch Core Duo Mac OS X (10.4.7)
    Powerbook G4; Intel iMac 20inch Core Duo   Mac OS X (10.4.7)  

    Disk Utility offers following partition schemes:
    GUID -> Intel Mac
    Apple Partition Map (APM) -> PPC Mac
    Master Boot Record (MBR) -> PC
    My apology for referring APM as PPC in my previous post. Native partition scheme (GUID for Intel Mac and APM for PPC Mac) must be used in order to install Mac OS X in the partition as startup disk, it allows booting as well as firmware update. If partition must be shared between Intel Mac and PPC Mac, then only APM scheme can be used since both Mac platforms are able to access APM partition but only PPC Mac can boot from this type of partition.
    Since I have only one Intel Mac and booting from external storage is necessary for maintenance (full defragmentation) and repair (in case when internal drive has crashed), I use only GUID scheme for iMac's internal drive and Firewire external drive. Super Duper is used to mirror exactly internal drive to external drive regularly. The only time I have to perform file transfer between PPC Mac and Intel Mac with external drive was during hardware upgrade as follows:
    iBook G4 -> iMac G5 -> iMac CoreDuo -> iMac Core2Duo
    Thus the decision for partition scheme of external drive depends on whether you have to boot Mac OS X from external drive (no in your case but highly recommeded for emergency plan) and whether sharing of external drive between your PowerBook G4 and iMac CoreDuo is desirable. I assume you will select APM scheme for your purpose since booting Mac OS X from external drive is not required.
    Use of very old Master Boot Record (MBR) scheme will turn the external drive into PC drive completely. Unless this drive must be accessed in Windows environment as conventional PC drive for some PC disk utilities (these old utilities can't work with new GUID scheme), use of this non-native scheme for Mac OS X is not advisable.
    Hopefully above information will help you in partitioning external drive. Since you do not have to preserve content of this external drive, why not go ahead and experiment with new partitions to see whether they serve your purpose ? Disk partitioning without writing zero or any random patterns on whole disk takes only few seconds. But it is a good idea to write zero (shortest time required) across whole disk surface to ensure that bad disk blocks are masked off to prevent future access and possible crash.
    iMac Intel Core 2 Duo 2.16GHz / 1GB RAM / 250GB HD / 20" LCD   Mac OS X (10.4.9)   Firewire RAID, iPod nano

  • In Need of desperate help with Partitioning.

    Here is the situation.
    My lab of machines with the following with configuration.
    Disk 0 80GB-One partition 100% -this is just a blank drive, no data.
    Disk 1 1TB-2 partitiions
    1-200gb-OS goes here.
    2-Use rest of free space-data drive.
    I'd like to apply OS on Disk 1 partition 1,  but in my logs it says this action is not supported. In my ts on the apply OS image I have specific disk and partition set to 1 and 1
    for the data drive of disk 1 I have set specific disk and drive to drive 1 and partition 2
    It doesn't seem to be working. I also have made Disk 1 the 1 TB the primary boot drive in the BIOS.

    Hi,
    The configuration above should be working. Could you please upload the Smsts.log and screenshots about Disk partition steps in the task sequence?
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Help with partitions and file systems [SOLVED]

    Hi, i have been using Ubuntu for a while, and now i want to move to Arch. I've probed it in a PC and i like so i want to make que change.
    But, before installing Arch, I have 2 doubts. I red the beginners guide and also the instalation guide. There it says that if better to have diferents partitions for  /, /boot/, /home, /usr, /var, y /tmp
    Usually, i alwayes used something like this:
        * /boot (32megas)
        * /swap (512 megas)
        * /root (6 a 8 gigas)
        * /home (80 gigas aprox)
    It's really better to also have partitions for /var, /usr y /tmp? o some of them? and, in that case, wich size should i give them? because i don't want to make them too small, but i don't want to waste disk space neither.
    Adn that takes me to my second question, wich filesystem is better for each partitionn? in many places, i read taht JFS its good for /var or that XFS if better for /home and big files
    I thinked to use something like this:
        * /boot (ext2)
        * / (JFS)
        * swap
        * /home (XFS)
    Is a good design? or should i use other filesystem like reiserfs, etc... and for /var, /usr and /tmp partition, wich one should i use?
    Thank you
    Ps: This Pc is gonna be a desktop pc
    Ps2: sorry for my bad english. it is not my real lenguage
    Reason of edit: added the swap partition. I forgot it
    Last edited by Thalskarth (2008-12-21 20:11:00)

    thanks everybody for the help,
    kaola_linux wrote:@Thalskarth - it's better to have /var especially if you're using ext3 or other filesystems which was designed for larger files as your partition for /home and /.  Having a seperate partition for /var would be nice (backup purposes and reinstalling without downloading the entire package whole over again). 5gb would be sufficient for your /var, anyway you can always resize it to your needs.
    so, a 5gb partition in reiserfs would be OK for a /var
    Inxsible wrote:
    Lot of people also use XFS which is known to have better performance with huge files. I think EXT3 offers a good balance...because I am never sure whether my home partition will have all huge files or not..same with my external drive...so i just use EXT3
    If you have a specific partition for movies or some video/audio editing that you do..you may wanna consider XFS too. I don't do all that...so I have never used XFS. I wouldn't know the exact performance difference between ext3 and XFS.
    Yes, in many places i red that XFS is better for big files. But i couldn't fine wich is the meaning of "big file". Does it mean a 200 mg file? or a 4.4gb one??
    the same applies to reiserFs, what is a small file? a 1mg one or a 4kb one?
    I have alwayes used ext3, i thinked in XFS and JFS just to give them a try.
    amranu wrote:I have no idea about better filesystems, all my partitions are ext3 (soon to be ext4)
    Inxsible wrote:One thing that makes me wanna keep EXT3 is that EXT4 is coming out (soon?) and you can upgrade from 3 to 4 without having to reformat and having to make backups of your current data.
    really is cominf soon? i didn't think in ext4 beacuse many places said that was in development for many years... meybe they were a bit out-of-date
    Edit: i search in the wiki and it says that since 11 october 2008, ext4 is "stable" and is been included since kernel 2.6.28 as stable realase, is to early to prove it? or it better to wait a while??
    thanks.
    and, does anyone try the JFS one?
    Last edited by Thalskarth (2008-12-03 00:14:56)

  • Help With Partitioning??

    I have a late 2013 13" Macbook Pro Retina. I am thinking of partitioning my hard drive so I can run some Windows programs and games, such as Skyrim and CS:GO.  I have a 256 GB SSD, with about 140GB left. I really don't need much else on my Mac , so most of it can go to Windows.
    Should I even bother partitioning?
    How much should I dedicate to Windows?
    Which version of Windows will work best?
    Or should I give up on BootCamp altogether and use an emulator such as Parallels?
    !!!!HELP!!!!

    Use Boot Camp Assistant in the Utilities folder to create a Windows volume on your hard drive. Using Parallels is certainly an option but you should understand that games or software requiring a lot of CPU power may work  better with a Boot Camp dual-boot system. Parallels has the advantage of letting you use OS X and Windows concurrently.
    How to install Windows using Boot Camp
    Boot Camp - Apple Support
    Boot Camp- Frequently asked questions about installing Windows 8
    Boot Camp 5.1- Frequently asked questions
    Boot Camp- System requirements for Microsoft Windows operating systems
    Boot Camp- Installing Windows 7 Frequently Asked Questions
    A Windows partition should be at least 100 GBs. However, you need to maintain at least 20 GBs of free space for OS X. You also need to maintain free space for adding data and/or new applications to OS X, so be sure you will have sufficient space for OS X. Given what you have described allocating 100 GBs to Windows may not be well advised - it may need to be less unless you can trim stuff from the OS X side.

  • Where can I get help with partitioning my hard drive? I have a "non-genuine" version of windows that I need to replace but I have not a clue how to go about doing that.

    I love my mac, but I unfortunately have to also run windows because of engineering software. I bought windows 7 at my campus computre store and one year later my computer is telling me that my software is "non-genuine." I need to fix this asap, but my computer store refuses to do anything because a year has passed. Microsoft wont help because I have a Mac.
    My question is, where can I go to find someone who can help me uninstall the "non-genuine" windows 7 and replace it with a functional one?
    Im allowed a free download of windows 7 because I'm still a student, but I have no clue how to go about uninstalling and reinstalling windows.
    Thanks a bunch.

    Hello,
    This kind of question is best asked in the Windows Forums, however I've had some succession with a similar issue myself.
    Non-Genuine Windows means that it can't authenticate your copy of Windows.
    It's not a problem, all your need is a genuine product key code. Provided you don't have different version of Windows 7 installed to the one you are buying (for example windows 7 Home Premium and Windows 7 business) Then you can use the new key code.
    Click on the Start Button and type: CMD (into the 'Search programs and files' field in the Start Menu)
    The Start Menu will show 'CMD.exe', 
    Right-click the CMD.exe file and select Run As Administrator.
    In the CMD window, type: slmgr.vbs -ipk <type your product key here>
    To activate windows after changing the key, type: slmgr.vbs -ato
    It should now accept the new key code and you will need to be connected to the Internet to authenticate.
    If by chance the windows 7 types are different (One is Home premium say and the other is Business) then you will need to uninstall that copy of Windows 7 and install the new one. If your using BootCamp then you will need to go into BootCamp under system preferences and remove that copy of Windows (delete it)
    Then create a new setup with your new Windows 7 disk.
    For me I had the same type of windows, changing the product code worked. Saved me the bother of having to reinstall Windows again and it was all genuine.
    Best of luck

  • Help with partitioning ext firewire drive to use for storage/image backups

    I just ordered a 2tb external hard drive.  Want to put at least 1tb of the space for normal access file storage and use between 500gb and 750gb (probably the latter if I upgrade internal drive) for image clones to use for emergency boots.  Software maybe Super Duper?  Anyway, will get pre-formatted drive tomorrow and need to make it happen quick.
    Would I delete whatever partition comes on it and put 2 new ones on?  One for file storage and one for clone images?  Or can I even just use one big 2tb partition?  Want to make regular clone images for emergency booting and expand my file storage at same time.  Probably use something lIke Carbon Copy Cloner(?) or Super Duper for images and maybe do some Time Machine backups?

    Yes, you can do it that way. Again, it is recommended that TM have its own partition.
    It sounds like you have two 2TB HDs. Why not put three partitions on one, put the 750GB of data on one partition, and you have two more partitions to clone to (I would alternate each time).
    Then you have the other 2TB HD for TM. It's recommended that you have a volume at least double the size of the amount of data you're backing up (3x or more would be even better), so that would be great.
    Obviously you can do what you want, but starting out from the beginning like you are, why not do it "right?" It's the "foundation," and the better that is, the better luck you're likely to have with the structure built on top of it (your backups).

  • Help with partition

    Hello, I have an oracle RAC EE 10gR2 with 2 nodes on SLES 10. Our college are development one application. This application has 2 tables which contains very data. We estimate that one table, called CASILLA_VALOR, will have 5.000 millions of records. Other table, called DOCUMENTS, we estimate that will have 30-40 millions of records. The columns of tables are:
    DOCUMENTS
    ========
    MODEL            VARCHAR2(3 BYTE) PRIMARY KEY
    VERSION          VARCHAR2(1 BYTE) PRIMARY KEY
    DOCUMENT      VARCHAR2(9 BYTE) PRIMARY KEY
    CUSTOMER_ID
    STATUS
    CASILLA_VALOR
    ===============================
    MODEL            VARCHAR2(3 BYTE) PRIMARY KEY
    VERSION          VARCHAR2(1 BYTE) PRIMARY KEY
    DOCUMENT      VARCHAR2(9 BYTE) PRIMARY KEY
    NU_CASILLLA    NUMBER(3,0) PRIMARY KEY
    HOJA                NUMBER(3,0) PRIMARY KEY
    VALUE               VARCHAR2(100 BYTE)
    USER_UPDATE    VARCHAR2(10 BYTE)
    DATE_UPDATE   TIMESTAMP(6)Well, I think that I must partition my tables, but what method (range, list, hash) of partition should I do it?
    Thanks in advaced
    PD: Excuseme but my english is very very bad.

    There are all sorts of considerations.
    Is partitioning considered for manageability or primarily for query speed?
    This is a documents table and it has a status column - is there any sort of lifecycle management that needs to be considered?
    Are there a particular subset of statuses that would tend to be accessed for example?
    Surrogate keys should be considered for the model/version/document primary key -> foreign key.
    Further reading:
    http://structureddata.org/2010/01/25/the-core-performance-fundamentals-of-oracle-data-warehousing-partitioning/
    http://www.evdbt.com/OOW09%20DWScaling%20TGorman%2020091013.ppt

  • Need help with partitioning my drive...

    Hello folks!
    I have a small problem with my macbook. I have recently installed windows using boot-camp since I need to for my schoolwork. But now I want another partition that I can use while in windows so that I can install some simple games and play while not doing anything else. The problem is that whenever I use the tools in OSX to create a new partition and format it as either NTFS/FAT32, I cant reboot into windows anymore. All I get is a blue screen and then a reboot.
    What am I doing wrong and is there a better way for me to go by?
    Hopefully someone knows the answer and cheers for the upcoming replies. =)

    Hi, and welcome to the forums.
    I don't do Windoze, but it's my understanding that Boot Camp only allows a single partition for Windoze and a single one for OSX.
    But you'll no doubt get better advice in the +Boot Camp+ forums, at: http://discussions.apple.com/category.jspa?categoryID=237

  • I need to use my iMac to run some Windows software and was thinking of using Parallels Desktop 9 to help with this. Do you still have to partition your drive with Parallels and does this leave you open to viruses?

    I need to use my iMac to run some Windows software not available for Mac and was thinking of obtaining Parrallels Desktop 9 to help with this. If I use Parrallels do you still have to partitian your drive and does this leave you open to viruses?

    You do not have to partition your drive - Parallels creates a disk image which contains your Windows installation. You do have to exercise anti-virus measures in the Windows partition, although such malware cannot affect the Mac filesystem.
    Matt

  • New to Mac, Help with Time Machine! Partition External HDD or not?

    Hey Guys I'm a new mac user
    I need help with  time machine
    I wanted to know how time machine works and what all does it back up?
    I have 2 hard drives one is of 1TB and one is of 320gb
    In the 1TB hard drive i store all my music videos and work stuff it is windows formatted
    The 320gb hard drive is mac formatted and I was thinking of making a partition on it one with 250gb for time machine and the remaining 70 gb for mac softwares and files. The ssd of my mac has a capacity of 256gb. I have read for time machine you need at least 2x the space of your ssd on your external hard drive but i don't understand if my ssd is only 256 and can store files worth 256gb why do i need double the space? Secondly if I choose to use the complete 320 gb for time machine will that be okay or even if i choose to partition it to 250gb for time machine will that be fine too? Or will I need to format my 1TB hard disk out of which currently only 300 gb is empty and partition that to 500 gb for time machine?
    I'm really confused every tells me to use time machine but do I need it? And what does it exactly do?
    Your input will be really appreciate thanks

    The reason that you want a partition (or drive) of 2-3 times the size of your boot drive for Time Machine is so that you can keep backups further back than just the current boot drive state - for that you'd need to make a clone of the drive rather than using Time Machine (see -> http://pondini.org/TM/Clones.html).
    For more information for backups in general, see -> Most commonly used backup methods.
    Note that you can't use Time Machine to backup a Windows partition.
    Good luck,
    Clinton
    MacBook Pro (15” Late 2011), OS X 10.??, 16GB Crucial RAM, 960GB M500 Crucial SSD, 27” Apple Thunderbolt Display

  • Help with resizing adjacent partitions on mirrored drives - Solaris 9 V240

    Hi,
    I need some help here. I'm very new to unix administration. I am running out of space on my /var directory. I have a set of 72G disks that are mirroring each other. The /var is mounted on /dev/md/dsk/d5 which has only 262M available out of 5.8G. Meanwhile the partition adjacent to it /dev/md/dsk/6 which has the /opt/app directory mounted has 5.8G available out of 13G.
    Is it possible for me to take space from the slice 6 and give it to slice 5? How do I do this without loosing any data?
    Here is some info about my system:
    AVAILABLE DISK SELECTIONS:
    0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@0,0
    1. c1t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@1,0
    2. c2t5d0 <Symbios-StorEDGEA1000-0301 cyl 17344 alt 2 hd 64 sec 64>
    /pseudo/rdnexus@2/rdriver@5,0
    3. c2t5d1 <Symbios-StorEDGEA1000-0301 cyl 17344 alt 2 hd 64 sec 64> APP02
    /pseudo/rdnexus@2/rdriver@5,1
    # df -h
    Filesystem      size      used      avail      capacity      Mounted on
    /dev/md/dsk/d0 15G 14G 1.5G 91%           /
    /proc      0K 0K 0K 0%           /proc
    mnttab      0K 0K 0K 0%           /etc/mnttab
    fd      0K 0K 0K 0%           /dev/fd
    /dev/md/dsk/d5 5.8G 5.5G 264M 96%           /var
    swap 16G 168K 16G 1%           /var/run
    /dev/dsk/c2t5d1s3 15G 26M 15G 1%           /u1
    /dev/dsk/c2t5d0s0 5.9G 3.0G 2.7G 53%           /u2
    /dev/dsk/c2t5d0s5 5.9G 1.2G 4.4G 22%           /u3
    /dev/md/dsk/d3 4.8G 3.1G 1.7G 65%           /opt
    /dev/md/dsk/d4 4.8G 2.8G 2.0G 59%           /tmp
    /dev/dsk/c2t5d0s3 5.9G 882M 4.8G 16%           /opt/devbkup
    /dev/dsk/c2t5d0s4 5.9G 630M 5.0G 11%           /opt/workarea
    /dev/dsk/c2t5d0s6 3.9G 2.4G 1.3G 65%           /opt/patch
    /dev/dsk/c2t5d0s7 5.7G 1.9G 3.5G 36%           /opt/app
    /dev/md/dsk/d6 13G 7.5G 5.8G 57%           /opt/app2
    /export/home/jason 15G 14G 1.5G 91%           /home/jason
    Current Disk = c1t0d0
    <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@0,0
    Volume name = < >
    ascii name = <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    pcyl = 14089
    ncyl = 14087
    acyl = 2
    nhead = 24
    nsect = 424
    Part     Tag     Flag     Cylinders     Size     Blocks
    0     root     wm     0 - 3220     15.63GB     (3221/0/0)     32776896
    1     swap     wu     3221 - 5636     11.72GB     (2416/0/0)     24585216
    2     backup     wm     0 - 14086     68.35GB     (14087/0/0)     143349312
    3     unassigned     wm     5637 - 6643     4.89GB     (1007/0/0)     10247232
    4     unassigned     wm     6644 - 7650     4.89GB     (1007/0/0)     10247232
    5     var     wm     7651 - 8858     5.86GB     (1208/0/0)     12292608
    6     unassigned     wm     8859 - 1167     13.67GB     (2818/0/0)     28675968
    7     unassigned     wm     11677 - 11685     44.72MB     (9/0/0)     91584
    Current Disk = c1t1d0
    <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    /pci@1c,600000/scsi@2/sd@1,0
    Volume name = < >
    ascii name = <SUN72G cyl 14087 alt 2 hd 24 sec 424>
    pcyl = 14089
    ncyl = 14087
    acyl = 2
    nhead = 24
    nsect = 424
    Part     Tag     Flag     Cylinders     Size     Blocks
    0     root     wm     0 - 3220     15.63GB     (3221/0/0)     32776896
    1     swap     wu     3221 - 5636     11.72GB     (2416/0/0)     24585216
    2     backup     wm     0 - 14086     68.35GB     (14087/0/0)     143349312
    3     unassigned     wm     5637 - 6643     4.89GB     (1007/0/0)     10247232
    4     unassigned     wm     6644 - 7650     4.89GB     (1007/0/0)     10247232
    5     var     wm     7651 - 8858     5.86GB     (1208/0/0)     12292608
    6     unassigned     wm     8859 - 11676     13.67GB     (2818/0/0)     28675968
    7     unassigned     wm     11677 - 11685     44.72MB     (9/0/0)     91584
    If this isn't possible, it looks like I have about 12G of free space. Partition 7 is only using from 11677-11685 while I could take it up to 11677-14086. I would then have to create the mirror metattach for that partition and then would I just unmount /var and remount it on the new /dev/md/dsk/d7? I'll need help with that. Then what would I do with the unused d5?
    A step by step response would be great! Thanks!

    # metadb
    flags first blk block count
    a m p luo 16 8192 /dev/dsk/c1t0d0s7
    a p luo 8208 8192 /dev/dsk/c1t0d0s7
    a p luo 16 8192 /dev/dsk/c1t1d0s7
    a p luo 8208 8192 /dev/dsk/c1t1d0s7
    # metastat | more
    d0: Mirror
    Submirror 0: d20
    State: Okay
    Submirror 1: d10
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 32776896 blocks (15 GB)
    d20: Submirror of d0
    State: Okay
    Size: 32776896 blocks (15 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s0 0 No Okay Yes
    d10: Submirror of d0
    State: Okay
    Size: 32776896 blocks (15 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s0 0 No Okay Yes
    d1: Mirror
    Submirror 0: d21
    State: Okay
    Submirror 1: d11
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 24585216 blocks (11 GB)
    d21: Submirror of d1
    State: Okay
    Size: 24585216 blocks (11 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s1 0 No Okay Yes
    d11: Submirror of d1
    State: Okay
    Size: 24585216 blocks (11 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s1 0 No Okay Yes
    d3: Mirror
    Submirror 0: d23
    State: Okay
    Submirror 1: d13
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 10247232 blocks (4.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s3 0 No Okay Yes
    d13: Submirror of d3
    State: Okay
    Size: 10247232 blocks (4.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s3 0 No Okay Yes
    d4: Mirror
    Submirror 0: d24
    State: Okay
    Submirror 1: d14
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 10247232 blocks (4.9 GB)
    d24: Submirror of d4
    State: Okay
    Size: 10247232 blocks (4.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s4 0 No Okay Yes
    d14: Submirror of d4
    State: Okay
    Size: 10247232 blocks (4.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s4 0 No Okay Yes
    d6: Mirror
    Submirror 0: d26
    State: Okay
    Submirror 1: d16
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 28675968 blocks (13 GB)
    d26: Submirror of d6
    State: Okay
    Size: 28675968 blocks (13 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s6 0 No Okay Yes
    d16: Submirror of d6
    State: Okay
    Size: 28675968 blocks (13 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s6 0 No Okay Yes
    d5: Mirror
    Submirror 0: d25
    State: Okay
    Submirror 1: d15
    State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 12292608 blocks (5.9 GB)
    d25: Submirror of d5
    State: Okay
    Size: 12292608 blocks (5.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t1d0s5 0 No Okay Yes
    d15: Submirror of d5
    State: Okay
    Size: 12292608 blocks (5.9 GB)
    Stripe 0:
    Device Start Block Dbase State Reloc Hot Spare
    c1t0d0s5 0 No Okay Yes
    Device Relocation Information:
    Device Reloc Device ID
    c1t1d0 Yes id1,sd@SSEAGATE_ST373207LSUN72G_3532DM4K____________3KT2DM4K
    c1t0d0 Yes id1,sd@SSEAGATE_ST373207LSUN72G_4032QM28____________3KT2QM28
    I thank you for any help you can give! Thanks!

  • Help with queries about boot camp and partition, please.

    Hi, I am hoping to partition my HDD. I have done this before, when I first got my macbook but got rid of it, and now I can't fully remember the do's and don'ts' of boot camp. I just need a few questions answered before I take any action.
    1. I have a 120GB HDD with about 15GB free space. If I partition the drive will I lose any data on my existing HDD?
    2. What is the minimal amount of space I can partition the drive and install Windows?
    (I have a copy of Windows XP SP2, and really only need to install it for the use of one program that isn't available on the Apple operating systems.)
    3. I tried using Parallels in which Windows took up about 6GB, will it be about the same again? I uninstalled it because I found it to lag a bit.
    If you can help with any of these queries I would really appreciate it, thanks!

    Maybe you should first get a larger drive; you don't have much more than the minimum 10% free space that Mac OS needs.
    Retry with Sun's VirtualBox. Maybe you just need more memory.
    Lose data? Step #1: backup.
    You may need to backup and erase your hard drive and then restore.
    I'd invest in 300GB drive though.

  • Help with query calculations (recursive)

    Hi All,
    I want some help with a query using a base rate and the result use in the next calculation year.
    Here an example:
    create table rate_type(
    rate_type_id    number,
    rate_desc       nvarchar2(50),
    rate_base_year  number
    insert into rate_type(rate_type_id, rate_desc, rate_base_year) values (1, 'Desc1', 4.6590);
    insert into rate_type(rate_type_id, rate_desc, rate_base_year) values (2, 'Desc2', 4.6590);
    create table rates (
    rate_type_id number
    rate_year    number,
    rate_value   number
    insert into rates(rate_type_id, rate_year, rate_value) values (1, 2012, 1.2);
    insert into rates(rate_type_id, rate_year, rate_value) values (1, 2013, 1.3);
    insert into rates(rate_type_id, rate_year, rate_value) values (1, 2014, 1.4);
    insert into rates(rate_type_id, rate_year, rate_value) values (2, 2012, 1.2);
    insert into rates(rate_type_id, rate_year, rate_value) values (2, 2013, 1.3);
    insert into rates(rate_type_id, rate_year, rate_value) values (2, 2014, 1.4);The calculation for the first year should be the base rate of the rate type. The next year should use the result of the previous year and so on.
    The result of my sample data is:
    2012 = 4.659 + 1.2 + 4.659 * (1.2 * 0.01) = 5.9149
    2013 = 5.9149 + 1.3 + 5.9149 * (1.3 * 0.01) = 7.1859
    2014 = 7.1859 + 1.4 + 7.1859 * (1.4 * 0.01) = 8.4721Query result:
    NAME 2012 2013 2014
    Desc1 5.9149 7.1859 8.4721
    Desc2 XXXX XXX XXXX
    How can I do this in one select statement? Any ideas?
    Thanks!

    Assuming you are on 11.2:
    with t as (
               select  a.rate_type_id,
                       rate_desc,
                       rate_year,
                       rate_base_year,
                       rate_value,
                       count(*) over(partition by a.rate_type_id) cnt,
                       row_number() over(partition by a.rate_type_id order by rate_year) rn
                 from  rate_type a,
                       rates b
                 where a.rate_type_id = b.rate_type_id
        r(
          rate_type_id,
          rate_desc,
          rate_year,
          rate_base_year,
          rate_value,
          cnt,
          rn,
          result
         ) as (
                select  rate_type_id,
                        rate_desc,
                        rate_year,
                        rate_base_year,
                        rate_value,
                        cnt,
                        rn,
                        rate_base_year + rate_value + rate_base_year * rate_value * 0.01 result
                  from  t
                  where rn = 1
               union all
                select  t.rate_type_id,
                        t.rate_desc,
                        t.rate_year,
                        t.rate_base_year,
                        t.rate_value,
                        t.cnt,
                        t.rn,
                        r.result + t.rate_value + r.result * t.rate_value * 0.01 result
                  from  r,
                        t
                  where t.rate_type_id = r.rate_type_id
                    and t.rn = r.rn + 1
    select  *
      from  (
             select  rate_desc name,
                     rate_year,
                     result
               from  r
               where rn <= cnt
      pivot (sum(result) for rate_year in (2012,2013,2014))
      order by name
    NAME             2012       2013       2014
    Desc1        5.914908  7.2918018 8.79388703
    Desc2        5.914908  7.2918018 8.79388703
    SQL> Obviously pivoting assumes you know rate_year values upfront. If not, then without pivoting:
    with t as (
               select  a.rate_type_id,
                       rate_desc,
                       rate_year,
                       rate_base_year,
                       rate_value,
                       count(*) over(partition by a.rate_type_id) cnt,
                       row_number() over(partition by a.rate_type_id order by rate_year) rn
                 from  rate_type a,
                       rates b
                 where a.rate_type_id = b.rate_type_id
        r(
          rate_type_id,
          rate_desc,
          rate_year,
          rate_base_year,
          rate_value,
          cnt,
          rn,
          result
         ) as (
                select  rate_type_id,
                        rate_desc,
                        rate_year,
                        rate_base_year,
                        rate_value,
                        cnt,
                        rn,
                        rate_base_year + rate_value + rate_base_year * rate_value * 0.01 result
                  from  t
                  where rn = 1
               union all
                select  t.rate_type_id,
                        t.rate_desc,
                        t.rate_year,
                        t.rate_base_year,
                        t.rate_value,
                        t.cnt,
                        t.rn,
                        r.result + t.rate_value + r.result * t.rate_value * 0.01 result
                  from  r,
                        t
                  where t.rate_type_id = r.rate_type_id
                    and t.rn = r.rn + 1
    select  rate_desc name,
            rate_year,
            result
      from  r
      where rn <= cnt
      order by name,
               rate_year
    NAME        RATE_YEAR     RESULT
    Desc1            2012   5.914908
    Desc1            2013  7.2918018
    Desc1            2014 8.79388703
    Desc2            2012   5.914908
    Desc2            2013  7.2918018
    Desc2            2014 8.79388703
    6 rows selected.
    SQL> SY.

  • Need help with turning multiple rows into a single row

    Hello.
    I've come across a situation that is somewhat beyond my knowledge base. I could use a little help with figuring this out.
    My situation:
    I am attempting to do some reporting from a JIRA database. What I am doing is getting the dates and times for specific step points of a ticket. This is resulting in many rows per ticket. What I need to do is return one row per ticket with a calculation of time between each step. But one issue is that if a ticket is re-opened, I want to ignore all data beyond the first close date. Also, not all tickets are in a closed state. I am attaching code and a sample list of the results. If I am not quite clear, please ask for information and I will attempt to provide more. The database is 10.2.0.4
    select jiraissue.id, pkey, reporter, summary
    ,changegroup.created change_dt
    ,dbms_lob.substr(changeitem.newstring,15,1) change_type
    ,row_number() OVER ( PARTITION BY jiraissue.id ORDER BY changegroup.created ASC ) AS order_row
    from jiraissue
    ,changeitem, changegroup
    ,(select * from customfieldvalue where customfield = 10591 and stringvalue = 'Support') phaseinfo
    where jiraissue.project = 10110
    and jiraissue.issuetype = 51
    and dbms_lob.substr(changeitem.newstring,15,1) in ('Blocked','Closed','Testing','Open')
    and phaseinfo.issue = jiraissue.id
    and changeitem.groupid = changegroup.id
    and changegroup.issueid = jiraissue.id
    order by jiraissue.id,change_dt
    Results:
    1     21191     QCS-91     Error running the Earliest-deadlines flight interface request/response message     2008-07-16 9:30:38 AM     Open     1
    2     21191     QCS-91     Error running the Earliest-deadlines flight interface request/response message     2008-07-16 11:37:02 AM     Testing     2
    3     21191     QCS-91     Error running the Earliest-deadlines flight interface request/response message     2010-06-08 9:14:52 AM     Closed     3
    4     21191     QCS-91     Error running the Earliest-deadlines flight interface request/response message     2010-09-02 11:29:37 AM     Open     4
    5     21191     QCS-91     Error running the Earliest-deadlines flight interface request/response message     2010-09-02 11:29:42 AM     Open     5
    6     21191     QCS-91     Error running the Earliest-deadlines flight interface request/response message     2010-09-02 11:29:50 AM     Testing     6
    7     21191     QCS-91     Error running the Earliest-deadlines flight interface request/response message     2010-09-02 11:29:53 AM     Closed     7
    8     23234     QCS-208     System Baseline - OK button does not show up in the Defer Faults page for the System Engineer role      2008-10-03 10:26:21 AM     Open     1
    9     23234     QCS-208     System Baseline - OK button does not show up in the Defer Faults page for the System Engineer role      2008-11-17 9:39:39 AM     Testing     2
    10     23234     QCS-208     System Baseline - OK button does not show up in the Defer Faults page for the System Engineer role      2011-02-02 6:18:02 AM     Closed     3
    11     23977     QCS-311     Tally Sheet - Reason Not Done fails to provide reason for unassigned tasks     2008-09-29 2:44:54 PM     Open     1
    12     23977     QCS-311     Tally Sheet - Reason Not Done fails to provide reason for unassigned tasks     2010-05-29 4:47:37 PM     Blocked     2
    13     23977     QCS-311     Tally Sheet - Reason Not Done fails to provide reason for unassigned tasks     2011-02-02 6:14:57 AM     Open     3
    14     23977     QCS-311     Tally Sheet - Reason Not Done fails to provide reason for unassigned tasks     2011-02-02 6:15:32 AM     Testing     4
    15     23977     QCS-311     Tally Sheet - Reason Not Done fails to provide reason for unassigned tasks     2011-02-02 6:15:47 AM     Closed     5

    Hi,
    Welcome to the forum!
    StblJmpr wrote:
    ... I am attempting to do some reporting from a JIRA database. What is a JIRA database?
    I am attaching code and a sample list of the results. If I am not quite clear, please ask for information and I will attempt to provide more. Whenever you have a question, please post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and the results you want from that data.
    Simplify the problem as much as possible. For example, if the part you don't know how to do only involves 2 tables, then jsut post a question involving those 2 tables. So you might just post this much data:
    CREATE TABLE     changegroup
    (      issueid          NUMBER
    ,      created          DATE
    ,      id          NUMBER
    INSERT INTO changegroup (issueid, created, id) VALUES (21191,  TO_DATE ('2008-07-16 09:30:38 AM', 'YYYY-MM-DD HH:MI:SS AM'),  10);
    INSERT INTO changegroup (issueid, created, id) VALUES (21191,  TO_DATE ('2008-07-16 11:37:02 AM', 'YYYY-MM-DD HH:MI:SS AM'),  20);
    INSERT INTO changegroup (issueid, created, id) VALUES (21191,  TO_DATE ('2010-06-08 09:14:52 AM', 'YYYY-MM-DD HH:MI:SS AM'),  90);
    INSERT INTO changegroup (issueid, created, id) VALUES (21191,  TO_DATE ('2010-09-02 11:29:37 AM', 'YYYY-MM-DD HH:MI:SS AM'),  10);
    INSERT INTO changegroup (issueid, created, id) VALUES (21191,  TO_DATE ('2010-09-02 11:29:42 AM', 'YYYY-MM-DD HH:MI:SS AM'),  10);
    INSERT INTO changegroup (issueid, created, id) VALUES (21191,  TO_DATE ('2010-09-02 11:29:50 AM', 'YYYY-MM-DD HH:MI:SS AM'),  20);
    INSERT INTO changegroup (issueid, created, id) VALUES (21191,  TO_DATE ('2010-09-02 11:29:53 AM', 'YYYY-MM-DD HH:MI:SS AM'),  90);
    INSERT INTO changegroup (issueid, created, id) VALUES (23234,  TO_DATE ('2008-10-03 10:26:21 AM', 'YYYY-MM-DD HH:MI:SS AM'),  10);
    INSERT INTO changegroup (issueid, created, id) VALUES (23234,  TO_DATE ('2008-11-17 09:39:39 AM', 'YYYY-MM-DD HH:MI:SS AM'),  20);
    INSERT INTO changegroup (issueid, created, id) VALUES (23234,  TO_DATE ('2011-02-02 06:18:02 AM', 'YYYY-MM-DD HH:MI:SS AM'),  90);
    INSERT INTO changegroup (issueid, created, id) VALUES (23977,  TO_DATE ('2008-09-29 02:44:54 PM', 'YYYY-MM-DD HH:MI:SS AM'),  10);
    INSERT INTO changegroup (issueid, created, id) VALUES (23977,  TO_DATE ('2010-05-29 04:47:37 PM', 'YYYY-MM-DD HH:MI:SS AM'),  30);
    INSERT INTO changegroup (issueid, created, id) VALUES (23977,  TO_DATE ('2011-02-02 06:14:57 AM', 'YYYY-MM-DD HH:MI:SS AM'),  10);
    INSERT INTO changegroup (issueid, created, id) VALUES (23977,  TO_DATE ('2011-02-02 06:15:32 AM', 'YYYY-MM-DD HH:MI:SS AM'),  20);
    INSERT INTO changegroup (issueid, created, id) VALUES (23977,  TO_DATE ('2011-02-02 06:15:47 AM', 'YYYY-MM-DD HH:MI:SS AM'),  90);
    CREATE TABLE     changeitem
    (      groupid          NUMBER
    ,      newstring     VARCHAR2 (10)
    INSERT INTO changeitem (groupid, newstring) VALUES (10, 'Open');
    INSERT INTO changeitem (groupid, newstring) VALUES (20, 'Testing');
    INSERT INTO changeitem (groupid, newstring) VALUES (30, 'Blocked');
    INSERT INTO changeitem (groupid, newstring) VALUES (90, 'Closed');Then post the results you want to get from that data, like this:
    ISSUEID HISTORY
      21191 Open (0) >> Testing (692) >> Closed
      23234 Open (45) >> Testing (807) >> Closed
      23977 Open (607) >> Blocked (249) >> Open (0) >> Testing (0) >> ClosedExplain how you get those results from that data. For example:
    "The output contains one row per issueid. The HISTORY coloumn shows the different states that the issue went through, in order by created, starting with the earliest one and continuing up until the first 'Closed' state, if there is one. Take the first row, issueid=21191, for example. It started as 'Open' on July 16, 2008, then, on the same day (that is, 0 days later) changed to 'Testing', and then, on June 8, 2010, (692 days later), it became 'Closed'. That same issue opened again later, on September 2, 2010, but I don't want to see any activity after the first 'Closed'."
    The database is 10.2.0.4That's very important. Always post your version, like you did.
    Here's one way to get those results from that data:
    WITH     got_order_row     AS
         SELECT     cg.issueid
         ,     LEAD (cg.created) OVER ( PARTITION BY  cg.issueid
                                          ORDER BY      cg.created
                  - cg.created            AS days_in_stage
         ,       ROW_NUMBER ()     OVER ( PARTITION BY  cg.issueid
                                          ORDER BY      cg.created
                               )    AS order_row
         ,     ci.newstring                     AS change_type
         FROM    changegroup     cg
         JOIN     changeitem     ci  ON   cg.id     = ci.groupid
         WHERE     ci.newstring     IN ( 'Blocked'
                           , 'Closed'
                           , 'Testing'
                           , 'Open'
    --     AND     ...          -- any other filtering goes here
    SELECT       issueid
    ,       SUBSTR ( SYS_CONNECT_BY_PATH ( change_type || CASE
                                                             WHEN  CONNECT_BY_ISLEAF = 0
                                           THEN  ' ('
                                              || ROUND (days_in_stage)
                                              || ')'
                                                         END
                                    , ' >> '
               , 5
               )     AS history
    FROM       got_order_row
    WHERE       CONNECT_BY_ISLEAF     = 1
    START WITH     order_row          = 1
    CONNECT BY     order_row          = PRIOR order_row + 1
         AND     issueid               = PRIOR issueid
         AND     PRIOR change_type     != 'Closed'
    ORDER BY  issueid
    ;Combining data from several rows into one big delimited VARCHAR2 column on one row is call String Aggregation .
    I hope this answers your question, but I guessed at so many things, I won't be surprised if it doesn't. If that's the case, point out where this is wrong, post what the results should be in those places, and explain how you get those results. Post new data, if necessary.

Maybe you are looking for

  • [JS][CS3] Change the content type of a text frame

    Hi, a bit basic maybe but I'm stuck on this from an hour... I need a textFrame to become a graphic object. The textFrame has no content. How can I change the contentType on that object? Thanks anticipately.

  • Unique or primary key on timestamp with timezone

    Hi, I have been experimenting with a date column in a primary key, or actually I tried using a timestamp with time zone in a primary key. While researching whether there was a way to avoid ORA-02329, I found the following: K15> create table dumdum  

  • Unable to kill work process and user sessions.

    Hi Gurus, Iam facing a different problem in my prd system.Dialog process of a particular user has been running continuosly for long time, when i killed it with cancel with core or with out core option in sm50 still it is starting automatically on dif

  • Enable the Requirements fields in Step property to recognise url links

    Hi, I think it'd be good if the Requirements property (in step properties) would be able to recognise url like http:// https:// svn:// notes:// etc. Then we could directly link the step to the requirement system which could save a lot of hassle with

  • How can i use GZip combined with NIO?

    Hi All, I have a nio client that connects a client (HTTP) and request something. I need my client to Accept-Encoding: gzip - but how will i be able to read the data into my ByteBuffer? I don't have a problem reading, cause it's bytes after all, but i