[Users] mount ext3 file system inside VE

Vasily Tarasov vtaras at openvz.org
Mon Dec 4 04:46:03 EST 2006


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
>
>
>
>
>
>  
>  _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
>



More information about the Users mailing list