Re: Adding LVM to an existing system
On 17/11/05, Marc Shapiro <mshapiro_42@yahoo.com> wrote:
> /dev/hda12 2201+ 4864 2664- 21398548+ 8e Linux LVM
>
> root@xander:~# pvcreate /dev/hda12
> Device /dev/hda12 not found.
>
>
> As you can see, pvcreate does not appear to want to work on /dev/hda12.
> This was the case with partiton type 83 as well.
That's weird. All I can say is that it's definitely possible to do LVM on
logical partitions. Here's my laptop :
rasputnik@hypnotoad:~$ sudo fdisk -l /dev/hda
Password:
Disk /dev/hda: 30.0 GB, 30005821440 bytes
16 heads, 63 sectors/track, 58140 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 20799 10482381 c W95 FAT32 (LBA)
/dev/hda2 20799 46586 12996585 5 Extended
Partition 2 does not end on cylinder boundary.
/dev/hda3 46586 52132 2795310 83 Linux
Partition 3 does not end on cylinder boundary.
/dev/hda5 * 20799 21373 289138+ 83 Linux
/dev/hda6 21373 23317 979933+ 82 Linux swap / Solaris
/dev/hda7 23317 29134 2931831 8e Linux LVM
/dev/hda8 29134 34951 2931831 8e Linux LVM
/dev/hda9 34952 40769 2931831 8e Linux LVM
/dev/hda10 40769 46586 2931831 8e Linux LVM
rasputnik@hypnotoad:~$ sudo pvs
PV VG Fmt Attr PSize PFree
/dev/hda10 biglv lvm2 a- 2.79G 52.00M
/dev/hda7 biglv lvm2 a- 2.79G 0
/dev/hda8 biglv lvm2 a- 2.79G 0
/dev/hda9 biglv lvm2 a- 2.79G 0
--
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/
Reply to: