Re: LVM problem <SOLVED>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Can anybody point me to a white paper or something that discusses the advantages of using LVM, especially on a single disk PC?  I have not seen the reason to use it on my home (single drive) PC.
Six years ago, using HP-UX, LVM was a nice fit to merge multiple 4GB and 9GB SCSI disks together to from single LVs for chip designers who saved lots of data.  But now, with cheap 200GB IDE drives, that problem went away.
tx,andyy

-----Original Message-----
From: Patrick Nelson <pnelson@xxxxxxxxxxx>
Sent: Oct 6, 2005 8:43 AM
To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx>
Subject: Re: LVM problem <SOLVED>

Robin Laing wrote:

> Patrick Nelson wrote:
>
>> FC4 Updated
>>
>> Trying to setup a LV on a FC4 setup for home and opts.  Here is the 
>> process:
>>
>> pvcreate /dev/hda1
>>
>> vgcreate homeVG /dev/hda1
>>
>> lvcreate -L4G -mhomeLV homeVG
>>
>> mkfs.ext3 /dev/homeVG/homeLV
>>
>> but when I do the step of mkfs.ext3 I get an error of :
>> mke2ffs 1.37 (21-Mar-2005)
>> Could not stat /dev/homeVG/homeLV --- permission denied
>>
>> ls -la /dev/homeVG/ shows that a link of homeLV -> 
>> /dev/mapper/homeVG-homeLV which has permissions of:
>>
>> brw-rw---- root disk 253, 2 Oct 4 17:25
>>
>> Anyone have an idea on what is going wrong?
>>
>
> Did you try the graphical tool?  I ask this as I ran into the same 
> problem last weekend.  My first attempt at LVM.  Worked like a dream. :)
>
> Desktop > System settings > Logical Volume Management
>
> I was in to much of a rush to wait.
>
No I have not tried the tool, but I did finally get it working.

I tried rebooting and that left the system locked at the Volume Manager 
stage.  So I rescued booted the system and then chroot /mnt/sysimage and 
then I removed the LV and VG and then I repartioned the HD and then did:

pvcreate /dev/hda1
vgcreate homeVG /dev/hda1
lvcreate -L4G -mhomeLV homeVG
mkfs.ext3 /dev/homeVG/homeLV

and it worked.  So I continued and got all the my VG and LVs up and 
working.   Then I fixed up the /etc/fstab and it rebooted normally!  
Woho, but I'm not totally sure what happened when I was initially 
setting it up. 

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux