1
vote
0answers
37 views

Mount EXT3 with 16KB blocks

I have a failing Sparc based Netgear ReadyNAS that uses LVM on Raid with EXT3 partitions with a 16KB block size. I would like to pull the drives out of the NAS and mount them read only in a Linux box. ...
0
votes
1answer
16 views

mke2fs difference between -i and -I options

sudo mke2fs Usage: mke2fs [-c|-l filename] [-b block-size] [-C cluster-size] [-i bytes-per-inode] [-I inode-size] [-J journal-options] [-G flex-group-size] [-N number-of-inodes] [-m ...
0
votes
2answers
25 views

Tool to create a bad physical location report on disk

I am in need of a tool that would run on an Ubuntu system that would be able to report the following: Bad physical locations on a disk (cylinders, sectors) Files that are affected by these bad ...
3
votes
0answers
85 views

linux io stack analysis

I'm trying to understand the Linux IO stack by analyzing blktrace trace. Below is the trace i captured by executing simple fio sequential write with no Direct IO (5 x 8k request size). 8,16 1 ...
3
votes
1answer
140 views

What would happen if we mounted a file system that e2fsck is already running on?

It is generally a bad idea to e2fsck a file system while the file system is mounted (the man page mentions one specific situation where it is safe: -n given, and -c, -l or -L not given, and even then ...
31
votes
6answers
10k views

How do I know if a partition is ext2, ext3, or ext4?

I just formatted stuff. One disk I format as ext2. The other I want to format as ext4. I want to test how they perform. Now, how do I know the kind of file system in a partition?
2
votes
1answer
303 views

Any command to view the file system internal fragmentation size under a directory?

If the block size of a file system is 4KB, then for a 1KB file, 3KB space(which is internal fragmentation) is wasted. So, under a directory, is there any command to summarize how much disk space is ...
2
votes
2answers
139 views

Can I make low-level changes on a root fs mounted RO?

Related to this question: having a root file system that had to be mounted read-only (say it's completely broken), can I reformat the partition or dd a older backup image on top of it (and then ...
0
votes
1answer
2k views

How to resize ext3 image files

I have created an 200MB ext3 using the following commands. dd if=/dev/zero of=./system.img bs=1000000 count=200 mkfs.ext2 ./system.img tune2fs -j ./system.img How can I resize it to 50MB and 300MB? ...
7
votes
2answers
600 views

How to deliberately fragment a file

I am looking for a way to fragment an existing file in order to evaluate the performance of some tools. I found a solution for NTFS file system called MyFragmenter as described in this thread. However ...
2
votes
1answer
141 views

Getting info about a Virtual file system

I have created a Virtual ext3 partition on a armv7 machine with: dd if=/dev/zero of=./system.img bs=1000000 count=200 mkfs.ext2 ./system.img tune2fs -j ./system.img Now I need to get info about ...
3
votes
2answers
2k views

Making an ext3 filesystem image without mkfs.ext3

On ubuntu I'm using the following to create a ext3 filesystem image system.img. dd if=/dev/zero of=./system.img bs=1000000 count=200 mkfs.ext3 ./system.img I'm attempting to do the same on android ...
5
votes
2answers
302 views

Testing ext3 filesystem on embedded device [closed]

My set up: An embedded device with flash memory on it. Flash is partitioned into ext3 filesystem partitions. Have busybox on it. My Goal: To uncover errors /bugs/ problems on ext3 filesystems. ...
1
vote
2answers
367 views

Formating hdd to ext3 fails?

maybe i'm too stupid, but what's the command to format my external 2.5tb usb hdd to ext3? using mkfs.ext3 /dev/sdc1 works, but only gives me 300gb of space allocated... where am i failing? thanks in ...
5
votes
2answers
1k views

Red Hat cannot boot after clone with dd

I used dd to clone a x4100 server with Linux Red Hat. The hardware is identical for old and new servers. Disks are sda, sdb and sdc(sdc1 and sdc2). But newly restored server gives following errors and ...
4
votes
1answer
2k views

What options are there for tuning Linux file system caching?

What various types of caching are possible in the ext3 file system and how can their values be changed using system calls or other methods? I don't want to use commands or tools.
4
votes
3answers
1k views

How many bits is the access flags of a file?

How many bits on a linux file system is taken up for the permissions of a file?
5
votes
1answer
1k views

How to view bad blocks on mounted ext3 filesystem?

I've ran fsck -c on the (unmounted) partition in question a while ago. The process was unattended and results were not stored anywhere (except badblock inode). Now I'd like to get badblock ...
3
votes
1answer
184 views

EXT3 file system pre digest material

I am looking for understanding EXT3 filesystem source code. I think I need a little pre-digestion to fully understand the code. Can anyone please suggest some material(blog etc.) where I can get some ...
2
votes
1answer
1k views

All my superblocks are corrupt!

I am having a problem with my ubuntu ext3 filesystem. I can't boot from it or mount the volume when running live CD. When I try e2fsck I get: "Bad magic number in super-block while trying to open ...
1
vote
1answer
471 views

mount root fs to /target

I am installing crunchbang linux (#!) to my eeePC and it is unable to start the disk partitioner. I traced the problem to partman and partman-lvm that states No volume groups found. So I have ...