osdir.com
mailing list archive F.A.Q. -since 2001!



Subject: Re: [ec2ubuntu] LVM volume does not get mounted -
msg#00022

List: ec2ubuntu

Mail Archive Navigation:
by Date: Prev Next Date Index by Thread: Prev Next Thread Index

I end-up creating a lvm script to to the following (kinda silly...)

/sbin/modprobe dm_mod
/sbin/vgscan
/sbin/vgchange -ay
/bin/mount -a


btw: any advice on how many ebs volume to lvm? and raid 1, 5  or something else?

thanks


On Fri, Dec 10, 2010 at 2:26 PM, Ahmed Kamal <ahmed.kamal@xxxxxxxxxxxxx> wrote:
On 12/10/2010 10:20 PM, Luc Suryo wrote:

so now rebooted the system, I see the md_mod loaded and madam --monitor running
BUT no volume mounted nor does lvdisplay show me antyhing

Would this bring it up: sudo vgchange -a y
not sure why it's not auto-activating

--
You received this message because you are subscribed to the "ec2ubuntu" Google Group:
 http://groups.google.com/group/ec2ubuntu
To unsubscribe, send email to ec2ubuntu-unsubscribe@xxxxxxxxxxxxxxxx


--
-ls

--
You received this message because you are subscribed to the "ec2ubuntu" Google Group:
http://groups.google.com/group/ec2ubuntu
To unsubscribe, send email to ec2ubuntu-unsubscribe@xxxxxxxxxxxxxxxx

Thread at a glance:

Previous Message by Date:

Re: [ec2ubuntu] LVM volume does not get mounted

On 12/10/2010 11:26 PM, Ahmed Kamal wrote: > On 12/10/2010 10:20 PM, Luc Suryo wrote: >> >> so now rebooted the system, I see the md_mod loaded and madam >> --monitor running >> BUT no volume mounted nor does lvdisplay show me antyhing >> > Would this bring it up: sudo vgchange -a y > not sure why it's not auto-activating > Perhaps because the host machine id changed -- You received this message because you are subscribed to the "ec2ubuntu" Google Group: http://groups.google.com/group/ec2ubuntu To unsubscribe, send email to ec2ubuntu-unsubscribe@xxxxxxxxxxxxxxxx

Next Message by Date:

Re: [ec2ubuntu] LVM volume does not get mounted

would the host-id change each reboot?On Fri, Dec 10, 2010 at 2:29 PM, sgheeren <sgheeren@xxxxxxxxxxx> wrote: On 12/10/2010 11:26 PM, Ahmed Kamal wrote: > On 12/10/2010 10:20 PM, Luc Suryo wrote: >> >> so now rebooted the system, I see the md_mod loaded and madam >> --monitor running >> BUT no volume mounted nor does lvdisplay show me antyhing >> > Would this bring it up: sudo vgchange -a y > not sure why it's not auto-activating > Perhaps because the host machine id changed -- You received this message because you are subscribed to the "ec2ubuntu" Google Group:  http://groups.google.com/group/ec2ubuntu To unsubscribe, send email to ec2ubuntu-unsubscribe@xxxxxxxxxxxxxxxx-- -ls -- You received this message because you are subscribed to the "ec2ubuntu" Google Group: http://groups.google.com/group/ec2ubuntu To unsubscribe, send email to ec2ubuntu-unsubscribe@xxxxxxxxxxxxxxxx

Previous Message by Thread:

Re: [ec2ubuntu] LVM volume does not get mounted

After more work I just realize what's wrongthere is no need to adjust /etc/modules nor the lvm scriptthe file /etc/mdadm/mdadm.conf is the file to adjust!1. make sure DEVICE has the appropriate entry mine reads: DEVICE /dev/sd[cdefg]2. make sure the ARRAY is activate, add the ARRAY entry witj the correct raid device and UUID (the output from mdadm --detail --scan, or grab the output during the mdadm --create) mine reads:ARRAY /dev/md0 UUID=e47d156e:a06e8aa2:2c836167:071318efHope this will help other-lsOn Fri, Dec 10, 2010 at 2:47 PM, sgheeren <sgheeren@xxxxxxxxxxx> wrote: not normally On 12/10/2010 11:30 PM, Luc Suryo wrote: would the host-id change each reboot? On Fri, Dec 10, 2010 at 2:29 PM, sgheeren <sgheeren@xxxxxxxxxxx> wrote: On 12/10/2010 11:26 PM, Ahmed Kamal wrote: > On 12/10/2010 10:20 PM, Luc Suryo wrote: >> >> so now rebooted the system, I see the md_mod loaded and madam >> --monitor running >> BUT no volume mounted nor does lvdisplay show me antyhing >> > Would this bring it up: sudo vgchange -a y > not sure why it's not auto-activating > Perhaps because the host machine id changed -- You received this message because you are subscribed to the "ec2ubuntu" Google Group: http://groups.google.com/group/ec2ubuntu To unsubscribe, send email to ec2ubuntu-unsubscribe@xxxxxxxxxxxxxxxx

Next Message by Thread:

[ec2ubuntu] small or medium AMD64 Ubuntu 8.04 LTS AMI possible?

Newbie question: I've read that i386 Ubuntu AMIs are for small or medium EC2 instances, while x86 and AMD64 Ubuntu AMIs are large or extra large. Is there some way I can provision a small or medium AMD64 Ubuntu 8.04 instance? (Do I need to create my own AMD for this purpose?)     Sent to you by Todd via Google Reader:     Re: [ec2ubuntu] LVM volume does not get mounted via ec2ubuntu Google Group by lsu...@xxxxxxxxx (Luc Suryo) on 12/11/10 After more work I just realize what's wrong there is no need to adjust /etc/modules nor the lvm script the file /etc/mdadm/mdadm.conf is the file to adjust! 1. make sure DEVICE has the appropriate entry mine reads: DEVICE /dev/sd[cdefg] 2. make sure the ARRAY is activate, add the ARRAY entry witj the correct     Things you can do from here: Subscribe to ec2ubuntu Google Group using Google Reader Get started using Google Reader to easily keep up with all your favorite sites     -- You received this message because you are subscribed to the "ec2ubuntu" Google Group: http://groups.google.com/group/ec2ubuntu To unsubscribe, send email to ec2ubuntu-unsubscribe@xxxxxxxxxxxxxxxx
blog comments powered by Disqus

Home | News | Sitemap | FAQ | advertise | OSDir is an Inevitable website. GBiz is too!