OpenVZ Forum - RDF feed
type: channel
items: *SOLVED* Mounting EXT3, XFS from device granted to VE
items: Re: Mounting EXT3, XFS from device granted to VE

*SOLVED* Mounting EXT3, XFS from device granted to VE
type: item
description: I have problem with mounting of granted LVM volume with ext3 or xfs filesystem inside VE. With ext2 all is OK. The stable OVZ kernel with XFS enabled is used. // on VE while ext3 or xfs mounting mount: wrong fs type, bad option, bad superblock on /dev/mapper/LVM-mail, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so // on HN while ext3 Oct 31 12:43:24 node kernel: kernel_thread call inside VE Oct 31 12:43:24 node kernel: [<c01053d1>] kernel_thread+0xc1/0xd0 Oct 31 12:43:24 node kernel: [<c019de69>] __wait_on_buffer+0xa9/0xb0 Oct 31 12:43:24 node kernel: [<c019dc60>] bh_wake_function+0x0/0x40 Oct 31 12:43:24 node kernel: [<c019dc60>] bh_wake_function+0x0/0x40 Oct 31 12:43:24 node kernel: [<c02576c3>] journal_start_thread+0x23/0xc0 Oct 31 12:43:24 node kernel: [<c0256f60>] kjournald+0x0/0x740 Oct 31 12:43:24 node kernel: [<c0259218>] journal_init_inode+0x148/0x220 Oct 31 12:43:24 node kernel: [<c0259be1>] load_superblock+0x11/0x100 Oct 31 12:43:24 node kernel: [<c02593cf>] journal_reset+0xaf/0xc0 Oct 31 12:43:24 node kernel: [<c0259d11>] journal_load+0x41/0x90 Oct 31 12:43:24 node kernel: [<c0244984>] ext3_load_journal+0x154/0x1f0 Oct 31 12:43:24 node kernel: [<c0244150>] ext3_fill_super+0xac0/0xc40 Oct 31 12:43:24 node kernel: [<c01a72d0>] get_sb_bdev+0x120/0x180 Oct 31 12:43:24 node kernel: [<c01ca58c>] alloc_vfsmnt+0x9c/0xe0 Oct 31 12:43:24 node kernel: [<c0245720>] ext3_get_sb+0x30/0x34 Oct 31 12:43:24 node kernel: [<c0243690>] ext3_fill_super+0x0/0xc40 Oct 31 12:43:24 node kernel: [<c01a753c>] do_kern_mount+0x4c/0x100 Oct 31 12:43:24 node kernel: [<c01cc999>] do_new_mount+0xb9/0x120 Oct 31 12:43:24 node kernel: [<c01cd715>] do_mount+0x1c5/0x1f0 Oct 31 12:43:24 node kernel: [<c01cd4f3>] copy_mount_options+0x63/0xc0 Oct 31 12:43:24 node kernel: [<c01cdcc2>] sys_mount+0x102/0x250 Oct 31 12:43:24 node kernel: [<c060b1a3>] syscall_call+0x7/0xb Oct 31 12:43:24 node kernel: JBD: recovery failed Oct 31 12:43:24 node ke…
creator: smsprog
date: 2006-10-31T10:00:34-00:00

Re: Mounting EXT3, XFS from device granted to VE
type: item
description: Hello! ext3 can't be mounted in VE, 'cause it starts kernel thread, what is prohibited in VE. You can mount ext3 partition as ext2 and it will work. xfs is not virtualized, so you can't use it in VE either. You can use bind mounts to have access to these filesystems inside VE. HTH, Vasily.
creator: Vasily Tarasov
date: 2006-10-31T10:39:30-00:00