Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-06-2004, 10:47 AM
|
#1
|
Member
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187
Rep:
|
LVM in Fedora C2
I am attempting my first usage of the LVM, on a fresh install of FC2 --> kernel: 2.6.5-1.358.
I have the following rpm installed for LVM: lvm2-2.00.15-2
I have used: pvcreate /dev/hdb and pvcreate /dev/hdc
then I entered: vgcreate vg1 /dev/hdb /dev/hdc ---> output was: "Volume group "vg1" successfully
created"
Then I entered: lvcreate -L 250000M vg1 -n samba (to create a logical volume of the size: 250GB,
called samba) --->
the output here:
/dev/mapper/control: open failed: No such file or directory
Is device-mapper driver missing from kernel?
Failed to activate new LV.
Any tips to why this is giving this error? Are there any apps that need to be installed to stop
this error?
All help is greatly appreciated!!!
zepp
|
|
|
10-06-2004, 02:09 PM
|
#3
|
LQ Newbie
Registered: May 2004
Posts: 4
Rep:
|
doing a little more reading
you load the device mapper module like this
modprobe dm-mod
I haven't had to do this step, it just worked
what distro you using?
|
|
|
10-06-2004, 02:18 PM
|
#4
|
Member
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187
Original Poster
Rep:
|
output of lsmod:
Module Size Used by
snd_mixer_oss 13824 0
snd 38372 1 snd_mixer_oss
soundcore 6112 1 snd
autofs4 10624 0
sunrpc 101064 1
3c59x 30376 0
ipt_state 1536 9
iptable_filter 2048 1
iptable_nat 17452 0
ip_conntrack 24968 2 ipt_state,iptable_nat
ip_tables 13440 3 ipt_state,iptable_filter,iptable_nat
floppy 47440 0
sg 27552 0
scsi_mod 91344 1 sg
dm_mod 33184 0
ohci_hcd 14748 0
button 4504 0
battery 6924 0
asus_acpi 8472 0
ac 3340 0
ipv6 184288 12
ext3 102376 2
jbd 40216 1 ext3
dm_mod is listed...
As my above listing mentions, i'm using Fedora C2.
So my problem still exists...I am getting the device mapper error...any thoughts?
Last edited by zepplin611; 10-06-2004 at 02:19 PM.
|
|
|
10-06-2004, 02:46 PM
|
#6
|
Member
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187
Original Poster
Rep:
|
thanks again for the help robbins...
I did what was listed in that url and a different problem is occurring:
root@server :] lvcreate -l 500 vg1 -n samba
device-mapper ioctl cmd 9 failed: Invalid argument
Couldn't load device 'vg1-samba'.
Failed to activate new LV.
but when i type: lvdisplay I get the following:
--- Logical volume ---
LV Name /dev/vg1/samba
VG Name vg1
LV UUID TTLXfg-dVXq-NmIP-kUKg-sZUw-46fr-nZCCOF
LV Write Access read/write
LV Status available
# open 0
LV Size 1.95 GB
Current LE 500
Segments 1
Allocation next free (default)
Read ahead sectors 0
Block device 253:0
so if the LV is ACTIVE, why do the errors occur??
thanks again...
zepp
|
|
|
10-06-2004, 04:17 PM
|
#7
|
LQ Newbie
Registered: May 2004
Posts: 4
Rep:
|
I googled your error and saw some stuff that might indicate people aren't real happy with LVM in the FC2 kernel
http://mail.plug.linux.org.au/piperm...ch/050829.html
I tried with no success to setup FC2 and couldn't get the networking to work to save my life
sticking with FC1 for now
like I said, I'm a newbie to LVM but it's working pretty sweetly for me
good luck
|
|
|
10-12-2004, 04:43 PM
|
#8
|
Member
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187
Original Poster
Rep:
|
thanks again for your help robbinsd...
I did manage to find a solution to my problem.
I updated the kernel (using yum update) and other packages on my system.
I'm not certain it was the kernel update that did it, but after the yum update (and alot
of packages were updated) the lvcreate command worked like a charm!!!!
thanks again
zepp
|
|
|
All times are GMT -5. The time now is 05:41 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|