Linux LVM users
 help / color / mirror / Atom feed
From: fromkth+lvm@fastmail.fm
To: linux-lvm@redhat.com
Subject: [linux-lvm] Reducing/Resizing LVM where "/" filesystem is included in the LVM
Date: Sun, 23 Jan 2005 13:55:55 -0800	[thread overview]
Message-ID: <1106517355.26963.213384700@webmail.messagingengine.com> (raw)

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.

             reply	other threads:[~2005-01-23 21:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-23 21:55 fromkth+lvm [this message]
2005-01-24  0:26 ` [linux-lvm] Reducing/Resizing LVM where "/" filesystem is included in the LVM 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1106517355.26963.213384700@webmail.messagingengine.com \
    --to=fromkth+lvm@fastmail.fm \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox