OpenVZ Forum


Home » Mailing lists » Users » mount ext3 file system inside VE
mount ext3 file system inside VE [message #8697] Sun, 03 December 2006 01:55 Go to next message
hiro is currently offline  hiro
Messages: 5
Registered: February 2006
Junior Member
Hello list

I am trying to mount an additional disk which is ext3 file system
inside VE.

kernel version 2.6.9-023stab032.1
vzctl version 3.0.13
Hard ware node OS Centos4.3

but, I ve' got an error message like

develop(VE):/dev/vdisk # mkfs -j /dev/vdisk/disk1
develop(VE):/dev/vdisk # mount -t ext3 /dev/vdisk/disk1 /mnt/disk1
mount: wrong fs type, bad option, bad superblock on /dev/vdisk/disk1,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

then ended up using -t ext2 option instead of ext3.

develop:/ # mount -t ext2 /dev/vdisk/disk1 /mnt/disk1
develop(VE):/ # df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/simfs 874428 333940 335260 50% /
tmpfs 158732 0 158732 0% /dev/shm
/dev/vdisk/disk1 1007896 17672 939024 2% /mnt/disk1

this is kind of werard....

Are there any work around for this ?

Hiro
Re: mount ext3 file system inside VE [message #8706 is a reply to message #8697] Mon, 04 December 2006 08:49 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
ext3 file system starts kernel thread for journal support.
Starting kernel thread in VE is prohibited for security reasons.
Consequently you have the problem.
The only workaround is to mount disk using ext2.

HTH,
Vasily.

Yukihiro Nomura wrote:
> Hello list
>
> I am trying to mount an additional disk which is ext3 file system
> inside VE.
>
> kernel version 2.6.9-023stab032.1
> vzctl version 3.0.13
> Hard ware node OS Centos4.3
>
> but, I ve' got an error message like
>
> develop(VE):/dev/vdisk # mkfs -j /dev/vdisk/disk1
> develop(VE):/dev/vdisk # mount -t ext3 /dev/vdisk/disk1 /mnt/disk1
> mount: wrong fs type, bad option, bad superblock on /dev/vdisk/disk1,
> missing codepage or other error
> In some cases useful info is found in syslog - try
> dmesg | tail or so
>
> then ended up using -t ext2 option instead of ext3.
>
> develop:/ # mount -t ext2 /dev/vdisk/disk1 /mnt/disk1
> develop(VE):/ # df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/simfs 874428 333940 335260 50% /
> tmpfs 158732 0 158732 0% /dev/shm
> /dev/vdisk/disk1 1007896 17672 939024 2% /mnt/disk1
>
> this is kind of werard....
>
> Are there any work around for this ?
>
> Hiro
>
>
>
>
>
>
Re: mount ext3 file system inside VE [message #8709 is a reply to message #8706] Mon, 04 December 2006 10:51 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Well I would add that you can also bind mount anything to a VE from the
host system.
See OpenVZ User's Guide, around page 90.

Vasily Tarasov wrote:
> ext3 file system starts kernel thread for journal support.
> Starting kernel thread in VE is prohibited for security reasons.
> Consequently you have the problem.
> The only workaround is to mount disk using ext2.
>
> HTH,
> Vasily.
>
> Yukihiro Nomura wrote:
>
>> Hello list
>>
>> I am trying to mount an additional disk which is ext3 file system
>> inside VE.
>>
>> kernel version 2.6.9-023stab032.1
>> vzctl version 3.0.13
>> Hard ware node OS Centos4.3
>>
>> but, I ve' got an error message like
>>
>> develop(VE):/dev/vdisk # mkfs -j /dev/vdisk/disk1
>> develop(VE):/dev/vdisk # mount -t ext3 /dev/vdisk/disk1 /mnt/disk1
>> mount: wrong fs type, bad option, bad superblock on /dev/vdisk/disk1,
>> missing codepage or other error
>> In some cases useful info is found in syslog - try
>> dmesg | tail or so
>>
>> then ended up using -t ext2 option instead of ext3.
>>
>> develop:/ # mount -t ext2 /dev/vdisk/disk1 /mnt/disk1
>> develop(VE):/ # df
>> Filesystem 1K-blocks Used Available Use% Mounted on
>> /dev/simfs 874428 333940 335260 50% /
>> tmpfs 158732 0 158732 0% /dev/shm
>> /dev/vdisk/disk1 1007896 17672 939024 2% /mnt/disk1
>>
>> this is kind of werard....
>>
>> Are there any work around for this ?
>>
>> Hiro
>>
>>
>>
>>
>>
>>
Previous Topic: vzmigrate error
Next Topic: VE using wrong IP for outgoing connections
Goto Forum:
  


Current Time: Mon Aug 04 02:26:46 GMT 2025

Total time taken to generate the page: 0.86600 seconds