Tagged Questions
0
votes
0answers
45 views
FS corruption just a coincidence?
Yesterday I replaced one of the HDDs in my remote server. The setup is simple - Debian Linux (testing), software RAID 5, LVM with 4 partitions on it, home, var, usr, and swap.
I pulled the old disk, ...
24
votes
6answers
2k 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
158 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
100 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
785 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
383 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
106 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
1k 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
218 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
280 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
703 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 ...
3
votes
1answer
1k 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.
3
votes
3answers
635 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?
3
votes
1answer
589 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
158 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
965 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
375 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 ...