Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] Reducing/Resizing LVM where "/" filesystem is included in the LVM
@ 2005-01-23 21:55 fromkth+lvm
  2005-01-24  0:26 ` Robin Green
  0 siblings, 1 reply; 7+ messages in thread
From: fromkth+lvm @ 2005-01-23 21:55 UTC (permalink / raw)
  To: linux-lvm

Hi,

I am a newbie to linux and I have XP and FC3 on my 30GB HD.
I have searched through internet to find out how to reduce logical
Volume based on LVM2, but as my situation is quite different hence could
not find out any solution.
I have total 3 Primary partions and one extended partitions.
first 3 primary paritions are NTFS(XP),FAT32(data) and NTFS(data)
respectively.
Extended partition contains two partitions, linux boot and linux LVM.
Linux LVM contains one Group Volume which contains two Logical Volumes.
One Logical Volume has / root file System
and other Logical Volume has SWAP space.


Here is the ouput of fdisk -l and contents of /etc/fstab

fdisk -l
=======================================================================
Disk /dev/hda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1         637     5116671    7  HPFS/NTFS
/dev/hda2             638        1274     5116702+   c  W95 FAT32 (LBA)
/dev/hda3            1275        2546    10217340    7  HPFS/NTFS
/dev/hda4            2547        3648     8851815    f  W95 Ext'd (LBA)
/dev/hda5            2547        2559      104391   83  Linux
/dev/hda6            2560        3648     8747361   8e  Linux LVM
=======================================================================


cat /etc/fstab
==========================================================================
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 /                       ext3    defaults       
1 1
LABEL=/boot             /boot                   ext3    defaults       
1 2
none                    /dev/pts                devpts  gid=5,mode=620 
0 0
none                    /dev/shm                tmpfs   defaults       
0 0
none                    /proc                   proc    defaults       
0 0
none                    /sys                    sysfs   defaults       
0 0
/dev/VolGroup00/LogVol01 swap                    swap    defaults       
0 0
/dev/hdb                /media/cdrom            auto   
pamconsole,fscontext=system_u:object_r:removable_t,ro,exec,noauto,managed
0 0
/dev/fd0                /media/floppy           auto   
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0
0
/dev/hda1   /mnt/win_ntfs_c     ntfs    ro,defaults,umask=0222 0 0
/dev/hda2   /mnt/win_fat32_d     auto    ro,defaults,umask=0222 0 0
/dev/hda3   /mnt/win_ntfs_e     ntfs    ro,defaults,umask=0222 0 0
================================================================================

Now I want to free some space from the linux LVM(hda6) and create a
FAT32 partition as hda7.

So how to reduce that LVM?


one more questions my /boot parition is /dev/hda5 but in fstab it shows
it as LABEL=/boot
so how is that?

Thanks.

-ajeet.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-31  3:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23 21:55 [linux-lvm] Reducing/Resizing LVM where "/" filesystem is included in the LVM fromkth+lvm
2005-01-24  0:26 ` Robin Green
2005-01-24  0:38   ` Robin Green
2005-01-24 22:24   ` fromkth+lvm
2005-01-25 20:08     ` Sam Vilain
2005-01-31  0:38       ` fromkth+lvm
2005-01-31  3:38         ` Sam Vilain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox