Ask Your Question
0

mount mounting /dev/vdb on /mnt/ failed Invalid argument

asked 2017-01-24 02:34:23 -0500

tcpip gravatar image

updated 2017-01-24 17:10:35 -0500

Hi all,

I working with my cinder volumes and when I want to mount my volume in my cirros i get the error in subject

cinder list +--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+ | ID | Status | Name | Size | Volume Type | Bootable | Attached to | +--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+ | 7abc4e32-d75a-4cf8-9919-887befe44820 | in-use | vol1 | 1 | lvmdriver-1 | true | 5de8f4a4-575f-4048-835e-f82553eb800d | +--------------------------------------+--------+------+------+-------------+----------+--------------------------------------+

mount rootfs on / type rootfs (rw) /dev on /dev type devtmpfs (rw,relatime,size=248056k,nr_inodes=62014,mode=755) /dev/vda on / type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=1,data=ordered) /proc on /proc type proc (rw,relatime) sysfs on /sys type sysfs (rw,relatime) devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000) tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777) tmpfs on /run type tmpfs (rw,nosuid,relatime,size=200k,mode=755)

Disk /dev/vdb: 1073 MB, 1073741824 bytes 16 heads, 63 sectors/track, 2080 cylinders, total 2097152 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xff5108d9

sudo mount /dev/vdb /mnt/ mount: mounting /dev/vdb on /mnt/ failed: Invalid argument

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Hello

/etc/fstab: static file system information.

#

<file system=""> <mount pt=""> <type> <options> <dump> <pass>

/dev/root / auto rw,noauto 0 1 proc /proc proc defaults 0 0 devpts /dev/pts devpts defaults,gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs mode=0777 0 0 sysfs /sys sysfs defaults 0 0 tmpfs /run tmpfs rw,nosuid,relatime,size=200k,mode=755 0 0

This is the output for fstab. !!!!!!!!!!!!!!!!!!!!!!!!!

Thanks all

edit retag flag offensive close merge delete

Comments

The mount(2) man page says "EINVAL: source had an invalid superblock". Did you put a filesystem on /dev/vdb?

Bernd Bausch gravatar imageBernd Bausch ( 2017-01-24 04:31:05 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2017-01-24 17:16:07 -0500

tcpip gravatar image

Hello

I found the error i was missing the . sudo mkfs.ext3 /dev/vdb

thanks.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-01-24 02:34:23 -0500

Seen: 1,385 times

Last updated: Jan 24 '17