`
mwei
  • 浏览: 121798 次
  • 性别: Icon_minigender_1
  • 来自: 抽象空间
社区版块
存档分类
最新评论

Mounting an attached ebs volume in EC2

阅读更多
Here's a complete set of commands that you should run once you've attached the EBS volume to your EC2 instance:

mkfs -t ext3 /dev/sdf   # (NOTE - if you created your EBS volume from a snapshot of another volume and want to preserve its data, skip this step)
echo "/dev/sdf  /testName  ext3     noatime  0 0" >> /etc/fstab
mkdir /testName
mount /testName
df -h                   # (you should now see a new /testName file system mounted on the EBS volume)


link: http://serverfault.com/questions/114944/mounting-an-attached-ebs-volume-in-ec2
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics