ec2-attach-volume -d */dev/sdh* -i <instance id> <volume id> #attach echo "*/dev/sdb* /vol xfs noatime 0 0" >> /etc/fstab
First your EBS is /dev/sdh and then you try to mount /dev/sdb ... that might a problem. On Fri, Feb 13, 2009 at 10:07 PM, kenja <[email protected]> wrote: > > I've used the scalr console to create a new volume and attach it to my > mysql instance so it can re-attach at boot-up automatically. Now I > want to mount the volume to /vol > > Doing this the old way would go like this: > > ec2-attach-volume -d /dev/sdh -i <instance id> <volume id> #attach > the ebs volume > apt-get install -y xfsprogs > echo "/dev/sdb /vol xfs noatime 0 0" >> /etc/fstab > mkdir /vol > mount /vol > > I've tried doing that from the echo statement forward and it is giving > me a wrong fs type error message. Does someone know the command is to > mount the drive to a specific directory? > > > > -- Octavian Neacsu Phone: +40741530365 Email: [email protected] Privileged/Confidential Information may be contained in this message. If you are not in the addresses indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such a case, you should destroy this message and kindly notify the sender by reply e-mail. echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
