Friday, December 10, 2010

Having problems mounting hd. (mount: you must specify the filesystem type)

Having problems mounting hd. (mount: you must specify the filesystem type)

Let me see if I can recall the steps that I took.

1. created vmdk
2. used sudo fdisk -l to see new disk (don't forget the sudo!)
3. sudo fdisk /dev/sdb
4. created a new partion (n was it?)
5. t to specify the type of the partion (chose lvm)
6. pvcreate /dev/sdb1
7. sudo vgcreate fog_images /dev/sdb1
8. sudo lvcreate --size 107.4GB -n fog_images fog_images (size will be wrong and you'll have to use extents): sudo lvcreate -l 25599 -n fog_images fog_images)
9. sudo pvs
10. sudo lvdisplay /dev/fog_images
11. sudo mkfs.ext3 /dev/fog_images/fog_images
12. sudo mount /dev/fog_images/fog_images /mnt


Then edit /etc/fstab

/dev/fog_images/fog_images /images ext3 errors=remount-ro

No comments:

Post a Comment