Hello Mithun, > Now to free space from LVM and have it usable for Windows you need to > have a logical volume freed from LVM. ----snip---- > Therefore to resize (shorten) a filesystem on LVM you need to do the > following > 1. Run pvdisplay on the partition or device you wish to remove and > confirm it is not being used (check for "Free PE"). If it has data in > it - you need to have spare space in other extents in the VolGroup and > then run pvmove. pvdisplay shows just 1 Free PE :( and there is no other spare VolGroup [EMAIL PROTECTED] simon]# pvdisplay --- Physical volume --- PV Name /dev/hda2 VG Name VolGroup00 PV Size 37.16 GB / not usable 0 Allocatable yes PE Size (KByte) 32768 Total PE 1189 Free PE 1 Allocated PE 1188 PV UUID HbV5hh-30mm-Gpdv-LTUC-gzQa-ldRk-t0RUHC
> 2. unmount the filesystem > 3. Resize the filesystem Is there a way where i can resize this VolGroup00 and then can resize /dev/hda2 ?? > 4. Run vgreduce to remove the volume from the volume group. there is only one Volume Group in the system "/dev/mapper/VolGroup00-LogVol00", the size of the same is 36Gb (the size of almost the whole hardisk). [EMAIL PROTECTED] simon]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol00 36G 18G 17G 53% / /dev/hda1 99M 56M 39M 60% /boot none 248M 0 248M 0% /dev/shm > 5. Mount the filesystem on the updated volume group. > thanx Simon. _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/