Re: ext4 inode tagging

Herbert Poetzl <[email protected]>
Newsgroups gmane.linux.vserver
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.