I am having an issue mounting a logical drive to a folder on a RHEL VM. Below are the steps I took:
1. added a new drive to my computer (allocated more space to the VM) 2. created partition, sdb1, using 'fdisk /dev/sdb' and set to "linux LVM" (8e) 3. formatted sdb1 to ext3 with following cmd: mkfs.ext3 /dev/sdb1 4. added sdb1 to volume: vgextend /dev/sdb1 5. Created Logical volume: lvcreate -L 10G VolGroup00 6. Mounted: mount -t ext3 /dev/VolGroup00/lvol0 /test
the mount command gave me the following error:
mount: wrong fs type, bad option, bad superblock on /dev/VolGroup00/lvol0, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so
When I run
dmesg | tail I get:
VFS: Can't find ext3 filesystem on dev dm-2.
Is there something I did wrong? I dont know why it cant find the ext3 filesystem because I definitely created it. I have redone this twice now.