Some time ago I've partitioned my disk using this scheme: shrinked OS X partition, created NTFS data partition for Windows, then installed Windows on Bootcamp partition.
Recently I installed Parallels Desktop ("run Windows from the Boot Camp partition" mode) which, expectedly, ruined my data NTFS partition: Windows doesn't see it any more, there's just no disk shown under Windows; partition shows as "Unallocated" in Computer Management > Disk Management.
Now I want to split the data partition space between my Bootcamp disk and OS X partition , so I have only one partition for Bootcamp and another for OS X.
How can I resize bootcamp partition and OS X partitions without ruining either of them? After resizing, I would also like to upgrade my OS X from 10.8.5 to latest Mavericks, which sounded impossible with two-Windows-partitions setup.