Details
-
Type: Feature Request
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Fix Version/s: OpenVZ-legacy
-
Component/s: Containers::Kernel
-
Security Level: Public
-
Environment:Operating System: Other
Platform: Other
URL: http://forum.openvz.org/index.php?t=rview&goto=642#msg_642
-
External issue URL:
-
External issue ID:84
Description
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:
"""
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:
"""
mount("/dev/cciss/c0d1p3", "/mnt", "ext3", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0) = -1 EINVAL (Invalid argument)
"""
and dmesg in the HOST machine:
"""
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
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:
"""
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:
"""
mount("/dev/cciss/c0d1p3", "/mnt", "ext3", MS_POSIXACL|MS_ACTIVE|MS_NOUSER|0xec0000, 0) = -1 EINVAL (Invalid argument)
"""
and dmesg in the HOST machine:
"""
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