Partitioning from ASO to ASO
Hi ,
Basically we have a reporting cube (Assume like A) and other cube which holds GL data and adjustments (assume like cube B) both of these are ASO.
As a part of daily refresh of Cube A (reporting cube). The level zero data is exported and loaded back . And GL data is loaded from a file. Apart from this write back are exported from cube B and then loaded to cube A.generally we maintain three years of write backs in reporting cube.this write back export and import take place as a part of refresh.
So i created a transparent partition between both cubes source as B and target as A. Things are working fine but problem is like the account heirarchy n some other dimension structures are different in both the cubes so i collected all the members of dimensions and included in the mapping region of partition rather than using (@children,@descendants n all those) as heirarchy is not the same.
. And the problem here is , business keep adding members under the dimensions. And i cant manually make the changes to include those new members in partition area. Is there any way of dynamically adding newly added members in the partition area.
What is the problem if you mention @IDESC("Account") in Source and destination Mapping . That way everything is Dynamic . I have a dimension where members keep getting added , I use this simple technique which works well.
Similar Messages
-
Data transfer from planning to ASO.
Hi,
Like that:
Data load in Planning, and data retrieve in ASO. And we want a real time data transfer from Planning to ASO.
Transparent partition from BSO to ASO is a choice, but the performance is an issue.
If we user replicated partition, data cannot be transferred to ASO instantly, since there is a step to replicate data to ASO.
And for Map Reporting Application in Planning, we got the mapping issue, since there are some dimension members totally different between Planning and ASO.
So, can anyone help to show other ways to do that?
Thank you.iTunes does transfer files like pictures, music, video, and I believe under the apps section it should transfer specific app files too.
otherwise I don't know. I tried to get my ipad to link to my computer with bluetooth (it saiys it is linked now) but when I try to transfer a file or browse the device it won't work.... I dunno! -
MD randomly dropping partition from array
Hello, folks! I am having some trouble with MD randomly removing a partition from one of my RAID-1 arrays. So far this has happened three times over the past couple weeks, but it only happens on boot.
I have two 3TB WD SATA hard disks containing two RAID-1 volumes set up as follows:
/dev/sda1 FAT32 EFI System Partition (250MiB)
/dev/sdb1 Reserved Space (250MiB)
/dev/sda2 Disk 0 of /dev/md0 with v0.90 metadata (250MiB)
/dev/sdb2 Disk 1 of /dev/md0 with v0.90 metadata (250MiB)
/dev/sda3 swap partition 0 encrypted with dm-crypt mapped to /dev/mapper/swapA (8GiB)
/dev/sdb3 swap partition 1 encrypted with dm-crypt mapped to /dev/mapper/swapB (8GiB)
/dev/sda4 Disk 0 of /dev/md1 with v1.2 metadata (2750GiB)
/dev/sdb4 Disk 1 of /dev/md1 with v1.2 metadata (2750GiB)
/dev/md1 is encrypted with LUKS and mapped to /dev/mapper/root
/dev/mapper/root is the only volume in the LVM volume group rootvg
the volume group rootvg currently has three logical volumes
logical volume root is mapped to /dev/mapper/rootvg-root and is the file system root
logical volume home is mapped to /dev/mapper/rootvg-home and is mounted /home
logical volume var is mapped to /dev/mapper/rootvg-var and is mounted /var
I also wrote this initcpio hook (I call it 'secdec'), with a bit of help from the Arch Wiki, which decrypts /dev/mapper/root, optionally with a openssl encrypted key file on a USB memory stick:
run_hook ()
local keyCopyDec keyCopyEnc keyMountPoint maxTries retryDelay \
shutdownOnFail
# customizable ############################################################
keyCopyDec="/crypto_keyfile.bin" # temp storage for decrypted key data
keyCopyEnc="/crypto_keyfile.enc" # temp storage for encrypted key data
keyMountPoint="/ckey" # key storage device mount point
maxTries=3 # max number of decrypt attempts
retryDelay=2 # delay in seconds between retries
shutdownOnFail=0 # shut down computer if decrypt fails
#+0=yes, 1=no
# /customizable ###########################################################
local abortMsg passPromptKey passPromptVol passWrong secdecFormat \
shutdownMsg
local E_NOFILE
local KEY NOKEY SSLKEY
local CSQUIET OIFS
local cryptDev cryptName keyDev keyFile keyFs keyType pass passPrompt \
success tries
abortMsg="Aborting..."
passPromptKey="Key passphrase: "
passPromptVol="LUKS passphrase: "
passWrong="Invalid passphrase."
secdecFormat="secdec=cryptdev:dmname:keydev:keyfs:keyfile"
shutdownMsg="Shutting down computer. You may try again later."
E_NOFILE=66
KEY=1
NOKEY=0
SSLKEY=2
OIFS=$IFS
[ "$(echo "${quiet}" | awk '{print tolower($0)}')" == "y" ] && \
CSQUIET=">/dev/null 2>&1"
askForBooleanInput ()
# Ask the user for boolean input.
# $1: The question to pose.
# $2: A string containing single characters, separated by spaces, which are
#+keys pressed that would return boolean true (0).
# $3: A string containing single characters, separated by spaces, which are
#+keys pressed that would return a boolean false (1).
# Returns 0 if the user presses a key that generates a character found in
#+$2.
# Returns 1 if the user presses a key that generates a character found in
#+$3.
# Returns 2 if an incorrect number of parameters was provided.
local keyin
[ ${#} -ne 3 ] && return 2
echo -n "$1"
while true; do
read -sn1 keyin
case "$keyin" in
[$2]) echo "$keyin"; keyin=0; break;;
[$3]) echo "$keyin"; keyin=1; break;;
*) echo -n -e "\a";;
esac
done
return $keyin
askForPass ()
# Ask the user to enter a pass{word|phrase}.
# $1: The prompt to display.
# $2: The name of the variable to assign the input pass{word|phrase} to.
#+For example, to assign to $pass, $2 should be "pass".
# Returns 0 on success or 1 if there is a parameter error.
[ ${#} -ne 2 ] || [ -z "${1}" ] || [ -z "${2}" ] && return 1
read -rsp "$1" "$2"
echo
isSsl ()
# Examine a file for indications that it is SSL encrypted.
# $1: Path to the key file to examine.
# Returns 0 if the file appears to be SSL encrypted, 1 if the file does not
#+appear to be SSL encrypted and $E_NOFILE if $1 is not a regular file.
[ ! -f "${1}" ] && return $E_NOFILE
[ "$(dd if="${1}" bs=1 count=8 2>/dev/null | \
awk '{print tolower($0)}')" == "salted__" ]
getKey ()
# Attempt to find and copy a key from $keyDev to $keyCopyEnc.
# $1: Path to the device containing the key data.
# $2: Name of file system containing the key file.
# $3: Path to the key file, relative to $4.
# $4: Mount point of partition containing key file.
# $5: Path to temporary copy of key file.
# $6: Boolean value indicating whether to allow user the opportunity to
#+switch key devices before attempting to find a key. This is useful if
#+a key has already been tried and failed. The user could switch memory
#+devices before trying again. 0=true, 1=false; default is false.
# Returns one of $KEY, $NOKEY or $SSLKEY depending on what was found.
local result wait
if [ -z "${6}" ] || [ ${6} -eq 1 ]; then wait=1; else wait=0; fi
mkdir -p "$4" >/dev/null 2>&1
while true; do
if [ ${wait} -eq 0 ]; then
askForBooleanInput \
"(S)earch for key or (R)evert to LUKS passphrase? " "s S" "r R"
if [ ${?} -eq 0 ]; then result=$KEY; else result=$NOKEY; fi
wait=1
else
result=$KEY
fi
if [ ${result} -eq ${KEY} ]; then
if poll_device "${1}" ${rootdelay}; then
mount -r -t "$2" "$1" "$4" >/dev/null 2>&1
dd if="$4/$3" of="$5" >/dev/null 2>&1
umount "$4" >/dev/null 2>&1
if [ -f "${5}" ]; then
isSsl "${5}" && result=$SSLKEY
else
err "Key $3 not found."
unset result
wait=0
fi
else
err "Key device $1 not found."
unset result
wait=0
fi
fi
[ -n "${result}" ] && break
done
return $result
# If the secdec kernel parameter was not specified, inform the user, but
#+allow init to continue in case another hook will work.
if [ -z "${secdec}" ]; then
echo "Missing parameter: $secdecFormat"
return 0
fi
# Make sure required kernel modules are available.
if ! /sbin/modprobe -a -q dm-crypt >/dev/null 2>&1 || \
[ ! -e "/sys/class/misc/device-mapper" ]; then
err "Required kernel modules not available."
err "$abortMsg"
exit 1
fi
if [ ! -e "/dev/mapper/control" ]; then
mkdir -p "/dev/mapper" >/dev/null 2>&1
mknod "/dev/mapper/control" c \
$(cat /sys/class/misc/device-mapper/dev | sed 's|:| |') >/dev/null 2>&1
fi
# Parse the secdec kernel parameter, check it's format, make sure $cryptDev
#+is available, and that it contains a LUKS volume.
IFS=:
read cryptDev cryptName keyDev keyFs keyFile <<EOF
$secdec
EOF
IFS=$OIFS
if [ $(echo "${secdec}" | awk -F: '{print NF}') -ne 5 ] || \
[ -z "${cryptDev}" ] || [ -z "${cryptName}" ]; then
err "Verify parameter format: $secdecFormat"
err "$abortMsg"
exit 1
fi
if ! poll_device "${cryptDev}" ${rootdelay}; then
err "Device $cryptDev not available."
err "$abortMsg"
exit 1
fi
# Inform the user that $cryptDev doesn't contain a LUKS volume, but allow
#+init to continue, in case another hook can handle this.
if ! /sbin/cryptsetup isLuks "${cryptDev}" >/dev/null 2>&1; then
echo "Device $cryptDev does not contain a LUKS volume."
return 0
fi
# Attempt to open the LUKS volume.
tries=0
unset keyType
while true; do
success=1
# Attempt to copy a decryption key.
if [ -z ${keyType} ]; then
getKey "$keyDev" "$keyFs" "$keyFile" "$keyMountPoint" \
"$keyCopyEnc" 1
keyType=$?
elif [ ${keyType} -eq ${KEY} ]; then
getKey "$keyDev" "$keyFs" "$keyFile" "$keyMountPoint" \
"$keyCopyEnc" 0
keyType=$?
elif [ ${keyType} -eq ${SSLKEY} ]; then
if askForBooleanInput "(U)se a different key or (T)ry again? " \
"u U" "t T"; then
getKey "$keyDev" "$keyFs" "$keyFile" "$keyMountPoint" \
"$keyCopyEnc" 0
keyType=$?
fi
fi
# Open the LUKS volume.
if [ ${keyType} -eq ${NOKEY} ]; then
askForPass "$passPromptVol" "pass"
/sbin/cryptsetup luksOpen "$cryptDev" "$cryptName" "$CSQUIET" <<EOF
$pass
EOF
success=$?
[ ${success} -ne 0 ] && err "$passWrong"
else
if [ ${keyType} -eq ${SSLKEY} ]; then
askForPass "$passPromptKey" "pass"
/sbin/openssl aes256 -pass pass:"$pass" -d -in "$keyCopyEnc" \
-out "$keyCopyDec" >/dev/null 2>&1
if [ ${?} -ne 0 ]; then
rm -f "$keyCopyDec" >/dev/null 2>&1
err "$passWrong"
fi
else
mv "$keyCopyEnc" "$keyCopyDec" >/dev/null 2>&1
fi
if [ -f "${keyCopyDec}" ]; then
/sbin/cryptsetup --key-file "$keyCopyDec" \
luksOpen "$cryptDev" "$cryptName" "$CSQUIET"
success=$?
fi
fi
[ ${success} -ne 0 ] && err "Failed to open LUKS volume."
tries=$(( $tries + 1 ))
[ ${tries} -ge ${maxTries} ] || [ ${success} -eq 0 ] && break
sleep "$retryDelay"
done
if [ ${success} -eq 0 ]; then
if [ ! -e "/dev/mapper/${cryptName}" ]; then
err "LUKS volume was opened, but failed to map to $cryptName."
err "$abortMsg"
exit 1
fi
echo "LUKS volume opened."
else
if [ ${shutdownOnFail} -eq 0 ]; then
echo "shutdownMsg"
poweroff -f
fi
exit 1
fi
The failing array is /dev/md1 and mdadm is reporting the following:
mdadm --detail /dev/md1
/dev/md1:
Version : 1.2
Creation Time : Wed May 30 18:50:05 2012
Raid Level : raid1
Array Size : 2921467179 (2786.13 GiB 2991.58 GB)
Used Dev Size : 2921467179 (2786.13 GiB 2991.58 GB)
Raid Devices : 2
Total Devices : 1
Persistence : Superblock is persistent
Update Time : Wed Sep 12 03:34:52 2012
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 0
Spare Devices : 0
Name : archiso:1
UUID : 8ad37e84:f7261906:da3d317e:24080362
Events : 44661
Number Major Minor RaidDevice State
0 8 4 0 active sync /dev/sda4
1 0 0 1 removed
mdadm --examine /dev/sda4
/dev/sda4:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 8ad37e84:f7261906:da3d317e:24080362
Name : archiso:1
Creation Time : Wed May 30 18:50:05 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 5842934631 (2786.13 GiB 2991.58 GB)
Array Size : 2921467179 (2786.13 GiB 2991.58 GB)
Used Dev Size : 5842934358 (2786.13 GiB 2991.58 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : abba1dc3:3fadf7a7:be452bb5:b8bbe97b
Update Time : Wed Sep 12 03:37:48 2012
Checksum : aad3e44b - correct
Events : 44729
Device Role : Active device 0
Array State : A. ('A' == active, '.' == missing)
mdadm --examine /dev/sdb4/dev/sdb4:
Magic : a92b4efc
Version : 1.2
Feature Map : 0x0
Array UUID : 8ad37e84:f7261906:da3d317e:24080362
Name : archiso:1
Creation Time : Wed May 30 18:50:05 2012
Raid Level : raid1
Raid Devices : 2
Avail Dev Size : 5842934631 (2786.13 GiB 2991.58 GB)
Array Size : 2921467179 (2786.13 GiB 2991.58 GB)
Used Dev Size : 5842934358 (2786.13 GiB 2991.58 GB)
Data Offset : 2048 sectors
Super Offset : 8 sectors
State : clean
Device UUID : 09a09f49:b329feaa:3341111b:47b484fe
Update Time : Wed Sep 12 01:50:34 2012
Checksum : 1cdc19c0 - correct
Events : 42869
Device Role : Active device 1
Array State : AA ('A' == active, '.' == missing)
cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda2[0] sdb2[1]
204736 blocks [2/2] [UU]
md1 : active raid1 sda4[0]
2921467179 blocks super 1.2 [2/1] [U_]
unused devices: <none>
This is md log info of the first reboot after my first recovery:
Sep 9 20:18:03 localhost kernel: [ 1.784225] md: raid1 personality registered for level 1
Sep 9 20:18:03 localhost kernel: [ 2.552971] md: md1 stopped.
Sep 9 20:18:03 localhost kernel: [ 2.553418] md: bind<sdb4>
Sep 9 20:18:03 localhost kernel: [ 2.553574] md: bind<sda4>
Sep 9 20:18:03 localhost kernel: [ 2.554080] md/raid1:md1: active with 2 out of 2 mirrors
Sep 9 20:18:03 localhost kernel: [ 2.554093] md1: detected capacity change from 0 to 2991582391296
Sep 9 20:18:03 localhost kernel: [ 2.566266] md1: unknown partition table
Sep 9 20:18:03 localhost kernel: [ 2.617922] md: md0 stopped.
Sep 9 20:18:03 localhost kernel: [ 2.618382] md: bind<sdb2>
Sep 9 20:18:03 localhost kernel: [ 2.618525] md: bind<sda2>
Sep 9 20:18:03 localhost kernel: [ 2.619175] md/raid1:md0: active with 2 out of 2 mirrors
Sep 9 20:18:03 localhost kernel: [ 2.619203] md0: detected capacity change from 0 to 209649664
Sep 9 20:18:03 localhost kernel: [ 10.933334] md0: unknown partition table
And this is the next time I rebooted:
Sep 10 19:59:07 localhost kernel: [ 1.780481] md: raid1 personality registered for level 1
Sep 10 19:59:07 localhost kernel: [ 2.806037] md: md1 stopped.
Sep 10 19:59:07 localhost kernel: [ 2.806345] md: bind<sda4>
Sep 10 19:59:07 localhost kernel: [ 2.806888] md/raid1:md1: active with 1 out of 2 mirrors
Sep 10 19:59:07 localhost kernel: [ 2.806898] md1: detected capacity change from 0 to 2991582391296
Sep 10 19:59:07 localhost kernel: [ 2.820308] md1: unknown partition table
Sep 10 19:59:07 localhost kernel: [ 2.956599] md: md0 stopped.
Sep 10 19:59:07 localhost kernel: [ 2.957149] md: bind<sdb2>
Sep 10 19:59:07 localhost kernel: [ 2.957269] md: bind<sda2>
Sep 10 19:59:07 localhost kernel: [ 2.958086] md/raid1:md0: active with 2 out of 2 mirrors
Sep 10 19:59:07 localhost kernel: [ 2.958100] md0: detected capacity change from 0 to 209649664
Sep 10 19:59:07 localhost kernel: [ 11.742281] md0: unknown partition table
In between these two boots there are no reports of md failures. For some reason, its just dropping the second partition.
I just did a restoration earlier today and on the very next boot, md refuses to use /dev/sdb4. Once I booted, I checked update times (not the ones listed) and /dev/sda4 and /dev/sdb4 were about 4 minutes apart. Since it takes only about a minute for Arch to reboot, including me typing my openssl key password, Arch was running for about 3 minutes without updating. I'm assuming this is of some significance since /dev/md0 reports perfect synchronization.
All of this has been working very well for me for about 6 months now. Both hard drives, which I bought at the same time, are about 9 months old. I checked both drives using smartctl, and both report SMART enabled and passed. SMART attribute data doesn't make a lot of sense to me and I haven't looked up the format, but the reallocation event value is the same as the day I bought the drives, so I'm kind of assuming things are ok there, or at least bad sectors aren't being created.
I hope I've provided all required details here. Any help would be appreciated.
Last edited by cng1024 (2012-09-13 00:02:43)It would seem that nobody has any ideas about why this may be happening. I've done a complete diagnostic of both hard disks and both passed. I then downloaded the latest iso, formatted and reinstalled, but that failed after one reboot.
I have a theory as to why it may be happening, but I haven't tested it yet. Perhaps someone can tell me if I may be on the right track here. I got to wondering what happens during shutdown. The root fs remounts ro during shutdown, but it does remain mounted which means everything under that, my logical volumes, LUKS and RAID are all still open when the system halts. I saved my original configs before I reformatted and it turns out I forgot to add the shutdown hook to the initcpio image which means my RAID wasn't being stopped before halt.
I'm going to try a few experiments to see if adding the shutdown hook makes a difference. Hopefully I'm right, and I'll update either way, but I'd still appreciate it if someone with a bit more experience could weigh in on this. -
How to format one partition from existing filesysem
Hi All,
I want to install ASM on my RHEL machine. There is one disk which has been partitioned into regular filesystem as follows:
[root@*** /]# fdisk -l
Disk /dev/hda: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 25 200781 83 Linux
/dev/hda2 26 57392 460800427+ 83 Linux
/dev/hda3 57393 61471 32764567+ 82 Linux swap / Solaris
/dev/hda4 61472 78325 135379755 5 Extended
/dev/hda5 61472 78325 135379723+ 83 Linux
My question is, how can I format and merge a couple of partitions from these to create a volume for ASM? Is it even possible?
Regards,
VinodSenthilKumar - Oracle wrote:
It can be done as below:
#fdisk /dev/hda
p
--To print partitions
d
--To delete partition, chose 2[This will erase the contents in it]
n
--Create new partition
choose p to create primary partition
now /dev/hda1 can be used as ASM disk.
#chown oracle:oinstall /dev/hda1
login to ASM and update the asm_diskstring to include this disk and run "select* from v$asm_disk" we can see this new disk as CANDIDATE Or Provisioned
Thanks,
Senthil
Dangerous - the default partition type of a newly created partition is ext3. Which means the kernel will view that partition as a regular file system - and will attempt to mount and use it. A sysadmin will not know, looking at the type of partition, that it is not an ext file system, but in fact a raw device.
One needs to avoid this confusion - as it easily can trash your entire database's storage (diskgroup). With the only option being to restore backups that likely is out of date, or non-existent. (given the lackadaisical attitude to use a file system partition as a raw device, it is a reasonable assumption that backups are in a similar sorry state)
PS. and the question was how to use /dev/hda2 - you described removing that partition and then using /dev/hda1 (which will likely trash the root file system). -
Can't see Windows 7 Boot Camp partition from Mac
I've had a Win7 boot partition on my 2011 MBP for a while and it boots just fine. I have a Mac boot partition, a Mac data partition, and a NTFS Win 7 partition. But the Boot Camp partition is greyed out and invisible when booted in to the Mac.
When in Windows, I can see and use the Mac partition from Win7 with MacDrive. The problem is that I cannot see the Windows partition from the Mac. I have Paragon NTFS for Mac installed as well as MacFuse. I tried to see the partition with CampTune and got this error:
I also tried going to the BootCamp Assistant and saw this:
Yet when booted in Windows, I see the Mac partition just fine.
Here is the disk info from terminal:
Uptime: 11:57 up 3 days, 12:28, 2 users, load averages: 0.56 0.56 0.64
~ > sudo gpt -r -vv show disk0
Password:
gpt show: disk0: mediasize=750156374016; sectorsize=512; blocks=1465149168
gpt show: disk0: Suspicious MBR at sector 0
gpt show: disk0: Pri GPT at sector 1
gpt show: disk0: Sec GPT at sector 1465149167
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 469926800 2 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
470336440 262144
470598584 699733064 3 GPT part - 48465300-0000-11AA-AA11-00306543ECAC
1170331648 262144
1170593792 294553600 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1465147392 1743
1465149135 32 Sec GPT table
1465149167 1 Sec GPT header
~ > sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 91201/255/63 [1465149168 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
2: AF 1023 254 63 - 1023 254 63 [ 409640 - 469926800] HFS+
3: AF 1023 254 63 - 1023 254 63 [ 470598584 - 699733064] HFS+
*4: 07 1023 254 63 - 1023 254 63 [1170593792 - 294553600] HPFS/QNX/AUX
~ >
Does anyone know if I can repair this without having to re-format? I have a 13" White MacBook as well and this setup works just fine. I did it such a long time ago that I forgot how I did the first one.
There is another thread on here that similar but not quite like my problem because I ca actually boo into Windows.
If anyone can help it would certainly be appreciated!
Thanks,
Randygo to --------http://www.cnet.com/news/boot-camp-partitions-not-working-after-installing-os-x- lion/#postComments
just disable your ntfs software --- no need to uninstall -
Cannot access Mac OS Partition from windows 8 running in boot camp
So I installed Windows 8.1 Pro through Boot Camp but I can't access the Mac OS partition from windows even though boot camp partition shows up while I'm on Mac OS. I have installed all the drivers from apple but still it didn't work. Then I downloaded Paragon HFS+ which was free for windows 8 and 8.1 thinking that this would solve my problem. The instructions told me to change the drive letter for mac partition from disk management by right clicking the drive pressing "change drive letter and path" button. But the "change drive letter and path" key in grey color and I can't press it. Can somebody please help?
Here you go
1) diskutil list
/dev/disk0
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *750.2 GB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_CoreStorage 650.3 GB disk0s2
3: Apple_Boot Recovery HD 650.0 MB disk0s3
4: Microsoft Basic Data BOOTCAMP 99.0 GB disk0s4
/dev/disk1
#: TYPE NAME SIZE IDENTIFIER
0: Apple_HFS Macintosh HD *645.8 GB disk1
Logical Volume on disk0s2
AFC82671-CBAA-4338-BAEC-7D272EC755B1
Unencrypted
2. sudo fdisk /dev/<BootCampDisk> (from 1 of the form disk0)
i typed this: sudo fdisk /dev/disk0
Disk: /dev/disk0 geometry: 91201/255/63 [1465149168 sectors]
Signature: 0xAA55
Starting Ending
#: id cyl hd sec - cyl hd sec [ start - size]
1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
2: AC 1023 254 63 - 1023 254 63 [ 409640 - 1270110576] <Unknown ID>
3: AB 1023 254 63 - 1023 254 63 [1270520216 - 1269536] Darwin Boot
*4: 07 1023 254 63 - 1023 254 63 [1271791616 - 193355776] HPFS/QNX/AUX
sudo fdisk /dev/disk1
/dev/disk1: Resource busy
3. sudo gpt -vv -r show /dev/<BootCampDisk> (from 1 of the form disk0)
sudo gpt -vv -r show /dev/disk0
gpt show: /dev/disk0: mediasize=750156374016; sectorsize=512; blocks=1465149168
gpt show: /dev/disk0: Suspicious MBR at sector 0
gpt show: /dev/disk0: Pri GPT at sector 1
gpt show: /dev/disk0: Sec GPT at sector 1465149167
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 1270110576 2 GPT part - 53746F72-6167-11AA-AA11-00306543ECAC
1270520216 1269536 3 GPT part - 426F6F74-0000-11AA-AA11-00306543ECAC
1271789752 1864
1271791616 193355776 4 GPT part - EBD0A0A2-B9E5-4433-87C0-68B6B72699C7
1465147392 1743
1465149135 32 Sec GPT table
1465149167 1 Sec GPT header
I didn't quite understand the 4th step. Sorry -
Is it possible to resize a mac partition from windows?
Here's what's going on. I originally wanted to use Disk Utility to do this, which is clearly the easy way to do things, but my computer is so slow that Disk Utility immediately becomes unresponsive upon wanting to resize -any- partition. The windows side works fine though, it isn't slow as crap. Is there a way to resize the mac partition from windows (HFS+)? Any possible way? Even crazy ones? I'm open to suggestions.
Oh yeah, and in case you want to know...my Mac Mini just randomly started getting really, really slow, so slow in fact, that now my old iMac from 1999 is faster (it doesn't even have ANY RAM!). I tried resetting the PRAM/NVRAM, multiple times, booting into safe mode takes forever, but I left it for awhile and it finished. Almost worked, the finder showed up quicker than usual, but then it reverted back to it's slow self again once I opened Disk Utility. I tried booting into single user mode and typing /sbin/fsck -fy, and it's so slow, that it couldn't even do that! It got stuck at checking libraries or something, for hours, and i could type things in still, but it wouldn't recognize any commands (ie fsk - fy). I also cannot replace the RAM because it is an older mac mini and those things are hard as f*** to repair, trust me, i've tried. The weirdest part of all of this has to be that this is the computer that we DON'T download many apps onto, so it most likely isn't bloatware, adware, a virus or something else. We download most stuff to our MacBook, and go to the sketchy websites on it as well (it really should be the other way around, the mac mini would be around 3x less expensive to replace, it's just that it's the family computer). And that's always slow, but this surpassed it (btw, the laptop is a year or so older). I do not have the installation disk.
Can someone help? Mainly about the first thing...please. The second thing is hopeless, I will need to get a new computer pretty soon, and these macs don't last as long as they used to I guess, we'd most likely get a quality Windows PC to replace it, this has been a disappointment. I'm just trying to get a little more life out of it with Linux, maybe a year or two. That's what i've done with my old iMac. Runs GREAT. Especially for a 13 year old computer. The thing is, my folks don't want me to completely eliminate the mac partition even though it's virtually unusuable.I'm not really understanding what the end goal was. But in case anyone else comes across the thread, neither the built-in Windows volume resizing utility nor any 3rd party Windows resizing utility should be used to resize either the Windows partition or the Mac OS partition. Invariably they all manipulate the NTFS volume in such a way that the secondary GPT is corrupt, the primary GPT is rendered invalid, and only correctly alter the MBR. It's a recipe for data loss.
Conversely, while Disk Utility can resize a Mac OS volume, it cannot resize an NTFS volume. With Lion and Mountain Lion, upon using Boot Camp Assistant there are already four partitions: EFI System, Mac OS, Recovery HD, and Windows. There is no more room for a fifth partition in the MBR partition scheme, and if you try to add one, Disk Utility will apparently let you and render Windows unbootable (because Disk Utility adds the fifth partition to the GPT, but can't add it to the MBR, and instead removes the hybrid MBR needed for Windows support and replaces it with a PMBR.)
So in effect this is not to be done except with 3rd party utilities. -
Unable to create partition from free space on hard drive
I have a segment of free space on my Macbook Air's hard drive. It was formerly a Bootcamp partition.
When I try to create a new partition from this free space in Disk Utility, it prompts me to start creating the partition, but nothing happens after that. I can leave the machine alone for hours, and nothing has occurred. Disk Utility thinks it's working though, since it prompts me to cancel the process when exiting the app.
Any thoughts on how to fix this? Thanks!Freeing Up Space on The Hard Drive
1. See Lion/Mountain Lion/Mavericks' Storage Display.
2. You can remove data from your Home folder except for the /Home/Library/ folder.
3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
4. Also see Freeing space on your Mac OS X startup disk.
5. See Where did my Disk Space go?.
6. See The Storage Display.
You must Empty the Trash in order to recover the space they occupied on the hard drive.
You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located. -
Does sql server could export a partition from a partition table ?
Dear :
Does sql server could export a partition from a partition table ?
For example, I need to export all old partition,which is '2013' and drop them. It is easy in oracle. but how to do with sql
server 2012 ?where do you want it to be exported to? Another server instance? if yes you can do piecemeal restore if partition is in a separate filegroup and you're on full recovery model
http://msdn.microsoft.com/en-IN/library/ms177425.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to prevent partition from formating
Recently I have a crash with my laptop and was able to recover to factory setting by pressing the 0 and power button together. Unfortunately my D drive partition was gone. I created the D drive partition from using the shrink volume from my C drive. Its there a way, if I ever have to do recovery and want the D drive untouched?
What model notebook do you have?
- Peter -
How to exclude a partition from schema mode export?
I am using Oracle 10g Data Pump Export utility expdp. What I am trying to do is to export a single schema, except for a certain partition P in table T.
I have tried:
expdp user/pass@db dumpfile=... logfile=... exclude=table:" = 'T:P' "
(please ignore the OS specific text escaping issue)
It doesn't work. The whole table T gets exported.
Is there a way to exclude partitions from schema mode export?
If not, is there a way I can achieve the same with DBMS_DATAPUMP API?
Edited by: 950367 on 2-Aug-2012 10:42 AMTry “QUERY” Data Pump Export parameter. Unless your partition is a hash partition, you should be able to constrict a where clause that gets you all records in the table, except the records for the partition you want to exclude.
For instance if you want to exclude a range partition (between 100 and 200) on the col1 column you should put something like this:
QUERY= USR.TAB:”WHERE COL1 < 100 OR COL1 > 200”This approach would export the partition definition though.
Iordan Iotzov
http://iiotzov.wordpress.com/
Edited by: Iordan Iotzov on Aug 2, 2012 10:55 AM -
HT5628 How do I read OSX partition from Windows?
I am thinking of installing Windows 8 on my Macbook Pro using Boot Camp to create a dual boot system.
If I do this, how can I access my current Mac OSX partition from within Windows? Does boot camp mount the Mac OSX partition automatically?
If not, how can I share data between my Windows partition and Mac OSX partition?
(Apologies if this is an elementary question, but I couldn't see an obvious answer anywhere.)
Thanks.If I do this, how can I access my current Mac OSX partition from within Windows? Does boot camp mount the Mac OSX partition automatically?
You can't access the Mac because it isn't running when you dual boot. You can purchase third-party software such as MediaFour's DriveOne to access the OS X partition. From OS X you will need a utility such as NTFS for Mac 10.0.2 or Tuxera NTFS 2012.3.6 to write to the Windows partition. -
Remove the Recovery Partition from an HP Stream 14-z010nr Laptop
I used the Recovery utility to create a recovery thumb drive. I would like to remove the 7GB recovery partition from the 32 GB SSD on my machine.
How do I do so?
This question was solved.
View Solution.A number of laptops and tablets from different manufacturers have the same problem.
The usual reply is:
Use an SD/microSD for the extra storage.
The slightly better reply is:
Install programs directly to the SD card by creating a folder on it called "Program Files" then just change the drive letter when installing.
But some software will not allow you to install to removeable media
The best reply is:
1) Create a new folder on C: called "MicroSD" or similar (your choice)
2) Right-Click on "My Computer/This PC" icon and select Manage
3) Select Disk Management
4) Right-Click on your SD card (usually D and select Chang Drive Letter..
5) Click the Add... button
6) Choose "Mount in the following empty NTFS folder" and browse for your new folder
7) Click OK
8) Return to C: in Windows Explorer and find your new folder, which will now appear as a shortcut
9) Right-Click and select properties
10) de-select "Read only" and click OK
11) Double-click the shortcut and create a new folder "Program Files". If you are on 64 bit windows create another called ("Program Files (x86)"
12) You should now be able to see the "Program Files" folder if you open the D drive with Windows Explorer. This proves it works!
You can now install all and any software on your newly created folder, including all 10GB of Visual Studio 2013! -
Methods for backing up/cloning Bootcamp partition from inside OSX
The key here is from inside OS X, not from inside Windows (XP).
The only reason in the world I have to run Windows is because a Mac version of my accounting system doesn't exist. Well, there is also the fact that some companies still develop portions of their partner websites around IE instead of around open standards cough*CISCO*cough.
Anyway, I have a bootcamp partition and the data on it is very important (accounting system!). I run it once, maybe twice a month and it's already slow enough as Kaspersky AV runs on every bootup so I don't want to add anything to the Windows bootup. I'm looking for a method of backing up (incremental capable) or cloning (incremental capable) my Bootcamp partition from inside OS X in conjunction with the other backups I do - well, now I use Time Machine so "the other backups I do" is moot, until I backup my Time Machine partition too (been bitten by the "backups not being there when you need them for some really random, unexpected reason" bug too before).
It seems that most of the cloning tools I've tried can't clone or even backup FAT partitions. Anyone have any ideas, suggestions or previous experiences they wouldn't mind sharing?
Thanks in advance.Hmm, functional but not exactly what I'm looking for. Thanks for the info though -
- Is there a tool around that can do incremental backups instead of full backups every time it's run? WinClone 1.6b doesn't seem to be able to do incremental backups.
- Is there a tool around that fits the above requirement, but can be scheduled (or even automator'd)? Automation is a good thing The more maintenance tasks we (users) have to do manually, the more there is to forget to do. -
Can i "copy" a 200 GB boot camp partition from Mac Pro to MBP?
i spent a lot of time working with virtual machines and i have decided i simply have to increase the size of my mac pro HD and put a boot camp partition in it.
can i COPY a 200 GB windows 7 boot camp partition from my 1 TB Mac Pro drive to a 200 GB partition on my MBP that will have a 500 GB drive?
this would let me focus on doing a full install and full setup on the Mac Pro and just copy this over to the MBP (when i get the new drive) saving me a ton o time.
TIA
Also, is this something for WinClone?hi kappy. THANK YOU.
is it possible that you or anyone has actually done this machine to machine and partition to partition?
i want to avoid a situation where i try to do this only to find it works better or is much simplyer to the the fresh install on the MacBook Pro just fresh.
- jon -
Satellite 2450: How to reinstall WXP on existing partition from recovery disc?
Hello:
This question has been asked before, but the answer is as follows:
On this forum you can use Advanced search option to find some solutions if someone wrote about it before.
Anyway check this please
http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=2513&tstart=125
I checked this and it gives an answer how to create a partition but not how to reinstall xp in the c drive from the recovery disk.
There is the choice to go to expert, but once there I have no idea what to do. Lots of potential settings, but nothing to say how to reinstall xp without wiping out all the other drives.
Thanks for any helpHello tw
Like I said in my explanation If you want to install OS on a partition please use Expert mode. In this case the software can be installed onto an existing partition. You can also make one by yourself.
If you want to install the OS on existing partition make it on this way:
1) put Recovery CD or DVD in DVD drive
2) pres power button and after that press and hold down C button
3) after short time there is an menu and choose Expert mode pressing number 2
4) Approve OK pressing ENTER button
5) Choose LOCAL > PARTITION > FROM IMAGE
6) Look in: must be selected to CD-ROM drive and In the middle window choose GHO file and press ENTER
7) The information about drive will be shown > press ENTER again
8) The local destination drive will be shown > press ENTER again
9) The next window show both partition if you have two of them. On this place you must chose the destination partition (the first one is under Part 1)
10) The OS will be installed on marked partition (you can change it using UP and DOWN buttons)
11) If the partition is selected press ENTER button
12) The small Information window appear with follow content: Proceed with partition load? Destination partition will be permanently overwritten.
13) Confirm with OK
I hope that your installation will be successful.
If you have more questions please write again and I hope that we will find an solution.
Good luck!
Maybe you are looking for
-
Why is it taking so long to download a new app once I renew my subscription?
I renewed my subscription yesterday and told me it would take 15 minutes to get my app back up. Its been a day and it still says 15 minutes
-
I have a question about my htc droid dna
so i have had it for about a month and love it. but i am very confused on the preferred network setting.. I have no clue what it should be set on should it be on the global setting or should it be lte/cdma or gsm/umts . i have no clue what any of tha
-
Error deploying my first .war file to Tomcat
My Tomcat version is Apache Tomcat/6.0.18 Using Mojarra: mojarra-2.0.0-PR2 SEVERE: Unable to instantiate ExpressionFactory 'com.sun.el.ExpressionFactoryImpl' Apr 2, 2009 4:35:33 PM org.apache.catalina.core.StandardContext start SEVERE: Error listener
-
IPhoto not enough..recommend home publishing
I recently switched from a pc to a mac. I am totally happy but I miss the photo editing software and homepublishing software of Picture it! and Microsoft works. I liked to make calendars, cards, collages, etc with my photos and/or clip art. Is Adobe
-
please forgive my computer illiteracy.. I'm trying to set up home networking to include my laptop, husband's i-pad and our mobile phones if possible. I need my internet options info (isp#, etc) and can't locate them