OpenVZ Forum


Home » General » Support » Problems mounting ext3 inside VPS
Problems mounting ext3 inside VPS [message #642] Tue, 03 January 2006 10:30 Go to next message
Tellerdreher is currently offline  Tellerdreher
Messages: 13
Registered: October 2005
Junior Member
Hi,

we have some troubles to mount ext3 partitions inside a VPS:
Permissions are ok because mkfs.ext3 and fsck.ext3 work inside the VPS. But if we try a mount we get:

Quote:

mount /dev/cciss/c0d1p3 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/cciss/c0d1p3,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

an strace says:
Quote:

mount("/dev/cciss/c0d1p3", "/mnt", "ext3", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0) = -1 EINVAL (Invalid argument)

and dmesg in the HOST machine:
Quote:

kernel_thread call inside VE
[<c01043a4>] kernel_thread+0xc4/0xd0
[<c016e2f3>] __wait_on_buffer+0x93/0xb0
[<c016e100>] bh_wake_function+0x0/0x40
[<c0171a01>] submit_bh+0x51/0xf0
[<c016e100>] bh_wake_function+0x0/0x40
[<c01f6fe3>] journal_start_thread+0x23/0xd0
[<c01f6be0>] kjournald+0x0/0x3e0
[<c01f81a1>] journal_reset+0x71/0x90
[<c01f879c>] journal_load+0x6c/0xa0
[<c01ea700>] ext3_load_journal+0xc0/0x1a0
[<c01ea0aa>] ext3_fill_super+0xa2a/0xbe0
[<c0174409>] get_sb_bdev+0x129/0x160
[<c01eb400>] ext3_get_sb+0x30/0x34
[<c01e9680>] ext3_fill_super+0x0/0xbe0
[<c0174620>] do_kern_mount+0x40/0xd0
[<c018d09f>] do_new_mount+0xaf/0x100
[<c018d767>] do_mount+0x157/0x1b0
[<c014fa53>] __get_free_pages+0x33/0x40
[<c018d5a4>] copy_mount_options+0x74/0xe0
[<c018db89>] sys_mount+0xc9/0x140
[<c040b467>] syscall_call+0x7/0xb
JBD: recovery failed
EXT3-fs: error loading journal.


Mounting ext2 works without any problems inside the VPS.
Using 2.6.8-022stab050.1-smp
BTW mounting the partition inside the HOST works without any problems, too.

Any suggestions?

cheers,
Tellerdreher
Re: Problems mounting ext3 inside VPS [message #712 is a reply to message #642] Sat, 07 January 2006 12:15 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

I have filed a bug into Bugzilla, see http://bugzilla.openvz.org/84

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: Problems booting ovzkernel-2.6.8-022stab045.1
Next Topic: question about creating templates
Goto Forum:
  


Current Time: Mon Jun 17 11:36:05 GMT 2024

Total time taken to generate the page: 0.03798 seconds