[linux-lvm] Remove LVM2 from system

Joaster xxx at havers.nl
Mon Mar 27 14:14:30 UTC 2006


Hi all,

When I installed my first FC3 server about a year ago, I used the
automatic partitioning option. As a result my root and swap partition
are now managed by LVM. All works fine, but I want to make images with
PartImage which doesn't recognize the volumes.

Is there a way to make at least my root partition a standard ext3
partition again?

Below I have given some disk information (i hope it will be helpful)

Bye,
Joost.


[root at server-dc1 ~]# cat /etc/fstab
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda3 /home ext3 defaults 1 1
/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/sda1 /home/samba/backup ext3 defaults 1 2
/dev/hdc /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/fd0 /media/floppy auto pamconsole,exec,noauto,managed 0 0

[root at server-dc1 ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
37285432 4133568 31257876 12% /
/dev/hda3 119101296 41825380 71225840 37% /home
/dev/hda1 101086 15511 80356 17% /boot
none 383400 0 383400 0% /dev/shm
/dev/sda1 240362656 179831788 48321068 79% /home/samba/backup

lvm> vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2

lvm> lvmdiskscan
/dev/hda [ 152.67 GB]
/dev/sda [ 232.89 GB]
/dev/hda1 [ 101.94 MB]
/dev/sda1 [ 232.88 GB]
/dev/hda2 [ 37.17 GB] LVM physical volume
/dev/hda3 [ 115.40 GB]
2 disks
3 partitions
0 LVM physical volume whole disks
1 LVM physical volume
 

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.0/290 - Release Date: 23-3-2006
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060327/e09aa429/attachment.htm>


More information about the linux-lvm mailing list