PDA

View Full Version : Help removing free space to create Raw free space



nightmare55
10th February 2007, 04:03 PM
Hi,

I am using Fedora core 6.

I have dual booted this system and have WindowsXP on my 80GB IDE drive and i got FC6 on my 320GB Sata, now i have shrinked and resized my Logvol etc to 30GB, but the physical volume is still holding on to my 260GB (Unused Free Space), now i need to remove that so that it is raw space, because when i go into Partition Magic, it still see the Sata Drive as taking up all 320GB and does not see any free space.

I want to use the 260GB for Windows XP

Can anyone help me please

Thankyou



root@pegasus ~]# fdisk -l

Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 3334 26780323+ 7 HPFS/NTFS
/dev/hda2 3335 9964 53255475 f W95 Ext'd (LBA)
/dev/hda5 3335 9964 53255443+ 7 HPFS/NTFS

Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 38913 312464250 8e Linux LVM

Jman
11th February 2007, 04:03 AM
You would need to resize the physical volume too. Not sure if that can be done non descructively, back up your data.

nightmare55
11th February 2007, 03:03 PM
yes i know i do, but how

Jman
14th February 2007, 07:03 AM
Use pvresize.