Re: [vserver] ext4 inode tagging

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Fri 13 Jan 2012 - 23:48:12 GMT
Message-ID: <20120113234812.GX7545@MAIL.13thfloor.at>

On Fri, Jan 13, 2012 at 07:26:13PM +0100, Roberto Puzzanghera wrote:
> On 01/13/2012 06:02 PM, Herbert Poetzl wrote:
>> On Fri, Jan 13, 2012 at 05:10:46PM +0100, Roberto Puzzanghera wrote:
>>> [...]

>>>> no, I don't think that will be necessary, but
>>>> could you run the following script on your system
>>>> and provide upload the output somewhere/

>>>> # mkdir /test
>>>> # testfs.sh -vvv -x -F ext4 -M /test -D<device>

>>>> note that<device> should be a partition, disk or
>>>> loopback device you do not mind to be reformatted
>>>> with ext4 (all data will be destroyed)

>>>> you can simply create one with:
>>>> # dd if=/dev/zero of=/path/to/somewhere bs=1M count=1024
>>>> # losetup /dev/loop0 /path/to/somewhere

>>>> also, no problem to use /mnt or /media/test instead
>>>> of just /test (i.e. it doesn't matter as long as
>>>> you specify the path in -M<path>)

>>>> the test script can be found here:
>>>> http://vserver.13thfloor.at/Stuff/SCRIPT/testfs.sh

> # dd if=/dev/zero of=/mnt/testfs bs=1M count=1024
> # losetup /dev/loop0 /mnt/testfs
> # mount -t ext4 /dev/loop0 /mnt/tmp/
> # testfs.sh -vvv -x -F ext4 -M /mnt/tmp/ -D /dev/loop0

do not mount any filesystem on /mnt/tmp and do not
mount or busy /dev/loop0 in any way, filesystem
creation and mounting will be done by testfs.sh

HTC,
Herbert

> but there's no output on the screen, just this line on /var/log/messages

> Jan 13 19:14:32 sagredo kernel: EXT4-fs (loop0): mounted filesystem with
> ordered data mode. Opts: (null)

> Best regards
> Roberto Puzzanghera
Received on Fri Jan 13 23:48:26 2012

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 13 Jan 2012 - 23:48:27 GMT by hypermail 2.1.8